summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* mp: extend syntax, make it accept mp=filter=paramsStefano Sabatini2011-03-28
| | | | | | | Make the mp wrapper accept the syntax mp=filter=params as alternative to mp=filter:params. The alternative syntax is sligthly more readable and should simplify copy&paste of MPlayer filter strings to the mp filter.
* Implement interlaced scaling.Michael Niedermayer2011-03-28
| | | | | | | | | | Fixes issue2632 if interl=1 is used or the automatic interlace detection is enabled and works. This has the advantage compared to the patch in issue2632 that it causes no speed loss and it also works when scaling is used. The disadvantage is that interlacing autodetection does not yet work very well it seems. This is the same method mplayer uses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* drawtext: draw glyphs for the strftime()-expanded textStefano Sabatini2011-03-27
| | | | | In draw_glyphs(), draw glyphs in dtext->expanded_text rather than in dtext->text. Fix crash if a strftime() sequence is used.
* setdar: prefer "sar" over "par" in log info messageStefano Sabatini2011-03-27
| | | | | This is more consistent with the terminology adopted by the aspect filter names.
* Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-03-26
|
* Make the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-03-26
|
* Update to latest MPlayer version.Reimar Döffinger2011-03-25
| | | | Avoids warnings due to pointlessly casting away const.
* fade: fix draw_slice() check on fade->factor valueMark Himsley2011-03-18
| | | | | | | | 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).
* fade: make draw_slice() chroma check against planes 1 and 2Mark Himsley2011-03-18
| | | | | | 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.
* remove definition of swabj@v2v.cc2011-03-17
| | | | | | | | right now swab is defined in libavfilter/libmpcodecs/mpbswap.h this breaks mingw32 cross compiles. since it its not used, it should be removed. alternatively swab has to be added to HAVE_LIST in configure. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer2011-03-17
| | | | This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
* Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer2011-03-17
| | | | This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
* Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-17
|\ | | | | | | | | | | | | | | | | | | Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Use av_strdup instead of strdup, fixes mingw buildBaptiste Coudurier2011-03-16
| |
* | yadif: add parens around macro parametersMans Rullgard2011-03-08
| | | | | | | | | | | | | | 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>
* | Add libmpcodecs to the list of libavfilter subdirectories.Carl Eugen Hoyos2011-02-25
| |
* | Add shadow support to the drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | factor draw_glyphs out of drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix and optimize yuv blend in the drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | get rid of divisions in the inner loop of the drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fix chroma alpha in the drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Simplify chroma blend in the drawtext filterMichael Niedermayer2011-02-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Port drawtext filter by Hemanth from the libavfilter soc repo, withStefano Sabatini2011-02-22
| | | | | | | | | | | | | | | | | | the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: add fade filterBrandon Mintern2011-02-21
| | | | | | | | | | | | | | Port fade filter from libavfilter soc repo, with minor fixes by Stefano. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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: Michael Niedermayer <michaelni@gmx.at>
* | 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: Michael Niedermayer <michaelni@gmx.at>
* | Reduce picture size for yadif.Michael Niedermayer2011-02-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Change yadif to not use out of picture lines.Michael Niedermayer2011-02-18
| | | | | | | | | | | | Fixes issue2272. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Make avfilter_config_links() propagate audio information of the source link ↵Stefano Sabatini2011-02-14
| | | | | | | | | | | | if it is not explicitely set by the filter. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfilter: add video movie sourceStefano Sabatini2011-02-09
| | | | | | | | | | | | | | | | 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-06
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 290849e2a4e76484f1a34506782e8dbfe7bbe406)
* | Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-06
| | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit 4359288c565705d1734f63d277f8918ee5af5e54)
* | Make avfilter_graph_parse() not free the input graphStefano Sabatini2011-02-06
| | | | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit e8e5dde779fca80d86e00baea26d1baca333f4c0)