| Branch: | Revision:

ffmpeg / libavfilter / avfilter.h @ aad2f2f4

History | View | Annotate | Download (33 KB)

# Date Author Comment
139f3ac4 04/18/2011 06:19 PM Anton Khirnov

Bump major versions of all libraries.

They've accumulated enough new APIs and corresponding deprecated cruft.

This breaks API and ABI.

aadfc9ee 04/03/2011 06:47 AM Brandon Mintern

lavfi: add fade filter

Port fade filter from libavfilter soc repo, with minor fixes by

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

910b5b82 02/14/2011 01:07 PM Michael Niedermayer

Add sample_aspect_ratio to AVFilterLink

Signed-off-by: Mans Rullgard <>

9409c381 02/08/2011 12:20 PM Stefano Sabatini

libavfilter: add video movie source

See thread:
Subject: [PATCH] movie video source
Date: 2010-12-31 15:35:30 GMT

Signed-off-by: Janne Grunau <>

daed21a1 01/18/2011 08:48 PM Mans Rullgard

avfilter: remove stray semicolon

a242ac36 01/15/2011 05:31 PM Stefano Sabatini

Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.

More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.

Originally committed as revision 26374 to svn://

6baf4afa 01/15/2011 05:21 PM Stefano Sabatini

Make avfilter_unref_buffer() accept a NULL parameter.

Originally committed as revision 26373 to svn://

caeb0c30 01/12/2011 09:23 PM Stefano Sabatini

Make avfilter_graph_free() do nothing if graph is NULL.

Originally committed as revision 26323 to svn://

36dc00de 01/11/2011 11:53 PM Michael Niedermayer

Add w,h,format back into AVFilterBuffer, these are required for direct rendering.
These fields are needed to be able to know which area of memory is allocated and
which is off limits.
This reverts 24291 and parts of r24424.

Originally committed as revision 26314 to svn://

b5670209 12/28/2010 01:01 AM Stefano Sabatini

Add copy filter, useful for testing the avfilter_draw_slice() copy

Originally committed as revision 26112 to svn://

28e5d45c 12/27/2010 06:16 PM Stefano Sabatini

Bump lavfi minor and add an entry after r26108 (which added
AV_PERM_NEG_LINESIZES to avfilter.h).

Originally committed as revision 26111 to svn://

0ccabeea 12/27/2010 03:10 PM Michael Niedermayer

Support filters and decoders that dont support negative linesizes.
This patch is based on work by stefano.

Originally committed as revision 26108 to svn://

17fc9493 12/26/2010 11:27 AM Stefano Sabatini

Add erode libopencv filter.

Originally committed as revision 26097 to svn://

91cbb6ba 12/26/2010 11:27 AM Stefano Sabatini

Add dilate libopencv filter.

Originally committed as revision 26096 to svn://

cf69ad35 12/23/2010 05:24 PM Stefano Sabatini

Redesign the libopencv wrapper to make it more generic. Accept both

The same filter class will be used for managing all the libopencv
filtering functions.

Originally committed as revision 26079 to svn://

d5f187fd 12/12/2010 05:59 PM Nolan L

Add gradfun filter, ported from MPlayer.

Patch by Nolan L nol888 <=> gmail >=< com.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500

Originally committed as revision 25942 to svn://

c61cdd0a 12/09/2010 05:27 PM Stefano Sabatini

libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

Originally committed as revision 25923 to svn://

a4dc7aa5 12/04/2010 01:03 PM Baptiste Coudurier

Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

Originally committed as revision 25880 to svn://

4da12e3b 12/04/2010 12:56 PM Stefano Sabatini

Implement av_image_alloc() and use it in

Originally committed as revision 25878 to svn://

037be76e 12/02/2010 08:12 PM Stefano Sabatini

Add avfilter_graph_create_filter().

Originally committed as revision 25862 to svn://

f8608dca 11/30/2010 08:14 PM Stefano Sabatini

Implement frei0r source.

Originally committed as revision 25855 to svn://

3fa77bde 11/28/2010 10:22 AM Stefano Sabatini

In libavfilter, use consistently "Copyright (c)" in the license

Originally committed as revision 25838 to svn://

d38c340f 11/25/2010 08:50 PM Stefano Sabatini

Implement avfilter_get_video_buffer_ref_from_arrays().

Originally committed as revision 25827 to svn://

2fb21bf4 11/22/2010 10:03 PM Stefano Sabatini

Give more explicit/less confusing names to the filters dealing with
aspect ratio.

Originally committed as revision 25800 to svn://

63e8d976 11/21/2010 08:06 PM Stefano Sabatini

Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on

Originally committed as revision 25789 to svn://

58935b25 11/21/2010 06:39 PM Stefano Sabatini

Port overlay filter from the libavfilter repo (with many fixes),
adopting Baptiste variant which is simpler and faster.

Originally committed as revision 25784 to svn://

5aaea022 11/13/2010 09:51 AM Stefano Sabatini

Make avfiltergraph.h public.

Originally committed as revision 25740 to svn://

4fcbb2af 11/13/2010 12:21 AM Stefano Sabatini

Prefix with "ff_" the functions:

and move their declaration to internal.h. These functions are never
used in application code, so it is better to consider them internal...

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

Originally committed as revision 25730 to svn://

6ed3bace 11/10/2010 11:37 PM Aurelien Jacobs

drop support for base-10 encoded alpha component in av_parse_color()

Originally committed as revision 25719 to svn://

24de0edb 11/08/2010 12:32 PM Stefano Sabatini

Rename avfilter_destroy() as avfilter_free().

The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.

Originally committed as revision 25707 to svn://

1e80a0ea 11/07/2010 10:56 PM Stefano Sabatini

Remove graphparser.h header, move AVFilterInOut and
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.

Simplify, and less confusing for the user.

Originally committed as revision 25705 to svn://

da6ec07c 11/07/2010 06:56 PM Stefano Sabatini

Bump lavfi minor and add APIchanges entry after the rename of

Originally committed as revision 25701 to svn://

97dd1e4a 11/04/2010 08:34 PM Stefano Sabatini

Rename avfilter_graph_destroy() to avfilter_graph_free().

The new name is shorter and more consistent with the rest of the API.

This change breaks libavfilter API/ABI.

Originally committed as revision 25674 to svn://

e15aeea6 11/04/2010 08:34 PM Stefano Sabatini

Implement avfilter_graph_alloc().

Originally committed as revision 25673 to svn://

a532bb39 11/02/2010 10:29 PM Stefano Sabatini

Add setpts filter, ported from the libavfilter soc repo.

Originally committed as revision 25655 to svn://

43945b27 10/18/2010 09:29 PM Stefano Sabatini

Add transpose filter.

Originally committed as revision 25525 to svn://

2a24df93 10/16/2010 10:20 AM Stefano Sabatini

Add avfilter_graph_config().

Originally committed as revision 25502 to svn://

94498ec9 10/12/2010 06:40 PM Stefano Sabatini

Extend buffer source to accept the time base for the output PTS.

Originally committed as revision 25451 to svn://

68b79bfc 10/12/2010 09:22 AM Stefano Sabatini

Implement cropdetect filter.

Originally committed as revision 25447 to svn://

16134b7c 10/11/2010 11:27 PM Stefano Sabatini

Extend the nullsrc source, make it accept a parameter for specifying
the timebase. Useful for debugging timebase configuration issues.

Originally committed as revision 25446 to svn://

214c0d42 10/11/2010 02:00 PM Stefano Sabatini

Implement settb filter.

Originally committed as revision 25445 to svn://

867ae7aa 10/10/2010 10:26 PM Stefano Sabatini

Add a time_base field to AVFilterLink.

This is required for allowing a filter to use a time base different
from AV_TIME_BASE_Q, as it was previously assumed.

Originally committed as revision 25441 to svn://

33377121 10/01/2010 06:32 PM Stefano Sabatini

Fix reference to nonexistent function.

Originally committed as revision 25296 to svn://

e40032e2 09/28/2010 01:16 PM Stefano Sabatini

Add the drawbox filter from the soc libavfilter repo.
Pedagogically useful.

Originally committed as revision 25244 to svn://

c85eef4e 09/27/2010 10:09 PM Stefano Sabatini

Move av_set_options_string() from libavfilter to libavutil.

Originally committed as revision 25236 to svn://

486adc55 09/27/2010 09:57 PM Stefano Sabatini

Use more expressive names for the avfilter_insert_filter() in and out

Originally committed as revision 25235 to svn://

acc0490f 09/27/2010 04:58 PM Stefano Sabatini

Make AVFilterLink store the pointers to the source and destination
pads, rather than their index.

Originally committed as revision 25227 to svn://

372e2884 09/27/2010 04:23 PM Stefano Sabatini

Move av_get_token() from libavfilter to libavutil.

Originally committed as revision 25225 to svn://

13fabd7a 09/26/2010 09:36 PM Stefano Sabatini

Port MPlayer blackframe filter.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200

Originally committed as revision 25214 to svn://

5900deeb 09/25/2010 05:03 PM Stefano Sabatini

Bump lavfi minor and add Changelog notice after yadif addition.

Originally committed as revision 25198 to svn://

f0a55438 09/25/2010 01:57 AM S.N. Hemanth Meenakshisunda...

Add asink_anullsink - null audio sink.

Patch by "S.N. Hemanth Meenakshisundaram" /smeenaks/ucsd/edu.

Originally committed as revision 25189 to svn://

1ee410f3 09/25/2010 01:56 AM Stefano Sabatini

Add asrc_anullsrc - null audio source.

Based on a patch by "S.N. Hemanth Meenakshisundaram" smeenaks!ucsd!edu.

Originally committed as revision 25188 to svn://

75b67a8a 09/25/2010 01:18 AM Stefano Sabatini

Make the crop filters accept parametric expressions.

Originally committed as revision 25185 to svn://

2bc05d35 09/24/2010 11:14 PM Stefano Sabatini

Change the syntax of the crop filter from x:y:w:h to w:h:x:y.

Slightly more intuitive and required by a pending changes for making
the filter parametric.

Originally committed as revision 25184 to svn://

47941088 09/24/2010 12:32 AM Stefano Sabatini

Add frei0r filter.

See thread:
Subject: [FFmpeg-devel] [POC] frei0r wrapper
Date: Tue, 24 Aug 2010 21:37:32 +0200

Originally committed as revision 25165 to svn://

177477f5 09/23/2010 11:12 AM Michael Niedermayer

Correct terminology bug in poll_frame()
it returns the number of samples not frames (for video sample=frame)

Originally committed as revision 25162 to svn://

6ebf0bfc 09/14/2010 01:21 PM Stefano Sabatini

Implement libopencv smooth filter.

Originally committed as revision 25118 to svn://

34017fd9 09/07/2010 09:23 PM Stefano Sabatini

Move av_picture_data_copy() to libavcore, and rename it

Originally committed as revision 25067 to svn://

e16f217c 09/07/2010 07:15 PM Stefano Sabatini

Use new imgutils.h API names, fix deprecation warnings.

Originally committed as revision 25058 to svn://

eedca998 08/24/2010 03:12 PM Stefano Sabatini

Implement ff_get_ref_perms_string() and use it for tracing.

Originally committed as revision 24900 to svn://

7f1af825 08/24/2010 08:38 AM Stefano Sabatini

Add fifo filter.

Originally committed as revision 24896 to svn://

99046339 08/20/2010 11:16 PM S.N. Hemanth Meenakshisunda...

Add null audio filter.

Patch by S.N. Hemanth Meenakshisundaram -af smeenaks,ucsd,edu.

Originally committed as revision 24856 to svn://

e3443361 08/20/2010 04:52 PM Stefano Sabatini

Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().

The plural form is preferred as it is more consistent with the other functions:

and looks semantically more correct as it fills an array of elements....

3fa3e4f4 08/20/2010 02:19 PM Stefano Sabatini

Cosmetics: add an empty newline between the function description and
the list of @params.

Improve consistency and possibly enhance readability.

Originally committed as revision 24842 to svn://

ad2c9501 08/17/2010 06:08 PM S.N. Hemanth Meenakshisunda...

Implement libavfilter audio framework.

Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *.

Originally committed as revision 24811 to svn://

a1e171df 08/17/2010 02:59 PM Stefano Sabatini

Add hflip filter.

Originally committed as revision 24806 to svn://

f607cc18 08/12/2010 06:20 PM Stefano Sabatini

Cosmetics: put "{" on the same line of the "struct" keyword in struct

More consistent with the rest of FFmpeg.

Originally committed as revision 24789 to svn://

81c1ecab 08/12/2010 03:06 PM Stefano Sabatini

Deprecate ff_get_plane_bytewidth() in favor of

Originally committed as revision 24787 to svn://

a4fb0ada 08/11/2010 04:22 PM Stefano Sabatini

Apply misc cosmetics: add empty newlines for separating function
declarations and fix weird indent.

Originally committed as revision 24776 to svn://

c1db7bff 08/11/2010 03:25 PM S.N. Hemanth Meenakshisunda...

Resize data and linesize in AVFilterBufferRef to 8.

This is required to make AVFilterBufferRef able to contain also audio
data, required by audio filtering integration.

Patch by S.N. Hemanth Meenakshisundaram smeen??.

Originally committed as revision 24773 to svn://

84c03869 08/11/2010 11:44 AM Stefano Sabatini

Change avfilter_open() signature, from:
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);

This way it is possible to propagate an error code telling the reason...

cc80caff 08/11/2010 11:06 AM S.N. Hemanth Meenakshisunda...

Separate video specific BufferRef properties into VideoProps.

Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.

Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef....

5d4890d7 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename fields:

AVFilterLink.srcpic -> AVFilterLink.src_buf
AVFilterLink.cur_pic -> AVFilterLink.cur_buf
AVFilterLink.outpic -> AVFilterLink.out_buf

The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to...

7fce481a 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename functions and fields:

avfilter_(un)ref_pic -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic -> AVFilterBufferRef.buffer

They have been renamed to allow sharing with audio.

Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....

ecc8dada 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename AVFilterPicRef to AVFilterBufferRef.

The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.

Patch by S.N. Hemanth Meenakshisundaram smeenaks@ucsd@edu.

Originally committed as revision 24730 to svn://

d54e0948 08/07/2010 12:02 AM S.N. Hemanth Meenakshisunda...

Move format from AVFilterBuffer to AVFilterPicRef.

Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.

Originally committed as revision 24728 to svn://

6ce9b431 08/06/2010 09:37 AM Stefano Sabatini

Remove use of the deprecated function avcodec_check_dimensions(), use
av_check_image_size() instead.

Originally committed as revision 24711 to svn://

be665c7d 08/03/2010 09:02 AM Stefano Sabatini

Make avfilter_copy_picref_props() copy w and h from src to dst.

Originally committed as revision 24678 to svn://

56b5e9d5 07/30/2010 08:42 AM S.N. Hemanth Meenakshisunda...

Resize AVFilterBuffer to hold 8 planes/linesizes worth of data.

This is required for making AVFilterBuffer useful for storing audio

Patch by S.N. Hemanth Meenakshisundaram revert <ude.dscu@skaneems>.

Originally committed as revision 24592 to svn://

7be5b730 07/30/2010 12:29 AM Stefano Sabatini

Make avfilter_default_get_video_buffer() use functions in
libavcore/imgutils.c rather than ff_fill_linesize() and

Also remove a dependency on libavcodec.

Originally committed as revision 24586 to svn://

bdab614b 07/22/2010 11:12 AM S.N. Hemanth Meenakshisunda...

Generalize pixel format enum fields to int formats.

This is needed to make the libavfilter framework work with audio

In particular add a type field to AVFilterLink, change the field types:
enum PixelFormat format -> int format in AVFilterBuffer...

9f0e31d2 07/18/2010 10:37 PM Stefano Sabatini

Make avfilter.c dprintf* functions internal and declare them in an
internal.h header, so they can be easily used from other files.

Originally committed as revision 24319 to svn://

ff5f1be0 07/17/2010 06:55 PM S.N. Hemanth Meenakshisunda...

Move the AV_PERM_* flags definition outside the AVFilterPicRef

This way it is easier to reference them in other structures, for
example in the pending AVFilterSamplesRef struct.

Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu....

32d7bcd4 07/17/2010 06:27 PM Stefano Sabatini

Clarify AVFilterBuffer documentation, make it clear that it is not
necessarily video-related.

Originally committed as revision 24293 to svn://

b5c582fa 07/17/2010 06:13 PM S.N. Hemanth Meenakshisunda...

Remove AVFilterBuffer w and h fields.

These fields are never used, and they do not seem to belong to
AVFilterBuffer anymore, now that it is now a media-independent
structure and these fields are video-related.

Patch by S.N. Hemanth Meenakshisundaram smeenaks ! ucsd ! edu....

f0d77b20 07/17/2010 10:44 AM S.N. Hemanth Meenakshisunda...

Rename AVFilterPic to AVFilterBuffer.

The struct is going to be used for audio data as well, so the new name
is less misleading.

Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.

Originally committed as revision 24284 to svn://

23ccf3c7 07/17/2010 10:14 AM Stefano Sabatini

Add color source.

Originally committed as revision 24282 to svn://

ce2e4ae3 07/07/2010 06:24 PM Stefano Sabatini

Add pixdesctest filter and corresponding test.

Originally committed as revision 24092 to svn://

4d508e4d 07/07/2010 06:23 PM Stefano Sabatini

Implement avfilter_copy_picref_props().

Originally committed as revision 24091 to svn://

9a58234f 07/02/2010 10:49 AM Diego Biurrun

Fix misspelled parameter names in Doxygen documentation.
This fixes one Doxygen warning each.

Originally committed as revision 23970 to svn://

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://

6951515c 06/27/2010 10:48 PM Stefano Sabatini

Bump micro and add APIchanges entry after av_parse_color() extension.

Originally committed as revision 23838 to svn://

b6bc2051 05/09/2010 08:02 PM Stefano Sabatini

Bump lavfi minor after the addition of the fields interlaced and
top_field_first in AVFilterPicRef, done in r23044.

Originally committed as revision 23066 to svn://

efdc74ef 05/07/2010 10:02 AM Michael Niedermayer

Try to keep track of interlaced and top field first.

Originally committed as revision 23044 to svn://

ac1c9564 04/10/2010 08:34 PM Bobby Bingham

Bump libavfilter minor version and Changelog for unsharp filter

Originally committed as revision 22830 to svn://

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://

91d1c741 03/18/2010 11:12 PM Bobby Bingham

Create a set of null callback functions.
These are useful for filters which don't modify the image data.

Originally committed as revision 22594 to svn://