From a8a5774ba9a25d0936e5f6f16dbd6699aefb6fe6 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Mon, 13 Jan 2014 16:33:16 -0800 Subject: [PATCH] Removing unused error_bins[] field from VP9_COMP. Change-Id: I883eb9026b44cb354d5b01c0f1d34ecd71f942e4 --- vp9/encoder/vp9_onyx_if.c | 3 --- vp9/encoder/vp9_onyx_int.h | 1 - 2 files changed, 4 deletions(-) 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; -- 2.50.1