Commit 2e867937 authored by Yogender Gupta's avatar Yogender Gupta Committed by Philip Langdale

hwupload_cuda : Add 10/16 bit format support

Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
parent cae2f1db
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define LIBAVFILTER_VERSION_MAJOR 6 #define LIBAVFILTER_VERSION_MAJOR 6
#define LIBAVFILTER_VERSION_MINOR 96 #define LIBAVFILTER_VERSION_MINOR 96
#define LIBAVFILTER_VERSION_MICRO 100 #define LIBAVFILTER_VERSION_MICRO 101
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \ LIBAVFILTER_VERSION_MINOR, \
......
...@@ -58,6 +58,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx) ...@@ -58,6 +58,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx)
static const enum AVPixelFormat input_pix_fmts[] = { static const enum AVPixelFormat input_pix_fmts[] = {
AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV444P,
AV_PIX_FMT_P010, AV_PIX_FMT_P016, AV_PIX_FMT_YUV444P16,
AV_PIX_FMT_NONE, AV_PIX_FMT_NONE,
}; };
static const enum AVPixelFormat output_pix_fmts[] = { static const enum AVPixelFormat output_pix_fmts[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment