Remove unnecessary calling of vp9_init_quantizer()
authorYunqing Wang <yunqingwang@google.com>
Wed, 17 Jul 2013 21:59:00 +0000 (14:59 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 17 Jul 2013 21:59:00 +0000 (14:59 -0700)
vp9_init_quantizer() is called in vp9_create_compressor(), and
should not be called in vp9_set_speed_features().

Change-Id: Ic2f1f4b0531b9d46bb841d7e1d8da9812207dad6

vp9/encoder/vp9_onyx_if.c

index 500bdfe..2afcd27 100644 (file)
@@ -877,8 +877,6 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
 
   cpi->mb.quantize_b_4x4      = vp9_regular_quantize_b_4x4;
 
-  vp9_init_quantizer(cpi);
-
   if (cpi->sf.iterative_sub_pixel == 1) {
     cpi->find_fractional_mv_step = vp9_find_best_sub_pixel_step_iteratively;
   } else if (cpi->sf.quarter_pixel_search) {