[FFmpeg-devel] [PATCH] lavfi/lut: add support for YUVA422P and YUVA444P

Stefano Sabatini stefasab at gmail.com
Wed May 8 00:52:37 CEST 2013


On date Tuesday 2013-05-07 15:11:13 +0000, Paul B Mahol encoded:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_lut.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
> index c69efed..d09c720 100644
> --- a/libavfilter/vf_lut.c
> +++ b/libavfilter/vf_lut.c
> @@ -110,7 +110,7 @@ static av_cold void uninit(AVFilterContext *ctx)
>  #define YUV_FORMATS                                         \
>      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_YUVA420P,                                       \
> +    AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P,   \
>      AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ420P,   \
>      AV_PIX_FMT_YUVJ440P

LGTM, but please make sure that it is tested so we avoid other alpha
failures. Added Karma for a lut test with all the supported formats.
-- 
FFmpeg = Free and Fiendish Mysterious Porno Evil Game


More information about the ffmpeg-devel mailing list