Commit e5be4c5a authored by Xu Guangxin's avatar Xu Guangxin Committed by Linjie Fu

avcodec/hevcdec: constrained intra predict, do not check top left IS_INTRA if it's not available

fix ticket: 8932

For poc 2, we have tile boundary at x = 640.
When we predict cu(640,912),the top left pixel is not avaliable to the cu.
So, we can not check it's intra or not. We need set top[-1] = top[0] directly.
see 8.4.4.2.1 for details
Signed-off-by: 's avatarXu Guangxin <oddstone@gmail.com>
Signed-off-by: 's avatarLinjie Fu <linjie.justin.fu@gmail.com>
parent c7ece8e2
......@@ -214,7 +214,7 @@ do { \
while (j < size_max_x && !IS_INTRA(j, -1))
j++;
if (j > 0)
if (x0 > 0) {
if (cand_up_left) {
EXTEND_LEFT_CIP(top, j, j + 1);
} else {
EXTEND_LEFT_CIP(top, j, j);
......
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