avfilter/vf_deband: add more gray formats
authorPaul B Mahol <onemda@gmail.com>
Wed, 23 Oct 2019 07:53:23 +0000 (09:53 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 23 Oct 2019 07:54:36 +0000 (09:54 +0200)
libavfilter/vf_deband.c

index 713e80b..330792f 100644 (file)
@@ -74,7 +74,8 @@ static int query_formats(AVFilterContext *ctx)
     DebandContext *s = ctx->priv;
 
     static const enum AVPixelFormat pix_fmts[] = {
-        AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16,
+        AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY9, AV_PIX_FMT_GRAY10,
+        AV_PIX_FMT_GRAY12, AV_PIX_FMT_GRAY14, AV_PIX_FMT_GRAY16,
         AV_PIX_FMT_YUV444P,  AV_PIX_FMT_YUV422P,  AV_PIX_FMT_YUV420P,
         AV_PIX_FMT_YUV411P,  AV_PIX_FMT_YUV410P,  AV_PIX_FMT_YUV440P,
         AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ420P,