]> granicus.if.org Git - libx264/commitdiff
Remove high bit depth mmx quant
authorHolger Lubitz <holger@lubitz.org>
Fri, 21 Jan 2011 18:13:57 +0000 (19:13 +0100)
committerFiona Glaser <fiona@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 326d6fb7bef3a78cda3a334411fc2687a237d98c..5d319d1399ad145a353de4682e8c74dd281e4641 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 018a803d8c63be19120b1880c235c31921f8c102..585f0b15a5bb72325f638a45b357f184adf5c664 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