OLD | NEW |
1 ; | 1 ; |
2 ; jccolss2-64.asm - colorspace conversion (64-bit SSE2) | 2 ; jccolss2-64.asm - colorspace conversion (64-bit SSE2) |
3 ; | 3 ; |
4 ; x86 SIMD extension for IJG JPEG library | 4 ; x86 SIMD extension for IJG JPEG library |
5 ; Copyright (C) 1999-2006, MIYASAKA Masaru. | 5 ; Copyright (C) 1999-2006, MIYASAKA Masaru. |
6 ; Copyright (C) 2009, D. R. Commander. | 6 ; Copyright (C) 2009, D. R. Commander. |
7 ; For conditions of distribution and use, see copyright notice in jsimdext.inc | 7 ; For conditions of distribution and use, see copyright notice in jsimdext.inc |
8 ; | 8 ; |
9 ; This file should be assembled with NASM (Netwide Assembler), | 9 ; This file should be assembled with NASM (Netwide Assembler), |
10 ; can *not* be assembled with Microsoft's MASM or any compatible | 10 ; can *not* be assembled with Microsoft's MASM or any compatible |
(...skipping 30 matching lines...) Expand all Loading... |
41 PW_F0299_F0337 times 4 dw F_0_299, F_0_337 | 41 PW_F0299_F0337 times 4 dw F_0_299, F_0_337 |
42 PW_F0114_F0250 times 4 dw F_0_114, F_0_250 | 42 PW_F0114_F0250 times 4 dw F_0_114, F_0_250 |
43 PW_MF016_MF033 times 4 dw -F_0_168,-F_0_331 | 43 PW_MF016_MF033 times 4 dw -F_0_168,-F_0_331 |
44 PW_MF008_MF041 times 4 dw -F_0_081,-F_0_418 | 44 PW_MF008_MF041 times 4 dw -F_0_081,-F_0_418 |
45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBI
TS) | 45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBI
TS) |
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 64 |
| 53 |
51 %include "jcclrss2-64.asm" | 54 %include "jcclrss2-64.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_rgb_ycc_convert_sse2 jsimd_extxrgb_ycc_convert_sse2 | 119 %define jsimd_rgb_ycc_convert_sse2 jsimd_extxrgb_ycc_convert_sse2 |
117 %include "jcclrss2-64.asm" | 120 %include "jcclrss2-64.asm" |
OLD | NEW |