[FFmpeg-soc] [soc]: r948 - in libavfilter: Makefile allfilters.h avfilter.c vf_buffer.c

Michael Niedermayer michaelni at gmx.at
Sat Aug 18 15:16:15 CEST 2007


Hi

On Sat, Aug 18, 2007 at 05:17:53AM +0200, koorogi wrote:
> Author: koorogi
> Date: Sat Aug 18 05:17:52 2007
> New Revision: 948
> 
> Log:
> Add a filter to act as a buffer between filters which may output multiple
> frames for a single call to request_filter(), and a following filter which
> assumes it will only receive one frame per call.
> 
> 
> Added:
>    libavfilter/vf_buffer.c

please call it fifo


> Modified:
>    libavfilter/Makefile
>    libavfilter/allfilters.h
>    libavfilter/avfilter.c
> 
> Modified: libavfilter/Makefile
> ==============================================================================
> --- libavfilter/Makefile	(original)
> +++ libavfilter/Makefile	Sat Aug 18 05:17:52 2007
> @@ -10,6 +10,7 @@ OBJS = avfilter.o \
>  # TODO: real conditional compilation
>  OBJS-yes = vsrc_dummy.o \
>             vsrc_ppm.o \
> +		   vf_buffer.o \

tabs ...


[...]
> +static int *query_formats(AVFilterLink *link)
> +{
> +    return avfilter_make_format_list(31,
> +                PIX_FMT_YUV444P,  PIX_FMT_YUV422P,  PIX_FMT_YUV420P,
> +                PIX_FMT_YUV411P,  PIX_FMT_YUV410P,
> +                PIX_FMT_YUYV422,  PIX_FMT_UYVY422,  PIX_FMT_UYYVYY411,
> +                PIX_FMT_YUVJ444P, PIX_FMT_YUVJ422P, PIX_FMT_YUVJ420P,
> +                PIX_FMT_YUV440P,  PIX_FMT_YUVJ440P,
> +                PIX_FMT_RGB32,    PIX_FMT_BGR32,
> +                PIX_FMT_RGB32_1,  PIX_FMT_BGR32_1,
> +                PIX_FMT_RGB24,    PIX_FMT_BGR24,
> +                PIX_FMT_RGB565,   PIX_FMT_BGR565,
> +                PIX_FMT_RGB555,   PIX_FMT_BGR555,
> +                PIX_FMT_RGB8,     PIX_FMT_BGR8,
> +                PIX_FMT_RGB4_BYTE,PIX_FMT_BGR4_BYTE,
> +                PIX_FMT_GRAY16BE, PIX_FMT_GRAY16LE,
> +                PIX_FMT_GRAY8,    PIX_FMT_PAL8);

maybe a avfilter_all_formats() could come on handy ...


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20070818/0c5905bf/attachment.pgp>


More information about the FFmpeg-soc mailing list