| 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 17 matching lines...) Expand all Loading... |
| 28 F_1_402 equ 91881 ; FIX(1.40200) | 28 F_1_402 equ 91881 ; FIX(1.40200) |
| 29 F_1_772 equ 116130 ; FIX(1.77200) | 29 F_1_772 equ 116130 ; FIX(1.77200) |
| 30 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1) | 30 F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1) |
| 31 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414) | 31 F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414) |
| 32 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200) | 32 F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200) |
| 33 | 33 |
| 34 ; -------------------------------------------------------------------------- | 34 ; -------------------------------------------------------------------------- |
| 35 SECTION SEG_CONST | 35 SECTION SEG_CONST |
| 36 | 36 |
| 37 alignz 16 | 37 alignz 16 |
| 38 » global» EXTN(jconst_ycc_rgb_convert_sse2) | 38 » global» EXTN(jconst_ycc_rgb_convert_sse2) PRIVATE |
| 39 | 39 |
| 40 EXTN(jconst_ycc_rgb_convert_sse2): | 40 EXTN(jconst_ycc_rgb_convert_sse2): |
| 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 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 %undef RGB_RED | 108 %undef RGB_RED |
| 109 %undef RGB_GREEN | 109 %undef RGB_GREEN |
| 110 %undef RGB_BLUE | 110 %undef RGB_BLUE |
| 111 %undef RGB_PIXELSIZE | 111 %undef RGB_PIXELSIZE |
| 112 %define RGB_RED 1 | 112 %define RGB_RED 1 |
| 113 %define RGB_GREEN 2 | 113 %define RGB_GREEN 2 |
| 114 %define RGB_BLUE 3 | 114 %define RGB_BLUE 3 |
| 115 %define RGB_PIXELSIZE 4 | 115 %define RGB_PIXELSIZE 4 |
| 116 %define jsimd_ycc_rgb_convert_sse2 jsimd_ycc_extxrgb_convert_sse2 | 116 %define jsimd_ycc_rgb_convert_sse2 jsimd_ycc_extxrgb_convert_sse2 |
| 117 %include "jdclrss2.asm" | 117 %include "jdclrss2.asm" |
| OLD | NEW |