summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* drawtext: add shadow support.Michael Niedermayer2011-05-071-6/+33
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: factor draw_glyphs.Michael Niedermayer2011-05-071-27/+41
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: fix and optimize yuv blend.Michael Niedermayer2011-05-071-4/+6
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: get rid of divisions in the inner loop.Michael Niedermayer2011-05-071-8/+8
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: simplify chroma blend and fix chroma alpha.Michael Niedermayer2011-05-071-3/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: Port drawtext filter by Hemanth from the libavfilter soc repoStefano Sabatini2011-05-074-2/+676
| | | | | | | | | | | With the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats * fix minor errors and typos in the filter description * extend/clarify examples in the filter description Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avfilter: check malloc return values.Ronald S. Bultje2011-05-031-1/+25
|
* avfilter: don't av_malloc(0).Ronald S. Bultje2011-05-031-1/+2
|
* vf_fieldorder: Replace FFmpeg by Libav in license boilerplate.Diego Biurrun2011-04-291-4/+4
|
* hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-281-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-281-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini2011-04-261-2/+2
| | | | | | | | | | | | Also deprecate av_get_pict_type_char() in favor of av_get_picture_type_char(). The new enum and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pad: make the filter parametricStefano Sabatini2011-04-261-8/+106
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: add key_frame and pict_type.royger2011-04-261-0/+2
| | | | | | Signed-off-by: Roger Pau Monné <roger.pau@entel.upc.edu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: fix leak in request_frame()Stefano Sabatini2011-04-261-0/+2
| | | | | | | | Also set movie->picref to NULL, in order to avoid a crash in uninit() when movie->picref is unreffed again and it was already freed. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné2011-04-262-1/+7
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: add sample_aspect_ratio fields to arguments.Michael Niedermayer2011-04-262-3/+6
| | | | | | | | This fixes aspect handling in ffmpeg. This is based on a patch by Baptiste. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add fieldorder filterMark Himsley2011-04-264-1/+238
| | | | | 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-261-9/+84
| | | | | | | | 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-261-49/+67
| | | | | | Fixes by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support more than yuv420p.James Darnley2011-04-261-4/+25
| | | | | | and correctly support grey8 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: Fix assert() failureMichael Niedermayer2011-04-261-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: add a NULL check on the argument passed to strstrStefano Sabatini2011-04-251-1/+1
| | | | | | | 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-251-1/+1
| | | | | | | 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-251-1/+1
| | | | | | | | | | 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-251-1/+1
| | | | | | | | 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-201-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Bump major versions of all libraries.Anton Khirnov2011-04-181-2/+2
| | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-171-4/+4
|
* lavfi: add fade filterBrandon Mintern2011-04-034-1/+173
| | | | | | | | 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-033-21/+22
| | | | | | | 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-1950-202/+202
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-161-1/+1
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-161-1/+1
| | | | also update the multiple inclusion guards in config.h|mak
* yadif: add parens around macro parametersMans Rullgard2011-03-051-4/+4
| | | | | | | 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-213-129/+168
| | | | | | 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-214-105/+182
| | | | | | | 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-1517-24/+23
| | | | | | | | | | | | 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-141-0/+6
| | | | if it is not explicitely set by the filter.
* Add sample_aspect_ratio to AVFilterLinkMichael Niedermayer2011-02-144-2/+26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavfilter: add video movie sourceStefano Sabatini2011-02-084-1/+315
| | | | | | | | 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-041-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-042-8/+10
| | | | | | | | | | 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-041-1/+3
| | | | | | | | | | | 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-021-0/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-291-15/+15
| | | | dprintf clashes with POSIX.1-2008
* In the start_frame() debug log, print the reference pos value rather than ↵Stefano Sabatini2011-01-281-2/+2
| | | | | | | | | | 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-262-11/+5
| | | | | | | 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-181-1/+1
|
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-182-9/+0
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
OpenPOWER on IntegriCloud