]> git.sesse.net Git - ffmpeg/commit
avcodec/hevcdec: constrained intra predict, do not check top left IS_INTRA if it...
authorXu Guangxin <oddstone@gmail.com>
Fri, 16 Oct 2020 13:57:34 +0000 (21:57 +0800)
committerLinjie Fu <linjie.fulinjie@alibaba-inc.com>
Wed, 28 Oct 2020 03:29:09 +0000 (11:29 +0800)
commite5be4c5a88df90477f36cc81993d10f41d6180ce
tree96da6c7339f124a80bd1880a0abb8f7338370bda
parentc7ece8e26f313bba7ab30f0ac7cfd282b6ff51e0
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 <oddstone@gmail.com>
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
libavcodec/hevcpred_template.c