Index: simd/jcgray-mmx.asm |
diff --git a/simd/jcgrammx.asm b/simd/jcgray-mmx.asm |
similarity index 74% |
copy from simd/jcgrammx.asm |
copy to simd/jcgray-mmx.asm |
index 8553b2372e2c5ba460c46908abf25f0909670045..b2708ad4de6e327dc94cb989685edafc4df531a1 100644 |
--- a/simd/jcgrammx.asm |
+++ b/simd/jcgray-mmx.asm |
@@ -1,5 +1,5 @@ |
; |
-; jcgrammx.asm - grayscale colorspace conversion (MMX) |
+; jcgray.asm - grayscale colorspace conversion (MMX) |
; |
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB |
; Copyright 2011 D. R. Commander |
@@ -21,33 +21,33 @@ |
; -------------------------------------------------------------------------- |
-%define SCALEBITS 16 |
+%define SCALEBITS 16 |
-F_0_114 equ 7471 ; FIX(0.11400) |
-F_0_250 equ 16384 ; FIX(0.25000) |
-F_0_299 equ 19595 ; FIX(0.29900) |
-F_0_587 equ 38470 ; FIX(0.58700) |
-F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000) |
+F_0_114 equ 7471 ; FIX(0.11400) |
+F_0_250 equ 16384 ; FIX(0.25000) |
+F_0_299 equ 19595 ; FIX(0.29900) |
+F_0_587 equ 38470 ; FIX(0.58700) |
+F_0_337 equ (F_0_587 - F_0_250) ; FIX(0.58700) - FIX(0.25000) |
; -------------------------------------------------------------------------- |
- SECTION SEG_CONST |
+ SECTION SEG_CONST |
- alignz 16 |
- global EXTN(jconst_rgb_gray_convert_mmx) PRIVATE |
+ alignz 16 |
+ global EXTN(jconst_rgb_gray_convert_mmx) |
EXTN(jconst_rgb_gray_convert_mmx): |
-PW_F0299_F0337 times 2 dw F_0_299, F_0_337 |
-PW_F0114_F0250 times 2 dw F_0_114, F_0_250 |
-PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
+PW_F0299_F0337 times 2 dw F_0_299, F_0_337 |
+PW_F0114_F0250 times 2 dw F_0_114, F_0_250 |
+PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
- alignz 16 |
+ alignz 16 |
; -------------------------------------------------------------------------- |
- SECTION SEG_TEXT |
- BITS 32 |
+ SECTION SEG_TEXT |
+ BITS 32 |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -58,7 +58,7 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_RGB_BLUE |
%define RGB_PIXELSIZE EXT_RGB_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extrgb_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -69,7 +69,7 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_RGBX_BLUE |
%define RGB_PIXELSIZE EXT_RGBX_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extrgbx_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -80,7 +80,7 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_BGR_BLUE |
%define RGB_PIXELSIZE EXT_BGR_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extbgr_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -91,7 +91,7 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_BGRX_BLUE |
%define RGB_PIXELSIZE EXT_BGRX_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extbgrx_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -102,7 +102,7 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_XBGR_BLUE |
%define RGB_PIXELSIZE EXT_XBGR_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extxbgr_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |
%undef RGB_RED |
%undef RGB_GREEN |
@@ -113,4 +113,4 @@ PD_ONEHALF times 2 dd (1 << (SCALEBITS-1)) |
%define RGB_BLUE EXT_XRGB_BLUE |
%define RGB_PIXELSIZE EXT_XRGB_PIXELSIZE |
%define jsimd_rgb_gray_convert_mmx jsimd_extxrgb_gray_convert_mmx |
-%include "jcgrymmx.asm" |
+%include "jcgryext-mmx.asm" |