ffmpeg | branch: master | Xu Guangxin <[email protected]> | Fri Oct 16 21:57:34 2020 +0800| [e5be4c5a88df90477f36cc81993d10f41d6180ce] | committer: 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: Xu Guangxin <[email protected]> Signed-off-by: Linjie Fu <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5be4c5a88df90477f36cc81993d10f41d6180ce --- libavcodec/hevcpred_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevcpred_template.c b/libavcodec/hevcpred_template.c index f1a1f4c1f0..ca75ec1128 100644 --- a/libavcodec/hevcpred_template.c +++ b/libavcodec/hevcpred_template.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
