From: Dmitry Kovalev Date: Tue, 14 Jan 2014 00:33:16 +0000 (-0800) Subject: Removing unused error_bins[] field from VP9_COMP. X-Git-Tag: v1.4.0~2679^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8a5774ba9a25d0936e5f6f16dbd6699aefb6fe6;p=libvpx Removing unused error_bins[] field from VP9_COMP. Change-Id: I883eb9026b44cb354d5b01c0f1d34ecd71f942e4 --- diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 8e60bc96d..ee15f962c 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -1844,9 +1844,6 @@ VP9_PTR vp9_create_compressor(VP9_CONFIG *oxcf) { 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 diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h index a5be0f424..49836ea74 100644 --- a/vp9/encoder/vp9_onyx_int.h +++ b/vp9/encoder/vp9_onyx_int.h @@ -623,7 +623,6 @@ typedef struct VP9_COMP { int ref_frame_flags; SPEED_FEATURES sf; - int error_bins[1024]; unsigned int max_mv_magnitude; int mv_step_param;