Stefano Sabatini
2be414c8de
Fix doxies, use third person and phrase-ending dots.
...
Originally committed as revision 20391 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fcbed3c735
Add format and noformat filters.
...
Originally committed as revision 20390 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3555d2e88e
Introduce first_avfilter and use that, together with AVFilter.next,
...
for registering and finding filters, rather than use the struct
AVFilterList, which is removed.
Simplify the filter registration management code.
Originally committed as revision 20387 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
243110f968
Add a field 'next' to AVFilter.
...
Simplify the registration and iteration of all the registered filters,
consistent with what is done with formats / codecs.
Originally committed as revision 20385 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b70bc02279
Add descriptions for the committed filters.
...
Originally committed as revision 20375 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8fdb01c10e
Make dprintf_link() show the name of the link pixel format.
...
Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
cccd292ae2
Move the description field of the filter from AVFilterContext to
...
AVFilter, where it should have had defined the first time.
+10L.
Originally committed as revision 20356 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1551745c88
Add a description field to AVFilterContext.
...
Originally committed as revision 20354 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
c38ae71f54
Add video vertical flip filter.
...
Originally committed as revision 20352 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
067180220d
Make the pix_fmts var in query_formats() static const.
...
Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
190c166960
Add video crop filter.
...
Originally committed as revision 20342 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9abba21ad3
Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of the
...
argument of avfilter_make_format_list(), as the argument represents a
list of elements.
Originally committed as revision 20341 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1554fed2d6
Make avfilter_make_format_list() take in input a const argument.
...
Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
c0da46c8e0
Break over-80-chars-long line.
...
Originally committed as revision 20320 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6b5dc050a2
Rename avfilter_make_format_list2() to avfilter_make_format_list().
...
Originally committed as revision 20302 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e768cb7668
Remove avfilter_make_format_list(), it has been replaced by
...
avfilter_make_format_list2().
Originally committed as revision 20301 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f6a1fa850a
Implement avfilter_make_format_list2(), which is going to replace
...
avfilter_make_format_list().
See the thread:
"[PATCH] Implement avfilter_make_format_list2(enum PixelFormat pix_fmt, ...)".
Originally committed as revision 20299 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f28b385d47
Make clear in the doxy that this is a *video* filter.
...
Originally committed as revision 20298 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
9dd08b4e1e
Fix recursive avfilter_poll_frame(). It was doing
...
min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]))
which, since FFMIN is a macro, was calling itself
twice for every input, causing an exponential cost in time.
Originally committed as revision 20295 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7b018b1d7d
Add the null video filter.
...
Originally committed as revision 20275 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
930aa45132
Use 'enum PixelFormat *' rather than 'int *' as type for the
...
AVFilterFormats.formats field.
Cleaner / safer.
Originally committed as revision 20274 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0eb4ff9e37
Make avfilter_get_video_buffer() recursive.
...
When called on a link with a filter whose destination pad has not a
get_video_buffer callback defined, it will call
avfilter_get_video_buffer() on the first output link of the
destination filer, rather than use avfilter_default_get_buffer(), so
the video buffer can be allocated forward in the filterchain.
Also add the w and h parameters to avfilter_get_video_buffer(), as the
minimum width and height requested by each filter in the filterchain
may change, this allows for example a memcpy-less pad filter.
This change breaks API / ABI backward compatibility.
See the thread:
"[PATCH] Implement recusive avfilter_get_video_buffer()".
Originally committed as revision 20272 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
46c40e4835
Add w and h fields to AVFilterPic.
...
See the thread:
"[FFmpeg-devel] [PATCH] Add w,h fields to AVFilterPic".
Originally committed as revision 20189 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
96da1c51f6
Implement trace messages logging in the filterchain processing.
...
It is only enabled when the DEBUG symbol is defined.
Originally committed as revision 20187 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0802356cfc
Remove the const qualifier for the name field of AVFilterInOut, since
...
it is meant to be freed.
Fix warnings.
Originally committed as revision 19072 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
4ec42240ca
Implement avfilter_graph_config_links().
...
Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
62c58bcc65
Fix grammar for avfilter_graph_parse() doxy.
...
Originally committed as revision 18900 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
cec8e5f76a
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
...
color.
Originally committed as revision 18868 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c1ec75b576
Implement av_set_options_string().
...
Originally committed as revision 18832 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
3d3bd64db8
Add support in av_parse_color() to a "random" color name, which will
...
result in a randomly choosen random color, as it is with the
"bikeshed" color.
Originally committed as revision 18828 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b69b622c22
Make case insensitive the match for the color name in
...
av_parse_color().
Originally committed as revision 18827 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
38efe76877
Use a single space after an ending period and the beginning of the
...
next sentence, consistent with the FFmpeg documentation style.
Originally committed as revision 18824 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c5c6f62668
Apply documentation fixes: use third person, fix grammar and remove
...
inconsistent '\p'.
Originally committed as revision 18823 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
b755a754d1
"[" is a terminating char for the filter name. This fixes the parsing of
...
things like
[in] vflip [out];
Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
4fa61d1e98
Accept "bikeshed" as a random color.
...
Originally committed as revision 18758 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a3015225c7
Implement av_parse_color().
...
Originally committed as revision 18748 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2e032b32df
Prefer (void) over () in function prototype.
...
Originally committed as revision 18727 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
dd04911c4e
Make graphparser.c use av_get_token().
...
This also avoids the need for '\=' escaping.
Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d11dbf092c
av_get_token()
...
based on a patch by Stefano Sabatini
Originally committed as revision 18725 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fd548e5bd6
Remove consume_whitespace() and replace it with direct calls to
...
strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Cédric Schieli
fe479c9d63
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
...
This avoids a division by zero in '[in]fifo,scale[out]'
Originally committed as revision 18507 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Víctor Paesa
b6fec3eb7f
Make static the list of registered filters.
...
Originally committed as revision 18198 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
86a47378d5
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
...
consistency with the rest of the API.
Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d7dbe55823
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
...
consistency with the rest of the API.
Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
39c07b8e44
Implement in AVFilterGraph the scale_sws_opts field, and pass its
...
value in the args for the auto-inserted scale filters.
Originally committed as revision 17547 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fd51ff1643
Fix avfilter_parse_graph() invalid graph description detection.
...
See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".
Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
822005ed45
Implement avfilter_graph_check_validity().
...
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
784712343c
Print a warning and fail if the graph description cannot be
...
parsed.
Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago