summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2017-04-24 17:41:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-04-24 17:41:10 +0000
commitc530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0 (patch)
treec086361484a024dd3ae4b960ca342de34470e32e /vp9/encoder/vp9_encodeframe.c
parentb35f64241f0628987db592b5936dde58ca30b0db (diff)
parentbca4564683a35c795973ce2a318cc4f1391f9bbb (diff)
downloadlibvpx-c530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0.tar
libvpx-c530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0.tar.gz
libvpx-c530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0.tar.bz2
libvpx-c530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0.zip
Merge "Make allow_exhaustive_searches feature no longer adaptive"
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 783a63373..12dc226da 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -4341,7 +4341,6 @@ void vp9_init_tile_data(VP9_COMP *cpi) {
}
}
#if CONFIG_MULTITHREAD
- tile_data->search_count_mutex = NULL;
tile_data->enc_row_mt_mutex = NULL;
tile_data->row_base_thresh_freq_fact = NULL;
#endif
@@ -4361,10 +4360,6 @@ void vp9_init_tile_data(VP9_COMP *cpi) {
cpi->tplist[tile_row][tile_col] = tplist + tplist_count;
tplist = cpi->tplist[tile_row][tile_col];
tplist_count = get_num_vert_units(*tile_info, MI_BLOCK_SIZE_LOG2);
-
- // Set up pointers to per thread motion search counters.
- this_tile->m_search_count = 0; // Count of motion search hits.
- this_tile->ex_search_count = 0; // Exhaustive mesh search hits.
}
}
}
@@ -4409,13 +4404,6 @@ void vp9_encode_tile(VP9_COMP *cpi, ThreadData *td, int tile_row,
const int mi_row_end = tile_info->mi_row_end;
int mi_row;
- // Set up pointers to per thread motion search counters.
- td->mb.m_search_count_ptr = &this_tile->m_search_count;
- td->mb.ex_search_count_ptr = &this_tile->ex_search_count;
-#if CONFIG_MULTITHREAD
- td->mb.search_count_mutex = this_tile->search_count_mutex;
-#endif
-
for (mi_row = mi_row_start; mi_row < mi_row_end; mi_row += MI_BLOCK_SIZE)
vp9_encode_sb_row(cpi, td, tile_row, tile_col, mi_row);
}