[FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter
arwa arif
arwaarif1994 at gmail.com
Sat Dec 27 13:37:53 CET 2014
>
>
> > ...]
> > > +static int query_formats(AVFilterContext *ctx)
> > > +{
> > > + static const enum PixelFormat pix_fmts[] = {
> > > + 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, AV_PIX_FMT_YUVJ440P,
> > > + AV_PIX_FMT_NONE
> > > + };
> > > + ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));
> > > + return 0;
> > > +}
> >
> > Check that these are supported. Also the original is supporting some
> > more formats (for example GRAY8 == Y8).
> >
> > How do I check it?
>
> make libavfilter/filtfmts-test
> libavfilter/filtfmts-test mp pp7
>
I am getting this as output:
INPUT[0] default: fmt:yuv444p
INPUT[0] default: fmt:yuv422p
INPUT[0] default: fmt:yuv420p
INPUT[0] default: fmt:yuv411p
INPUT[0] default: fmt:yuv410p
INPUT[0] default: fmt:yuv440p
INPUT[0] default: fmt:yuvj444p
INPUT[0] default: fmt:yuvj422p
INPUT[0] default: fmt:yuvj420p
INPUT[0] default: fmt:yuvj440p
OUTPUT[0] default: fmt:yuv444p
OUTPUT[0] default: fmt:yuv422p
OUTPUT[0] default: fmt:yuv420p
OUTPUT[0] default: fmt:yuv411p
OUTPUT[0] default: fmt:yuv410p
OUTPUT[0] default: fmt:yuv440p
OUTPUT[0] default: fmt:yuvj444p
OUTPUT[0] default: fmt:yuvj422p
OUTPUT[0] default: fmt:yuvj420p
OUTPUT[0] default: fmt:yuvj440p
[...]
> --
> FFmpeg = Friendly Fundamentalist Multimedia Power Educated Guru
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-port-mp-pp7-to-avfilter.patch
Type: text/x-patch
Size: 24399 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141227/d14936ef/attachment.bin>
More information about the ffmpeg-devel
mailing list