• Philip Langdale's avatar
    avcodec: Refactor common nvdec hwaccel logic · 4c7b023d
    Philip Langdale authored
    The 'simple' hwaccels (not h.264 and hevc) all use the same bitstream
    management and reference lookup logic so let's refactor all that into
    common functions.
    
    I verified that casting a signed int -1 to unsigned char produces 255
    according to the C language specification.
    4c7b023d
nvdec.h 2.07 KB