OLD | NEW |
1 ; | 1 ; |
2 ; jdcolss2.asm - colorspace conversion (SSE2) | 2 ; jdcolss2.asm - colorspace conversion (SSE2) |
3 ; | 3 ; |
4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB | 4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB |
5 ; Copyright 2009 D. R. Commander | 5 ; Copyright 2009 D. R. Commander |
6 ; | 6 ; |
7 ; Based on | 7 ; Based on |
8 ; x86 SIMD extension for IJG JPEG library | 8 ; x86 SIMD extension for IJG JPEG library |
9 ; Copyright (C) 1999-2006, MIYASAKA Masaru. | 9 ; Copyright (C) 1999-2006, MIYASAKA Masaru. |
10 ; For conditions of distribution and use, see copyright notice in jsimdext.inc | 10 ; For conditions of distribution and use, see copyright notice in jsimdext.inc |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 PW_F0402 times 8 dw F_0_402 | 42 PW_F0402 times 8 dw F_0_402 |
43 PW_MF0228 times 8 dw -F_0_228 | 43 PW_MF0228 times 8 dw -F_0_228 |
44 PW_MF0344_F0285 times 4 dw -F_0_344, F_0_285 | 44 PW_MF0344_F0285 times 4 dw -F_0_344, F_0_285 |
45 PW_ONE times 8 dw 1 | 45 PW_ONE times 8 dw 1 |
46 PD_ONEHALF times 4 dd 1 << (SCALEBITS-1) | 46 PD_ONEHALF times 4 dd 1 << (SCALEBITS-1) |
47 | 47 |
48 alignz 16 | 48 alignz 16 |
49 | 49 |
50 ; -------------------------------------------------------------------------- | 50 ; -------------------------------------------------------------------------- |
| 51 SECTION SEG_TEXT |
| 52 BITS 32 |
| 53 |
51 %include "jdclrss2.asm" | 54 %include "jdclrss2.asm" |
52 | 55 |
53 %undef RGB_RED | 56 %undef RGB_RED |
54 %undef RGB_GREEN | 57 %undef RGB_GREEN |
55 %undef RGB_BLUE | 58 %undef RGB_BLUE |
56 %undef RGB_PIXELSIZE | 59 %undef RGB_PIXELSIZE |
57 %define RGB_RED 0 | 60 %define RGB_RED 0 |
58 %define RGB_GREEN 1 | 61 %define RGB_GREEN 1 |
59 %define RGB_BLUE 2 | 62 %define RGB_BLUE 2 |
60 %define RGB_PIXELSIZE 3 | 63 %define RGB_PIXELSIZE 3 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 %undef RGB_RED | 111 %undef RGB_RED |
109 %undef RGB_GREEN | 112 %undef RGB_GREEN |
110 %undef RGB_BLUE | 113 %undef RGB_BLUE |
111 %undef RGB_PIXELSIZE | 114 %undef RGB_PIXELSIZE |
112 %define RGB_RED 1 | 115 %define RGB_RED 1 |
113 %define RGB_GREEN 2 | 116 %define RGB_GREEN 2 |
114 %define RGB_BLUE 3 | 117 %define RGB_BLUE 3 |
115 %define RGB_PIXELSIZE 4 | 118 %define RGB_PIXELSIZE 4 |
116 %define jsimd_ycc_rgb_convert_sse2 jsimd_ycc_extxrgb_convert_sse2 | 119 %define jsimd_ycc_rgb_convert_sse2 jsimd_ycc_extxrgb_convert_sse2 |
117 %include "jdclrss2.asm" | 120 %include "jdclrss2.asm" |
OLD | NEW |