Commit b53113c3 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review

Merge "Removing unused error_bins[] field from VP9_COMP."

parents a8bb1ffd a8a5774b
...@@ -1844,9 +1844,6 @@ VP9_PTR vp9_create_compressor(VP9_CONFIG *oxcf) { ...@@ -1844,9 +1844,6 @@ VP9_PTR vp9_create_compressor(VP9_CONFIG *oxcf) {
cpi->diamond_search_sad = vp9_diamond_search_sad; cpi->diamond_search_sad = vp9_diamond_search_sad;
cpi->refining_search_sad = vp9_refining_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_init_quantizer() is first called here. Add check in
* vp9_frame_init_quantizer() so that vp9_init_quantizer is only * vp9_frame_init_quantizer() so that vp9_init_quantizer is only
* called later when needed. This will avoid unnecessary calls of * called later when needed. This will avoid unnecessary calls of
......
...@@ -623,7 +623,6 @@ typedef struct VP9_COMP { ...@@ -623,7 +623,6 @@ typedef struct VP9_COMP {
int ref_frame_flags; int ref_frame_flags;
SPEED_FEATURES sf; SPEED_FEATURES sf;
int error_bins[1024];
unsigned int max_mv_magnitude; unsigned int max_mv_magnitude;
int mv_step_param; int mv_step_param;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment