summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec_mpeg12.c
Commit message (Collapse)AuthorAge
* lavc: Mark all AVHWAccel structures as constMark Thompson2017-11-26
|
* avcodec: Implement mpeg1 nvdec hwaccelPhilip Langdale2017-11-20
| | | | | Once I remembered that there's a separate decoder type for mpeg1, even though params struct is shared with mpeg2, everything worked.
* avcodec: Refactor common nvdec hwaccel logicPhilip Langdale2017-11-20
| | | | | | | | | 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.
* avcodec: Implement mpeg2 nvdec hwaccelPhilip Langdale2017-11-18
This is mostly straight-forward. The weird part is that it should just work for mpeg1, but I see corruption in my test cases, so I'm going to try and fix that separately.