vf_fade: support YUVA422P & YUVA444P
authorPaul B Mahol <onemda@gmail.com>
Fri, 18 Jan 2013 10:41:09 +0000 (10:41 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 18 Jan 2013 14:35:30 +0000 (14:35 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_fade.c

index 5be0ec1..f395fd8 100644 (file)
@@ -151,7 +151,7 @@ static int query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_YUV411P,  AV_PIX_FMT_YUV410P,
         AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ420P,
         AV_PIX_FMT_YUV440P,  AV_PIX_FMT_YUVJ440P,
-        AV_PIX_FMT_YUVA420P,
+        AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P,
         AV_PIX_FMT_RGB24,    AV_PIX_FMT_BGR24,
         AV_PIX_FMT_ARGB,     AV_PIX_FMT_ABGR,
         AV_PIX_FMT_RGBA,     AV_PIX_FMT_BGRA,
@@ -170,7 +170,7 @@ const static enum AVPixelFormat studio_level_pix_fmts[] = {
 };
 
 static enum AVPixelFormat alpha_pix_fmts[] = {
-    AV_PIX_FMT_YUVA420P,
+    AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P,
     AV_PIX_FMT_ARGB, AV_PIX_FMT_ABGR,
     AV_PIX_FMT_RGBA, AV_PIX_FMT_BGRA,
     AV_PIX_FMT_NONE