summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec.h
Commit message (Collapse)AuthorAge
* avcodec/nvdec: add av1 hwaccelTimo Rothenpieler2020-11-11
| | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org> Co-authored-by: James Almer <jamrial@gmail.com>
* avcodec/nvdec: add support for separate reference frameTimo Rothenpieler2020-11-11
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvdec: Explicitly mark codecs that support 444 output formatsPhilip Langdale2019-02-16
| | | | | | | | | With the introduction of HEVC 444 support, we technically have two codecs that can handle 444 - HEVC and MJPEG. In the case of MJPEG, it can decode, but can only output one of the semi-planar formats. That means we need additional logic to decide whether to use a 444 output format or not.
* avcodec/nv{enc,dec}: use sane version checking macroTimo Rothenpieler2018-04-13
| | | | | For some odd reason, the Nvidia version macros puts the minor version in the msb, so comparing against it is impossible.
* 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.
* nvdec: add frames_params supportwm42017-11-11
|
* avcodec/nvdec: fix copyright headersJames Almer2017-11-10
| | | | | | Fixes fate-source. Signed-off-by: James Almer <jamrial@gmail.com>
* h264dec: add a NVDEC hwaccelAnton Khirnov2017-11-10
Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org> Merges Libav commit b9129ec4668c511e0a79e25c6f25d748cee172c9. Due to the name clash with our cuvid decoder, rename it to nvdec. This commit also changes the Libav code to dynamic loading of the cuda/cuvid libraries. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>