mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/hevcdec: Declare that nvdec supports 12bit decoding
This commit is contained in:
parent
61c972384d
commit
e990713ff9
@ -404,6 +404,11 @@ static enum AVPixelFormat get_format(HEVCContext *s, const HEVCSPS *sps)
|
|||||||
#if CONFIG_HEVC_VIDEOTOOLBOX_HWACCEL
|
#if CONFIG_HEVC_VIDEOTOOLBOX_HWACCEL
|
||||||
*fmt++ = AV_PIX_FMT_VIDEOTOOLBOX;
|
*fmt++ = AV_PIX_FMT_VIDEOTOOLBOX;
|
||||||
#endif
|
#endif
|
||||||
|
#if CONFIG_HEVC_NVDEC_HWACCEL
|
||||||
|
*fmt++ = AV_PIX_FMT_CUDA;
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
case AV_PIX_FMT_YUV420P12:
|
||||||
#if CONFIG_HEVC_NVDEC_HWACCEL
|
#if CONFIG_HEVC_NVDEC_HWACCEL
|
||||||
*fmt++ = AV_PIX_FMT_CUDA;
|
*fmt++ = AV_PIX_FMT_CUDA;
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#define LIBAVCODEC_VERSION_MAJOR 58
|
#define LIBAVCODEC_VERSION_MAJOR 58
|
||||||
#define LIBAVCODEC_VERSION_MINOR 13
|
#define LIBAVCODEC_VERSION_MINOR 13
|
||||||
#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