]> granicus.if.org Git - libvpx/commitdiff
neon: disable asm quantizer
authorJohn Koleszar <jkoleszar@google.com>
Tue, 27 Jul 2010 15:12:21 +0000 (11:12 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 27 Jul 2010 15:16:19 +0000 (11:16 -0400)
The assembly version of the quantizer has not been updated to match
the new exact quantizer introduced in commit e04e2935. That commit tried
to disable this code but missed the non-RTCD case.

Thanks to David Baker <david.baker at openmarket.com> for isolating the
issue and testing this fix.

Change-Id: I0e51492dc6f8e44d2c10b587427448bf94135c65

vp8/encoder/arm/csystemdependent.c
vp8/encoder/arm/quantize_arm.h

index bfceab16c0f17ce3389553ad10276f84c0d7d10b..698cf1e6f10a7459ad909033bbd6185cd0582568 100644 (file)
@@ -63,6 +63,10 @@ void vp8_cmachine_specific_config(VP8_COMP *cpi)
     cpi->rtcd.encodemb.submbuv               = vp8_subtract_mbuv_neon;
 
     cpi->rtcd.quantize.quantb                = vp8_regular_quantize_b;
+    cpi->rtcd.quantize.fastquantb            = vp8_fast_quantize_b_c;
+    /* The neon quantizer has not been updated to match the new exact
+     * quantizer introduced in commit e04e2935
+     */
     /*cpi->rtcd.quantize.fastquantb            = vp8_fast_quantize_b_neon;*/
 #elif HAVE_ARMV6
     cpi->rtcd.variance.sad16x16              = vp8_sad16x16_c;
index 5a7b0caac91cb3de2c6c80fa2ae3c08a6f925eee..339b8a28a1ad2b81dfe62a289881da865ad79da5 100644 (file)
 #if HAVE_ARMV7
 extern prototype_quantize_block(vp8_fast_quantize_b_neon);
 
-#undef  vp8_quantize_fastquantb
-#define vp8_quantize_fastquantb vp8_fast_quantize_b_neon
+/* The neon quantizer has not been updated to match the new exact
+ * quantizer introduced in commit e04e2935
+ */
+//#undef  vp8_quantize_fastquantb
+//#define vp8_quantize_fastquantb vp8_fast_quantize_b_neon
 
 #endif