mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
avutil/hwcontext_cuda: Expands pixel formats support
Add support for additional pixel formats in CUDA hardware context: - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) - Semiplanar formats (nv16, p210, p216) Signed-off-by: Diego de Souza <ddesouza@nvidia.com>
This commit is contained in:
committed by
Timo Rothenpieler
parent
0cd75dbfa0
commit
9c76d7db86
@@ -50,6 +50,10 @@ static const enum AVPixelFormat supported_formats[] = {
|
||||
AV_PIX_FMT_P016,
|
||||
AV_PIX_FMT_P210,
|
||||
AV_PIX_FMT_P216,
|
||||
AV_PIX_FMT_YUV422P,
|
||||
AV_PIX_FMT_YUV420P10,
|
||||
AV_PIX_FMT_YUV422P10,
|
||||
AV_PIX_FMT_YUV444P10,
|
||||
AV_PIX_FMT_YUV444P10MSB,
|
||||
AV_PIX_FMT_YUV444P12MSB,
|
||||
AV_PIX_FMT_YUV444P16,
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
#define LIBAVUTIL_VERSION_MAJOR 60
|
||||
#define LIBAVUTIL_VERSION_MINOR 19
|
||||
#define LIBAVUTIL_VERSION_MICRO 100
|
||||
#define LIBAVUTIL_VERSION_MICRO 101
|
||||
|
||||
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
||||
LIBAVUTIL_VERSION_MINOR, \
|
||||
|
||||
Reference in New Issue
Block a user