diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 4e2cd0ff7..c7d81b17f 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -355,8 +355,6 @@ static void dealloc_compressor_data(VP8_COMP *cpi) /* Activity mask based per mb zbin adjustments */ vpx_free(cpi->mb_activity_map); cpi->mb_activity_map = 0; - vpx_free(cpi->mb_norm_activity_map); - cpi->mb_norm_activity_map = 0; vpx_free(cpi->mb.pip); cpi->mb.pip = 0; @@ -1097,11 +1095,6 @@ void vp8_alloc_compressor_data(VP8_COMP *cpi) vpx_calloc(sizeof(*cpi->mb_activity_map), cm->mb_rows * cm->mb_cols)); - vpx_free(cpi->mb_norm_activity_map); - CHECK_MEM_ERROR(cpi->mb_norm_activity_map, - vpx_calloc(sizeof(*cpi->mb_norm_activity_map), - cm->mb_rows * cm->mb_cols)); - /* allocate memory for storing last frame's MVs for MV prediction. */ vpx_free(cpi->lfmv); CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cm->mb_rows+2) * (cm->mb_cols+2), diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 5cff899ac..ed9c7624f 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -649,7 +649,6 @@ typedef struct VP8_COMP /* Per MB activity measurement */ unsigned int activity_avg; unsigned int * mb_activity_map; - int * mb_norm_activity_map; /* Record of which MBs still refer to last golden frame either * directly or through 0,0