• Philip Langdale's avatar
    avcodec/nvdec_hevc: fix scaling lists · 12610037
    Philip Langdale authored
    The main issue here was the use of [i] instead of [i * 3] for the 32x32
    matrix. As part of fixing this, I changed the code to match that used
    in vdpau_hevc, which I spent a lot of time verifying.
    
    I also changed to calculating NumPocTotalCurr using the existing helper,
    which is what vdpau does.
    Signed-off-by: 's avatarTimo Rothenpieler <timo@rothenpieler.org>
    12610037
nvdec_hevc.c 13.7 KB