From 2e8679373ab628a19885645ed5e1271be7797600 Mon Sep 17 00:00:00 2001 From: Yogender Gupta Date: Tue, 18 Jul 2017 16:01:02 +0530 Subject: [PATCH] hwupload_cuda : Add 10/16 bit format support Signed-off-by: Philip Langdale --- libavfilter/version.h | 2 +- libavfilter/vf_hwupload_cuda.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/version.h b/libavfilter/version.h index 01dd1dbb72..04ea8b71f8 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -31,7 +31,7 @@ #define LIBAVFILTER_VERSION_MAJOR 6 #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, \ LIBAVFILTER_VERSION_MINOR, \ diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c index ef98233d12..063f0285c3 100644 --- a/libavfilter/vf_hwupload_cuda.c +++ b/libavfilter/vf_hwupload_cuda.c @@ -58,6 +58,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx) static const enum AVPixelFormat input_pix_fmts[] = { 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, }; static const enum AVPixelFormat output_pix_fmts[] = {