Index: simd/jdcolor-mmx.asm |
diff --git a/simd/jdcolmmx.asm b/simd/jdcolor-mmx.asm |
similarity index 70% |
copy from simd/jdcolmmx.asm |
copy to simd/jdcolor-mmx.asm |
index 21ca32a1bc8afb24f5b9a99ca04a032ca77ead6c..6730e48592c771bb194b882c7736eaebc6e614e9 100644 |
--- a/simd/jdcolmmx.asm |
+++ b/simd/jdcolor-mmx.asm |
@@ -1,5 +1,5 @@ |
; |
-; jdcolmmx.asm - colorspace conversion (MMX) |
+; jdcolor.asm - colorspace conversion (MMX) |
; |
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB |
; Copyright 2009 D. R. Commander |
@@ -21,37 +21,37 @@ |
; -------------------------------------------------------------------------- |
-%define SCALEBITS 16 |
+%define SCALEBITS 16 |
-F_0_344 equ 22554 ; FIX(0.34414) |
-F_0_714 equ 46802 ; FIX(0.71414) |
-F_1_402 equ 91881 ; FIX(1.40200) |
-F_1_772 equ 116130 ; FIX(1.77200) |
-F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1) |
-F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414) |
-F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200) |
+F_0_344 equ 22554 ; FIX(0.34414) |
+F_0_714 equ 46802 ; FIX(0.71414) |
+F_1_402 equ 91881 ; FIX(1.40200) |
+F_1_772 equ 116130 ; FIX(1.77200) |
+F_0_402 equ (F_1_402 - 65536) ; FIX(1.40200) - FIX(1) |
+F_0_285 equ ( 65536 - F_0_714) ; FIX(1) - FIX(0.71414) |
+F_0_228 equ (131072 - F_1_772) ; FIX(2) - FIX(1.77200) |
; -------------------------------------------------------------------------- |
- SECTION SEG_CONST |
+ SECTION SEG_CONST |
- alignz 16 |
- global EXTN(jconst_ycc_rgb_convert_mmx) PRIVATE |
+ alignz 16 |
+ global EXTN(jconst_ycc_rgb_convert_mmx) |
EXTN(jconst_ycc_rgb_convert_mmx): |
-PW_F0402 times 4 dw F_0_402 |
-PW_MF0228 times 4 dw -F_0_228 |
-PW_MF0344_F0285 times 2 dw -F_0_344, F_0_285 |
-PW_ONE times 4 dw 1 |
-PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
+PW_F0402 times 4 dw F_0_402 |
+PW_MF0228 times 4 dw -F_0_228 |
+PW_MF0344_F0285 times 2 dw -F_0_344, F_0_285 |
+PW_ONE times 4 dw 1 |
+PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
- alignz 16 |
+ alignz 16 |
; -------------------------------------------------------------------------- |
- SECTION SEG_TEXT |
- BITS 32 |
+ SECTION SEG_TEXT |
+ BITS 32 |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -62,7 +62,7 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_RGB_BLUE |
%define RGB_PIXELSIZE EXT_RGB_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extrgb_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -73,7 +73,7 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_RGBX_BLUE |
%define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extrgbx_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -84,7 +84,7 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_BGR_BLUE |
%define RGB_PIXELSIZE EXT_BGR_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extbgr_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -95,7 +95,7 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_BGRX_BLUE |
%define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extbgrx_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -106,7 +106,7 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_XBGR_BLUE |
%define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extxbgr_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -117,4 +117,4 @@ PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
%define RGB_BLUE EXT_XRGB_BLUE |
%define RGB_PIXELSIZE EXT_XRGB_PIXELSIZE |
%define jsimd_ycc_rgb_convert_mmx jsimd_ycc_extxrgb_convert_mmx |
-%include "jdclrmmx.asm" |
+%include "jdcolext-mmx.asm" |