aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-09-28 19:25:18 -0700
committerPhilip Langdale <philipl@overt.org>2023-06-15 12:29:52 -0700
commit41be6a5593ab498f8069f0dd11e7d7cebb1f6811 (patch)
treeb8e627c96d2be0d2a9bff24ac724a04dbf2d2f6a /libavutil
parentecc3f158e130481a1e98d99e023d304c5796b2a7 (diff)
downloadffmpeg-41be6a5593ab498f8069f0dd11e7d7cebb1f6811.tar.gz
lavu/hwcontext_cuda: declare support for rgb32/bgr32
nvenc declares support for these formats, but if hwcontext_cuda doesn't do that as well, then it's not possible to hwupload them for use in a possible cuda pipeline before encoding.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext_cuda.c2
-rw-r--r--libavutil/version.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index 5ae7711c94..4b298fa93e 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -45,6 +45,8 @@ static const enum AVPixelFormat supported_formats[] = {
AV_PIX_FMT_YUV444P16,
AV_PIX_FMT_0RGB32,
AV_PIX_FMT_0BGR32,
+ AV_PIX_FMT_RGB32,
+ AV_PIX_FMT_BGR32,
#if CONFIG_VULKAN
AV_PIX_FMT_VULKAN,
#endif
diff --git a/libavutil/version.h b/libavutil/version.h
index dbdf0bd64a..17a6d296a6 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -80,7 +80,7 @@
#define LIBAVUTIL_VERSION_MAJOR 58
#define LIBAVUTIL_VERSION_MINOR 13
-#define LIBAVUTIL_VERSION_MICRO 100
+#define LIBAVUTIL_VERSION_MICRO 101
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
LIBAVUTIL_VERSION_MINOR, \