summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec_hevc.c
Commit message (Collapse)AuthorAge
* 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/nvdec: Add support for decoding HEVC 4:4:4 contentPhilip Langdale2019-02-16
| | | | | | | | | | | | | The latest generation video decoder on the Turing chips supports decoding HEVC 4:4:4. Supporting this is relatively straight-forward; we need to account for the different chroma format and pick the right output and sw formats at the right times. There was one bug which was the hard-coded assumption that the first chroma plane would be half-height; I fixed this to use the actual shift value on the plane. We also need to pass the SPS and PPS range extension flags.
* avcodec/nvdec_hevc: fix scaling listsPhilip Langdale2018-05-10
| | | | | | | | | | | 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: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvdec: correctly set intra_pic_flag for h264/hevcTimo Rothenpieler2018-04-15
|
* 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/nvdec_hevc: add support for new extended sps/pps flags from SDK 8.1Timo Rothenpieler2018-04-13
|
* lavc: Mark all AVHWAccel structures as constMark Thompson2017-11-26
|
* 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>
* Merge commit 'b90fdb2c7199cc8b0e8d994fafba1fb4dc181d88'James Almer2017-11-10
* commit 'b90fdb2c7199cc8b0e8d994fafba1fb4dc181d88': hevcdec: add a CUVID hwaccel Adapted for ffmpeg by Timo Rothenpieler. Merged-by: James Almer <jamrial@gmail.com>