Stefano Sabatini
037be76e15
Add avfilter_graph_create_filter().
...
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
3fa77bde1b
In libavfilter, use consistently "Copyright (c)" in the license
...
headers.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4fcbb2af33
Prefix with "ff_" the functions:
...
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
14 years ago
Stefano Sabatini
24de0edbd5
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://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
97dd1e4a87
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://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e15aeea656
Implement avfilter_graph_alloc().
...
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
2a24df9357
Add avfilter_graph_config().
...
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
84c0386960
Change avfilter_open() signature, from:
...
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
15 years ago
S.N. Hemanth Meenakshisundaram
bdab614be8
Generalize pixel format enum fields to int formats.
...
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
15 years ago
Stefano Sabatini
3748b2b8e8
Fix leak in avfilter_graph_add_filter().
...
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
15 years ago
Stefano Sabatini
22b7b23c17
Make avfilter_graph_add_filter() returns AVERROR(ENOMEM) in case of
...
failed reallocation, rather than just -1.
Originally committed as revision 22878 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f37c934d20
Make query_formats() print an error message if an auto-inserted scale
...
filter cannot convert between input and output formats.
Originally committed as revision 21176 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9ea977210c
Make query_formats() increment the scaler_count after each scaler
...
insertion.
Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3fb8e77a8d
Add a log context to avfilter_graph_config_links().
...
Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
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
822005ed45
Implement avfilter_graph_check_validity().
...
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
4e4a3e2314
Handle av_realloc() failure
...
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
17 years ago
Vitor Sessak
51bf654d79
Use sizeof(var) instead of sizeof(type)
...
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
17 years ago
Vitor Sessak
a6f88fbc8f
Give a more meaningful instance name to auto-inserted scaler
...
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
17 years ago
Vitor Sessak
779cc07aa2
Merge two ifs
...
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
17 years ago
Vitor Sessak
e1a43a4146
Remove unused check
...
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
17 years ago
Vitor Sessak
a10477173a
Cosmetical: alignment
...
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
17 years ago
Vitor Sessak
2ad720679c
Remove some unwanted todos
...
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
17 years ago
Vitor Sessak
d2027baac5
I should not have merged the graph parser with the graph
...
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
17 years ago
Vitor Sessak
966b8f2dcb
Replace consume_char() function by *(*buf)++
...
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
17 years ago
Vitor Sessak
4f409baa06
Add backslash '\' support to the parser
...
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
17 years ago
Vitor Sessak
398f12970f
Remove AVFilterGraphDesc struct.
...
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
17 years ago
Vitor Sessak
c4913b812d
Rename uninit() to avfilter_destroy_graph() and make it non-static
...
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
17 years ago
Vitor Sessak
d66e946b12
Rename functions now static
...
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
17 years ago
Vitor Sessak
de0e3e81d3
Move funtion to avoid forward declaration
...
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
17 years ago
Vitor Sessak
0c3177737b
Move mess (to be removed) to where it is actually used.
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:56:05
Originally committed as revision 12739 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
87506daafd
Remove usage of AVFilterGraphDesc outside avfiltergraph.c
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:51:24
Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
58f472d10f
Simplify graph_load_from_desc3()
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:37:43
Originally committed as revision 12737 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9f39bb37e4
Rename variable GraphContext -> AVFilterGraph
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:31:53
Originally committed as revision 12736 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5c2ff9fd46
Merge avfiltergraphdesc.c in avfiltergraph.c
...
Commited in SoC by Vitor Sessak on 2008-03-24 20:46:50
Originally committed as revision 12735 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
f2ee8083c8
Remove avfilter_vf_graph
...
Commited in SoC by Vitor Sessak on 2008-03-24 20:13:01
Originally committed as revision 12734 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4160400d04
Remove code made unused by the two last patches
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:29:15
Originally committed as revision 12732 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
45a09319b2
Split graph_load_from_dest() to have a version independent of avfilter_vf_graph
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:19:38
Originally committed as revision 12731 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
789210fa22
Almost from scratch rewrite of filter parser.
...
Functional as is, but still work-in-progress in the
sense that some things need to be fixed before sending
it as a patch to SVN.
Commited in SoC by Vitor Sessak on 2008-03-20 21:48:30
Originally committed as revision 12729 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3ec394ea82
Remove ugly forward declaration
...
Commited in SoC by Vitor Sessak on 2008-02-24 11:41:22
Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
de065016f0
Fix doxy comment
...
Commited in SoC by Vitor Sessak on 2008-02-24 11:30:41
Originally committed as revision 12727 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
177ff26052
Spelling and puctuation
...
Commited in SoC by Vitor Sessak on 2008-02-16 17:52:49
Originally committed as revision 12726 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4dae572fff
Remove header now made useless
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51
Originally committed as revision 12723 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9958f07a81
Remove author field
...
Suggested by Baptiste Coudurier
Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27
Originally committed as revision 12722 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
2b05243960
Use CodecType for pad type
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12721 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d42927893b
Header inclusion redux
...
Commited in SoC by Vitor Sessak on 2008-02-10 08:46:50
Originally committed as revision 12720 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
ec8398a322
Nits: more punctuation and capitalization
...
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29
Originally committed as revision 12719 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
affadb5b99
Implement poll_frame() method. Fix ffmpeg.c bug with
...
vf_fps filter.
Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36
Originally committed as revision 12718 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago