]> git.videolan.org Git - x264.git/commitdiff
Remove high bit depth mmx quant
authorHolger Lubitz <holger@lubitz.org>
Fri, 21 Jan 2011 18:13:57 +0000 (19:13 +0100)
committerJason Garrett-Glaser <jason@x264.com>
Tue, 25 Jan 2011 10:40:41 +0000 (02:40 -0800)
It was using pmuludq which is sse2, and the function isn't really possible without pmuludq.

common/quant.c
common/x86/quant-a.asm

index c4b39e2f5259f40415f1e70ca6185939a18d340d..d723242ffbc97e3e7266fbea73033091aea60882 100644 (file)
@@ -287,15 +287,8 @@ void x264_quant_init( x264_t *h, int cpu, x264_quant_function_t *pf )
 
 #if HIGH_BIT_DEPTH
 #if HAVE_MMX
-    if( cpu&X264_CPU_MMX )
-    {
-        pf->quant_4x4 = x264_quant_4x4_mmx;
-        pf->quant_8x8 = x264_quant_8x8_mmx;
-    }
     if( cpu&X264_CPU_MMXEXT )
     {
-        pf->quant_2x2_dc = x264_quant_2x2_dc_mmxext;
-        pf->quant_4x4_dc = x264_quant_4x4_dc_mmxext;
 #if ARCH_X86
         pf->denoise_dct = x264_denoise_dct_mmx;
         pf->decimate_score15 = x264_decimate_score15_mmxext;
index c4a652fb623a8c60b00f5e37fc9e9f895cc59645..98beb9d92bcdbe02223391911ee50d2d8e00612b 100644 (file)
@@ -321,11 +321,6 @@ cglobal quant_%1x%2_%3, 3,3,8*(mmsize/16)
 %define QUANT_END QUANT_END_MMX
 %define PABSD PABSD_MMX
 %define PSIGND PSIGND_MMX
-INIT_MMX
-QUANT_DC 2, 2, mmxext
-QUANT_DC 4, 4, mmxext
-QUANT_AC 4, 4, mmx
-QUANT_AC 8, 8, mmx
 INIT_XMM
 QUANT_DC 2, 2, sse2
 QUANT_DC 4, 4, sse2