Refactor rtc coding mode to support tile encoding
Use per tile threshold in the prediction mode search process. Change-Id: I6c74ee5a3b069bb4281002dfe51310911a0756c0
This commit is contained in:
@@ -459,7 +459,7 @@ static const THR_MODES mode_idx[MAX_REF_FRAMES - 1][INTER_MODES] = {
|
||||
// TODO(jingning) placeholder for inter-frame non-RD mode decision.
|
||||
// this needs various further optimizations. to be continued..
|
||||
void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
|
||||
const TileInfo *const tile,
|
||||
const TileInfo *const tile, TileDataEnc *tile_data,
|
||||
int mi_row, int mi_col, RD_COST *rd_cost,
|
||||
BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx) {
|
||||
VP9_COMMON *const cm = &cpi->common;
|
||||
@@ -492,7 +492,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
|
||||
|
||||
const int8_t segment_id = mbmi->segment_id;
|
||||
const int *const rd_threshes = cpi->rd.threshes[segment_id][bsize];
|
||||
const int *const rd_thresh_freq_fact = cpi->rd.thresh_freq_fact[bsize];
|
||||
const int *const rd_thresh_freq_fact = tile_data->thresh_freq_fact[bsize];
|
||||
INTERP_FILTER filter_ref;
|
||||
const int bsl = mi_width_log2_lookup[bsize];
|
||||
const int pred_filter_search = cm->interp_filter == SWITCHABLE ?
|
||||
|
||||
Reference in New Issue
Block a user