| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
This is more consistent with naming in the rest of Libav.
|
|
|
|
|
| |
It is only useful inside filters and we don't allow user filters for
now.
|
|
|
|
| |
They are not used outside of avfiltergraph.c
|
|
|
|
|
| |
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current code, with a filterchain such as
(input - yuv411) -> (scale - any) -> (sink - any)
will result in yuv420 being chosen for the second link, which is clearly
not right.
This commit attempts to improve in the following way:
repeat until convergence:
loop over all filters
find input link with exactly one format
force this format on all output links of the same type (if possible)
|
|
|
|
| |
It will be used for logging, possibly also AVOptions.
|
|
|
|
|
|
| |
Require "void *" rather than "AVClass *" for the log context type.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
|
|
|
| |
Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
| |
Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
headers.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
|
|
|
|
| |
ff_avfilter_graph_check_validity()
ff_avfilter_graph_config_links()
ff_avfilter_graph_config_formats()
and move their declaration to internal.h. These functions are never
used in application code, so it is better to consider them internal
functions, this can be changed later if necessary. Simplify API.
Originally committed as revision 25737 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
| |
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
| |
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://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
|
|
|
| |
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
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
of the failure.
Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed to make the libavfilter framework work with audio
filters.
In particular add a type field to AVFilterLink, change the field types:
enum PixelFormat format -> int format in AVFilterBuffer
enum PixelFormat *formats -> int *formats in AVFilterFormats
enum PixelFormat *format -> int format in AVFilterLink
and change the function signatures:
AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); ->
AVFilterFormats *avfilter_make_format_list(const int *fmts);
int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); ->
int avfilter_add_format(AVFilterFormats **avff, int fmt);
AVFilterFormats *avfilter_all_colorspaces(void); ->
AVFilterFormats *avfilter_all_formats(enum AVMediaType type);
This change breaks libavfilter API/ABI.
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
| |
In case of reallocation failure the pointer to the original filter
array was lost. The correct behavior seems to just keep the old array
and count.
Originally committed as revision 22905 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
failed reallocation, rather than just -1.
Originally committed as revision 22878 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
filter cannot convert between input and output formats.
Originally committed as revision 21176 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
insertion.
Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
consistency with the rest of the API.
Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
value in the args for the auto-inserted scale filters.
Originally committed as revision 17547 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
| |
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38
Originally committed as revision 12754 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 19:53:18
Originally committed as revision 12753 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 16:51:39
Originally committed as revision 12752 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 16:44:27
Originally committed as revision 12751 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 16:38:51
Originally committed as revision 12750 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 16:36:13
Originally committed as revision 12749 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-04-03 16:32:37
Originally committed as revision 12748 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
| |
framework. Split it.
Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07
Originally committed as revision 12746 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-03-30 15:46:38
Originally committed as revision 12745 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-03-29 16:26:47
Originally committed as revision 12744 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
|
|
|
| |
Now the parser link the filters from the graph directly
with avfilter_link().
Commited in SoC by Vitor Sessak on 2008-03-29 15:12:47
Originally committed as revision 12743 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-03-27 19:34:24
Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-03-26 21:06:01
Originally committed as revision 12741 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
Commited in SoC by Vitor Sessak on 2008-03-26 20:57:17
Originally committed as revision 12740 to svn://svn.ffmpeg.org/ffmpeg/trunk
|