summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* lavfi: add fieldorder filterMark Himsley2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* scale: make the filter parametricStefano Sabatini2011-04-26
| | | | | | | | Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support 16-bitJames Darnley2011-04-26
| | | | | | Fixes by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support more than yuv420p.James Darnley2011-04-26
| | | | | | and correctly support grey8 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: Fix assert() failureMichael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: add a NULL check on the argument passed to strstrStefano Sabatini2011-04-25
| | | | | | | Fix crash in create_filter() which occurrs if a scale filter with no args is provided. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* setdar: prefer "sar" over "par" in log info messageStefano Sabatini2011-04-25
| | | | | | | This is more consistent with the terminology adopted by the aspect filter names. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: fix draw_slice() check on fade->factor valueMark Himsley2011-04-25
| | | | | | | | | | draw_slice() checks that the fade factor is < 65536 and only calculates the fade if so. But the fade factor is clipped in end_frame() by av_clip_uint16() to 65535, so the fade is calculated for every frame. This patch alters the check so that it compares with < 65535 (UINT16_MAX). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: make draw_slice() chroma check against planes 1 and 2Mark Himsley2011-04-25
| | | | | | | | draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data are not NULL before manipulating planes 1 and 2. This patch makes the check against planes 1 and 2. More senseful and possibly more robust. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Reduce picture size for yadif.Michael Niedermayer2011-04-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Bump major versions of all libraries.Anton Khirnov2011-04-18
| | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* lavfi: add fade filterBrandon Mintern2011-04-03
| | | | | | | | Port fade filter from libavfilter soc repo, with minor fixes by Stefano. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Change yadif to not use out of picture lines.Michael Niedermayer2011-04-03
| | | | | | | Fixes issue2272. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | also update the multiple inclusion guards in config.h|mak
* yadif: add parens around macro parametersMans Rullgard2011-03-05
| | | | | | | This fixes compilation with preprocessors which do not add whitespace around replaced tokens, resulting in invalid expressions like 1--1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: put color source in a dedicated fileStefano Sabatini2011-02-21
| | | | | | Move the color source code from vf_pad.c to vsrc_color.c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: add drawutilsStefano Sabatini2011-02-21
| | | | | | | Add drawutils.h and drawutils.c, and use them in the pad filter. The new functions are going to be shared by other filters. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Make avfilter_config_links() propagate audio information of the source link ↵Stefano Sabatini2011-02-14
| | | | if it is not explicitely set by the filter.
* Add sample_aspect_ratio to AVFilterLinkMichael Niedermayer2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavfilter: add video movie sourceStefano Sabatini2011-02-08
| | | | | | | | See thread: Subject: [PATCH] movie video source Date: 2010-12-31 15:35:30 GMT Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-04
| | | | 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_parse() not free the input graphStefano Sabatini2011-02-04
| | | | | | | | | | | Make avfilter_graph_parse() only release the internal structures allocated during the parsing, and leave to free the graph itself to the calling code. This approach looks cleaner, as the graph is not allocated by the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Log debug information in filter_samples().Stefano Sabatini2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* In the start_frame() debug log, print the reference pos value rather than ↵Stefano Sabatini2011-01-28
| | | | | | | | | | the evaluated value converted to int. That's required because -1 is evaluated as NAN, which converted back to int looks like a random number, this is especially annoying when debugging sources with undefined pos (as the video4linux2 device). Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make the avfilter debug functions and macros static to avfilter.cDiego Elio Pettenò2011-01-26
| | | | | | | This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link fro the interface of libavfilter. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avfilter: remove stray semicolonMans Rullgard2011-01-18
|
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make config_props() return AVERROR(EINVAL) rather than 1 in case ofStefano Sabatini2011-01-16
| | | | | | | | failed SWScaleContext initialization. Fix issue2546. Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix fate breakage in r26382.Ronald S. Bultje2011-01-16
| | | | Originally committed as revision 26383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless free, fix warning:Baptiste Coudurier2011-01-16
| | | | | | | libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer': libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function Originally committed as revision 26382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include libavcore/audioconvert.h, required forStefano Sabatini2011-01-15
| | | | | | | | av_get_channel_layout_string() in ff_dprintf_link. Fix compilation. Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_link() print meaningful information for audio links.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.Stefano Sabatini2011-01-15
| | | | | | | More consistent with the rest of FFmpeg and sounds more natural to English speaking people. Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_unref_buffer() accept a NULL parameter.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In yadif filter, default to top field first if interlacing is unknownBaptiste Coudurier2011-01-15
| | | | Originally committed as revision 26347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the word "Parsed" in the parsed filter names.Stefano Sabatini2011-01-14
| | | | Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check linked pads media type mismatch in avfilter_link().Stefano Sabatini2011-01-13
| | | | Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* In the pad filter, log information about the input size.Stefano Sabatini2011-01-12
| | | | Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix design of the pad filter.Michael Niedermayer2011-01-11
| | | | | | | | Previously the pad filter just drawed borders in the surrounding of the input without checking if this area was allocated or writeable. Now we check and allocate a new buffer if the input is unsuitable. Originally committed as revision 26315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add w,h,format back into AVFilterBuffer, these are required for direct ↵Michael Niedermayer2011-01-11
| | | | | | | | | | rendering. These fields are needed to be able to know which area of memory is allocated and which is off limits. This reverts 24291 and parts of r24424. Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In pad filter, update new ref w/h in start_frame, fix chainingBaptiste Coudurier2011-01-05
| | | | Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk