mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
avcodec/hevcdec: Declare that VDPAU can handle HEVC 4:4:4 content
The latest generation video decoder on the Turing chips supports decoding HEVC 4:4:4. This change adds AV_PIX_FMT_VDPAU as a valid format for HEVC 4:4:4 8 bit.
This commit is contained in:
parent
fc8fb88f10
commit
d7d82cfcd4
@ -26,6 +26,7 @@ version <next>:
|
|||||||
- lscr decoder
|
- lscr decoder
|
||||||
- lagfun filter
|
- lagfun filter
|
||||||
- asoftclip filter
|
- asoftclip filter
|
||||||
|
- Support decoding of HEVC 4:4:4 content in vdpau
|
||||||
|
|
||||||
|
|
||||||
version 4.1:
|
version 4.1:
|
||||||
|
@ -408,8 +408,15 @@ static enum AVPixelFormat get_format(HEVCContext *s, const HEVCSPS *sps)
|
|||||||
*fmt++ = AV_PIX_FMT_CUDA;
|
*fmt++ = AV_PIX_FMT_CUDA;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case AV_PIX_FMT_YUV420P12:
|
|
||||||
case AV_PIX_FMT_YUV444P:
|
case AV_PIX_FMT_YUV444P:
|
||||||
|
#if CONFIG_HEVC_VDPAU_HWACCEL
|
||||||
|
*fmt++ = AV_PIX_FMT_VDPAU;
|
||||||
|
#endif
|
||||||
|
#if CONFIG_HEVC_NVDEC_HWACCEL
|
||||||
|
*fmt++ = AV_PIX_FMT_CUDA;
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
case AV_PIX_FMT_YUV420P12:
|
||||||
case AV_PIX_FMT_YUV444P10:
|
case AV_PIX_FMT_YUV444P10:
|
||||||
case AV_PIX_FMT_YUV444P12:
|
case AV_PIX_FMT_YUV444P12:
|
||||||
#if CONFIG_HEVC_NVDEC_HWACCEL
|
#if CONFIG_HEVC_NVDEC_HWACCEL
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#define LIBAVCODEC_VERSION_MAJOR 58
|
#define LIBAVCODEC_VERSION_MAJOR 58
|
||||||
#define LIBAVCODEC_VERSION_MINOR 52
|
#define LIBAVCODEC_VERSION_MINOR 52
|
||||||
#define LIBAVCODEC_VERSION_MICRO 100
|
#define LIBAVCODEC_VERSION_MICRO 101
|
||||||
|
|
||||||
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
||||||
LIBAVCODEC_VERSION_MINOR, \
|
LIBAVCODEC_VERSION_MINOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user