History | View | Annotate | Download (7.65 KB)
Make avfilter_graph_free() free the graph.
Make avfilter_graph_free() free not only the internal structures, butalso the allocated graph, and set the graph pointer to NULL forincreased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Make avfilter_graph_free() do nothing if graph is NULL.
Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix style nits in avfiltergraph.c.
Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_create_filter().
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
In libavfilter, use consistently "Copyright (c)" in the licenseheaders.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 neverused in application code, so it is better to consider them internal...
Rename avfilter_destroy() as avfilter_free().
The new name is shorter and more consistent with the FFmpeg API, andsounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
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...
Generalize pixel format enum fields to int formats.
This is needed to make the libavfilter framework work with audiofilters.
In particular add a type field to AVFilterLink, change the field types:enum PixelFormat format -> int format in AVFilterBuffer...
Fix leak in avfilter_graph_add_filter().
In case of reallocation failure the pointer to the original filterarray was lost. The correct behavior seems to just keep the old arrayand count.
Originally committed as revision 22905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_graph_add_filter() returns AVERROR in case offailed reallocation, rather than just -1.
Originally committed as revision 22878 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make query_formats() print an error message if an auto-inserted scalefilter cannot convert between input and output formats.
Originally committed as revision 21176 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make query_formats() increment the scaler_count after each scalerinsertion.
Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a log context to avfilter_graph_config_links().
Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avfilter_graph_config_links().
Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for betterconsistency with the rest of the API.
Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement in AVFilterGraph the scale_sws_opts field, and pass itsvalue in the args for the auto-inserted scale filters.
Originally committed as revision 17547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avfilter_graph_check_validity().
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Handle av_realloc() failureCommited in SoC by Vitor Sessak on 2008-04-04 15:35:38
Originally committed as revision 12754 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Give a more meaningful instance name to auto-inserted scalerCommited in SoC by Vitor Sessak on 2008-04-03 16:51:39
Originally committed as revision 12752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge two ifsCommited in SoC by Vitor Sessak on 2008-04-03 16:44:27
Originally committed as revision 12751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused checkCommited in SoC by Vitor Sessak on 2008-04-03 16:38:51
Originally committed as revision 12750 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetical: alignmentCommited in SoC by Vitor Sessak on 2008-04-03 16:36:13
Originally committed as revision 12749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove some unwanted todosCommited in SoC by Vitor Sessak on 2008-04-03 16:32:37
Originally committed as revision 12748 to svn://svn.ffmpeg.org/ffmpeg/trunk
I should not have merged the graph parser with the graphframework. 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
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
Add backslash '\' support to the parserCommited in SoC by Vitor Sessak on 2008-03-29 16:26:47
Originally committed as revision 12744 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove AVFilterGraphDesc struct.Now the parser link the filters from the graph directlywith 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
Rename uninit() to avfilter_destroy_graph() and make it non-staticCommited in SoC by Vitor Sessak on 2008-03-27 19:34:24
Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename functions now staticCommited in SoC by Vitor Sessak on 2008-03-26 21:06:01
Originally committed as revision 12741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move funtion to avoid forward declarationCommited in SoC by Vitor Sessak on 2008-03-26 20:57:17
Originally committed as revision 12740 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Remove usage of AVFilterGraphDesc outside avfiltergraph.cCommited in SoC by Vitor Sessak on 2008-03-26 20:51:24
Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
Merge avfiltergraphdesc.c in avfiltergraph.cCommited in SoC by Vitor Sessak on 2008-03-24 20:46:50
Originally committed as revision 12735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove avfilter_vf_graphCommited in SoC by Vitor Sessak on 2008-03-24 20:13:01
Originally committed as revision 12734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove code made unused by the two last patchesCommited in SoC by Vitor Sessak on 2008-03-24 19:29:15
Originally committed as revision 12732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split graph_load_from_dest() to have a version independent of avfilter_vf_graphCommited in SoC by Vitor Sessak on 2008-03-24 19:19:38
Originally committed as revision 12731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Almost from scratch rewrite of filter parser.
Functional as is, but still work-in-progress in thesense that some things need to be fixed before sendingit 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
Remove ugly forward declarationCommited in SoC by Vitor Sessak on 2008-02-24 11:41:22
Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix doxy commentCommited in SoC by Vitor Sessak on 2008-02-24 11:30:41
Originally committed as revision 12727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Spelling and puctuationCommited in SoC by Vitor Sessak on 2008-02-16 17:52:49
Originally committed as revision 12726 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove header now made uselessCommited in SoC by Vitor Sessak on 2008-02-12 20:59:51
Originally committed as revision 12723 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Use CodecType for pad typeCommited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12721 to svn://svn.ffmpeg.org/ffmpeg/trunk
Header inclusion reduxCommited in SoC by Vitor Sessak on 2008-02-10 08:46:50
Originally committed as revision 12720 to svn://svn.ffmpeg.org/ffmpeg/trunk
Nits: more punctuation and capitalizationCommited in SoC by Vitor Sessak on 2008-02-09 20:02:29
Originally committed as revision 12719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement poll_frame() method. Fix ffmpeg.c bug withvf_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
Rework link property configuration system.This can now handle filters which are added to graphs out of order,including auto-inserted scale filters. As an added bonus, it cannow detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10...
Use separate fake filters for exporting inputs and outputs from filter graphs.This makes the code a little less confusing, and is needed for the patch toimprove the link configuration process, to be committed next.
Commited in SoC by Bobby Bingham on 2007-12-24 02:53:56...
Use a filter graph description for creating simple chain graphs so wecan reuse the same graph creation code.
Commited in SoC by Bobby Bingham on 2007-12-22 19:13:04
Originally committed as revision 12715 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use av_log(ctx, ...) instead of av_log(NULL, ...)Commited in SoC by Vitor Sessak on 2007-12-21 11:10:29
Originally committed as revision 12713 to svn://svn.ffmpeg.org/ffmpeg/trunk
10l
Commited in SoC by Bobby Bingham on 2007-12-20 20:21:19
Originally committed as revision 12712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix a small memory leak
Commited in SoC by Bobby Bingham on 2007-12-20 19:30:34
Originally committed as revision 12710 to svn://svn.ffmpeg.org/ffmpeg/trunk
initialize filter graphs completely even if there is no list of filtersgiven to initially load.
Commited in SoC by Bobby Bingham on 2007-12-20 16:50:45
Originally committed as revision 12709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Handle failure properlyCommited in SoC by Vitor Sessak on 2007-11-29 19:35:17
Originally committed as revision 12708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless empty functionsCommited in SoC by Vitor Sessak on 2007-11-04 17:20:17
Originally committed as revision 12707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Silence warning caused by my last commitCommited in SoC by Vitor Sessak on 2007-10-30 21:15:19
Originally committed as revision 12706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Minor simplificationCommited in SoC by Vitor Sessak on 2007-10-30 21:11:34
Originally committed as revision 12705 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prefix names of filter structs
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30
Originally committed as revision 12704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename avfilter_create to avfilter_open and remove the wrapper functionavfilter_create_by_name.
Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55
Originally committed as revision 12703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxygenize some comments
Commited in SoC by Bobby Bingham on 2007-08-17 22:59:59
Originally committed as revision 12702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove the data parameter from draw_slice(). It's unneeded and often morework than it's worth.
Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11
Originally committed as revision 12701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow creation of filter graphs from a graph description structure whichcan be created programmatically or loaded from a file.
Commited in SoC by Bobby Bingham on 2007-08-14 22:27:05
Originally committed as revision 12700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12699 to svn://svn.ffmpeg.org/ffmpeg/trunk
Need to copy over colorspace property too
Commited in SoC by Bobby Bingham on 2007-08-08 05:39:40
Originally committed as revision 12698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix behavior when exporting output pad with default query_formats()
Commited in SoC by Bobby Bingham on 2007-08-08 04:25:08
Originally committed as revision 12697 to svn://svn.ffmpeg.org/ffmpeg/trunk
Let the filter graph export input and output pads from the filters it contains.
Commited in SoC by Bobby Bingham on 2007-08-07 22:33:46
Originally committed as revision 12696 to svn://svn.ffmpeg.org/ffmpeg/trunk
Separate the process of creating links between filters from that of configuringthe links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12695 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix memory leak.
Commited in SoC by Bobby Bingham on 2007-07-31 20:11:25
Originally committed as revision 12694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the filter graph just another normal filter.
Commited in SoC by Bobby Bingham on 2007-07-31 20:08:38
Originally committed as revision 12693 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow code to pass data to filters it creates.
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50
Originally committed as revision 12692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Don't mangle the input strings. The caller may want to reuse it later.
Commited in SoC by Bobby Bingham on 2007-07-15 16:13:17
Originally committed as revision 12691 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ensure that the filter_count member is reset to zero when emptying the graph
Commited in SoC by Bobby Bingham on 2007-07-14 23:19:22
Originally committed as revision 12690 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix possible segfault
Commited in SoC by Bobby Bingham on 2007-07-14 23:16:15
Originally committed as revision 12689 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move simple filter chain loading code over to the filter graph.
Commited in SoC by Bobby Bingham on 2007-07-14 22:26:37
Originally committed as revision 12688 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move destruction of the graph's filters to its own helper function.
Commited in SoC by Bobby Bingham on 2007-07-14 21:41:34
Originally committed as revision 12687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split filter graphs out into their own source & header files.
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21
Originally committed as revision 12686 to svn://svn.ffmpeg.org/ffmpeg/trunk