Commit 65113f38 authored by Jingning Han's avatar Jingning Han

Fix cross tile buffer access in encoder process

BUG=aomedia:429

Change-Id: I9aef9ae0df86f7574342fc8e7424869d9b2fa1d2
parent 00491e0d
...@@ -4913,8 +4913,10 @@ static void choose_intra_uv_mode(const AV1_COMP *const cpi, MACROBLOCK *const x, ...@@ -4913,8 +4913,10 @@ static void choose_intra_uv_mode(const AV1_COMP *const cpi, MACROBLOCK *const x,
*mode_uv = DC_PRED; *mode_uv = DC_PRED;
return; return;
} }
BLOCK_SIZE bs = scale_chroma_bsize(bsize, x->e_mbd.plane[1].subsampling_x,
x->e_mbd.plane[1].subsampling_y);
rd_pick_intra_sbuv_mode(cpi, x, rate_uv, rate_uv_tokenonly, dist_uv, skip_uv, rd_pick_intra_sbuv_mode(cpi, x, rate_uv, rate_uv_tokenonly, dist_uv, skip_uv,
bsize < BLOCK_8X8 ? BLOCK_8X8 : bsize, max_tx_size); bs, max_tx_size);
#endif // CONFIG_CHROMA_2X2 #endif // CONFIG_CHROMA_2X2
#else #else
rd_pick_intra_sbuv_mode(cpi, x, rate_uv, rate_uv_tokenonly, dist_uv, skip_uv, rd_pick_intra_sbuv_mode(cpi, x, rate_uv, rate_uv_tokenonly, dist_uv, skip_uv,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment