Refactor av1_predict_intra_block tx_size interface
Simplify the input arguments. Make direct use of the block size in the unit of pixels. Change-Id: Ifec9d90b4b4fa9605f93b4f93b8242f76f898b5f
This commit is contained in:
@@ -579,6 +579,9 @@ void av1_first_pass(AV1_COMP *cpi, const struct lookahead_entry *source) {
|
||||
set_mi_row_col(xd, &tile, mb_row << 1, num_8x8_blocks_high_lookup[bsize],
|
||||
mb_col << 1, num_8x8_blocks_wide_lookup[bsize],
|
||||
cm->mi_rows, cm->mi_cols);
|
||||
set_plane_n4(xd, num_8x8_blocks_wide_lookup[bsize],
|
||||
num_8x8_blocks_high_lookup[bsize],
|
||||
mi_width_log2_lookup[bsize], mi_height_log2_lookup[bsize]);
|
||||
|
||||
// Do intra 16x16 prediction.
|
||||
xd->mi[0]->mbmi.segment_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user