ref: 44dc18064e13cc2362dd37b9672c0f34f28ccd00
parent: 69902c6bf0a1744265cc8937609f7e9eef0b8d95
parent: 2e2b8a53cc481a02a07584e1c13c994374b0990e
author: Ronald S. Bultje <rbultje@google.com>
date: Thu Apr 11 11:17:03 EDT 2013
Merge "Remove "tplist" from VP9_COMP." into experimental
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -927,8 +927,6 @@
if (output_enabled) {
(*tp)->Token = EOSB_TOKEN;
(*tp)++;
- if (mb_row < cm->mb_rows)
- cpi->tplist[mb_row].stop = *tp;
}
} else {
int i;
@@ -958,8 +956,6 @@
if (output_enabled) {
(*tp)->Token = EOSB_TOKEN;
(*tp)++;
- if (mb_row + y_idx < cm->mb_rows)
- cpi->tplist[mb_row + y_idx].stop = *tp;
}
}
}
@@ -993,8 +989,6 @@
(*tp)->Token = EOSB_TOKEN;
(*tp)++;
- if (mb_row < cm->mb_rows)
- cpi->tplist[mb_row].stop = *tp;
} else {
int i;
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -300,9 +300,6 @@
static void dealloc_compressor_data(VP9_COMP *cpi) {
- vpx_free(cpi->tplist);
- cpi->tplist = NULL;
-
// Delete last frame MV storage buffers
vpx_free(cpi->lfmv);
cpi->lfmv = 0;
@@ -934,11 +931,6 @@
!cpi->twopass.this_frame_stats)
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,
"Failed to allocate firstpass stats");
-
- vpx_free(cpi->tplist);
-
- CHECK_MEM_ERROR(cpi->tplist,
- vpx_malloc(sizeof(TOKENLIST) * (cpi->common.mb_rows)));
}
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -566,8 +566,6 @@
unsigned char *active_map;
unsigned int active_map_enabled;
- TOKENLIST *tplist;
-
fractional_mv_step_fp *find_fractional_mv_step;
vp9_full_search_fn_t full_search_sad;
vp9_refining_search_fn_t refining_search_sad;