summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.c
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2019-03-15 22:43:20 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-15 22:43:20 +0000
commit15a849b5d00afc03ca0408db23efb8dd471639bf (patch)
tree4c5638372bd9fcd171301f4df18df8fdc2649710 /vp9/encoder/vp9_encoder.c
parent2337285a2e27a7acdfaa94bba50030c8b49d11e7 (diff)
parent14208ab41e114f5779d106ae54a7cc8fd9d43820 (diff)
downloadlibvpx-15a849b5d00afc03ca0408db23efb8dd471639bf.tar
libvpx-15a849b5d00afc03ca0408db23efb8dd471639bf.tar.gz
libvpx-15a849b5d00afc03ca0408db23efb8dd471639bf.tar.bz2
libvpx-15a849b5d00afc03ca0408db23efb8dd471639bf.zip
Merge "Refactor tile boundary condition for intra prediction"
Diffstat (limited to 'vp9/encoder/vp9_encoder.c')
-rw-r--r--vp9/encoder/vp9_encoder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index edad53d31..ccaa0815d 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -6020,6 +6020,8 @@ static void mode_estimation(VP9_COMP *cpi, MACROBLOCK *x, MACROBLOCKD *xd,
xd->mb_to_right_edge = ((cm->mi_cols - 1 - mi_col) * MI_SIZE) * 8;
xd->above_mi = (mi_row > 0) ? &mi_above : NULL;
xd->left_mi = (mi_col > 0) ? &mi_left : NULL;
+ xd->mi_row = mi_row;
+ xd->mi_col = mi_col;
// Intra prediction search
for (mode = DC_PRED; mode <= TM_PRED; ++mode) {
@@ -6787,6 +6789,9 @@ static void mc_flow_dispenser(VP9_COMP *cpi, GF_PICTURE *gf_picture,
xd->mi[0] = cm->mi;
xd->cur_buf = this_frame;
+ xd->tile.mi_row_start = 0;
+ xd->tile.mi_col_start = 0;
+
// Get rd multiplier set up.
rdmult = vp9_compute_rd_mult_based_on_qindex(cpi, tpl_frame->base_qindex);
set_error_per_bit(&cpi->td.mb, rdmult);