shithub: libvpx

Download patch

ref: a8a5774ba9a25d0936e5f6f16dbd6699aefb6fe6
parent: dd31f2e4ae480f074841e0653dff91ccda9df091
author: Dmitry Kovalev <dkovalev@google.com>
date: Mon Jan 13 11:33:16 EST 2014

Removing unused error_bins[] field from VP9_COMP.

Change-Id: I883eb9026b44cb354d5b01c0f1d34ecd71f942e4

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -1844,9 +1844,6 @@
   cpi->diamond_search_sad = vp9_diamond_search_sad;
   cpi->refining_search_sad = vp9_refining_search_sad;
 
-  // make sure frame 1 is okay
-  cpi->error_bins[0] = cm->MBs;
-
   /* vp9_init_quantizer() is first called here. Add check in
    * vp9_frame_init_quantizer() so that vp9_init_quantizer is only
    * called later when needed. This will avoid unnecessary calls of
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -623,7 +623,6 @@
   int ref_frame_flags;
 
   SPEED_FEATURES sf;
-  int error_bins[1024];
 
   unsigned int max_mv_magnitude;
   int mv_step_param;
--