[FFmpeg-cvslog] avfilter/hwupload_cuda: add YUVA420P format support

nyanmisaka git at videolan.org
Thu Mar 25 05:35:56 EET 2021


ffmpeg | branch: master | nyanmisaka <nst799610810 at gmail.com> | Wed Feb  3 01:09:52 2021 +0800| [0c5098d1a254cacec87ce2ce8c9a3173ec35dc09] | committer: Timo Rothenpieler

avfilter/hwupload_cuda: add YUVA420P format support

Signed-off-by: nyanmisaka <nst799610810 at gmail.com>
Signed-off-by: Timo Rothenpieler <timo at rothenpieler.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0c5098d1a254cacec87ce2ce8c9a3173ec35dc09
---

 libavfilter/vf_hwupload_cuda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c
index 33906f2515..afc1b265ed 100644
--- a/libavfilter/vf_hwupload_cuda.c
+++ b/libavfilter/vf_hwupload_cuda.c
@@ -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



More information about the ffmpeg-cvslog mailing list