avfilter/hwupload_cuda: add YUVA420P format support

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
nyanmisaka 2021-02-03 01:09:52 +08:00 committed by Timo Rothenpieler
parent f53e54b3a5
commit 0c5098d1a2
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx)
int ret;
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_YUVA420P, AV_PIX_FMT_YUV444P,
AV_PIX_FMT_P010, AV_PIX_FMT_P016, AV_PIX_FMT_YUV444P16,
AV_PIX_FMT_0RGB32, AV_PIX_FMT_0BGR32,
#if CONFIG_VULKAN