summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
Commit message (Collapse)AuthorAge
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-04
| | | | | | | | | | 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>
* Make avfilter_graph_free() do nothing if graph is NULL.Stefano Sabatini2011-01-12
| | | | Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix style nits in avfiltergraph.c.Stefano Sabatini2010-12-28
| | | | Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add avfilter_graph_create_filter().Stefano Sabatini2010-12-02
| | | | Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefix with "ff_" the functions:Stefano Sabatini2010-11-13
| | | | | | | | | | | | 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
* Rename avfilter_destroy() as avfilter_free().Stefano Sabatini2010-11-08
| | | | | | | 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
* Rename avfilter_graph_destroy() to avfilter_graph_free().Stefano Sabatini2010-11-04
| | | | | | | | 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().Stefano Sabatini2010-11-04
| | | | Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add avfilter_graph_config().Stefano Sabatini2010-10-16
| | | | Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_open() signature, from:Stefano Sabatini2010-08-11
| | | | | | | | | | | 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
* Generalize pixel format enum fields to int formats.S.N. Hemanth Meenakshisundaram2010-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix leak in avfilter_graph_add_filter().Stefano Sabatini2010-04-18
| | | | | | | | 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
* Make avfilter_graph_add_filter() returns AVERROR(ENOMEM) in case ofStefano Sabatini2010-04-13
| | | | | | failed 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 scaleStefano Sabatini2010-01-13
| | | | | | filter 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 scalerStefano Sabatini2010-01-10
| | | | | | insertion. Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a log context to avfilter_graph_config_links().Stefano Sabatini2010-01-10
| | | | Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_graph_config_links().Stefano Sabatini2009-05-31
| | | | Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for betterStefano Sabatini2009-02-26
| | | | | | consistency 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 itsStefano Sabatini2009-02-23
| | | | | | value 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().Stefano Sabatini2009-01-26
| | | | Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle av_realloc() failureVitor Sessak2008-04-04
| | | | | | 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
* Use sizeof(var) instead of sizeof(type)Vitor Sessak2008-04-04
| | | | | | 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 scalerVitor Sessak2008-04-04
| | | | | | 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
* Merge two ifsVitor Sessak2008-04-04
| | | | | | 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
* Remove unused checkVitor Sessak2008-04-04
| | | | | | 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
* Cosmetical: alignmentVitor Sessak2008-04-04
| | | | | | 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
* Remove some unwanted todosVitor Sessak2008-04-04
| | | | | | 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
* I should not have merged the graph parser with the graphVitor Sessak2008-04-04
| | | | | | | | 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
* Replace consume_char() function by *(*buf)++Vitor Sessak2008-04-04
| | | | | | 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 parserVitor Sessak2008-04-04
| | | | | | 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
* Remove AVFilterGraphDesc struct.Vitor Sessak2008-04-04
| | | | | | | | | 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
* Rename uninit() to avfilter_destroy_graph() and make it non-staticVitor Sessak2008-04-04
| | | | | | 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
* Rename functions now staticVitor Sessak2008-04-04
| | | | | | 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
* Move funtion to avoid forward declarationVitor Sessak2008-04-04
| | | | | | 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
* Move mess (to be removed) to where it is actually used.Vitor Sessak2008-04-04
| | | | | | 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.cVitor Sessak2008-04-04
| | | | | | 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
* Simplify graph_load_from_desc3()Vitor Sessak2008-04-04
| | | | | | 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 -> AVFilterGraphVitor Sessak2008-04-04
| | | | | | 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.cVitor Sessak2008-04-04
| | | | | | 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
* Remove avfilter_vf_graphVitor Sessak2008-04-04
| | | | | | 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
* Remove code made unused by the two last patchesVitor Sessak2008-04-04
| | | | | | 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
* Split graph_load_from_dest() to have a version independent of avfilter_vf_graphVitor Sessak2008-04-04
| | | | | | 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
* Almost from scratch rewrite of filter parser.Vitor Sessak2008-04-04
| | | | | | | | | | 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
* Remove ugly forward declarationVitor Sessak2008-04-04
| | | | | | 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
* Fix doxy commentVitor Sessak2008-04-04
| | | | | | 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
* Spelling and puctuationVitor Sessak2008-04-04
| | | | | | 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
* Remove header now made uselessVitor Sessak2008-04-04
| | | | | | 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
* Remove author fieldVitor Sessak2008-04-04
| | | | | | | | 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