summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* ocv: replace FF_INTERNAL_MEM_TYPE_MAX_VALUE with SIZE_MAXStefano Sabatini2011-06-20
| | | | | | | Fix compilatin after removal of FF_INTERNAL_MEM_TYPE_MAX_VALUE. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: add braces around initialisers for option defaultsStefano Sabatini2011-06-20
| | | | | | | | Fix warnings of the type: vf_drawtext.c:NNN: warning: missing braces around initializer vf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: reindent after the previous commitStefano Sabatini2011-06-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: fix strftime() text expansionStefano Sabatini2011-06-20
| | | | | | | The feature was dropped after the filter was partially rewritten and recommitted. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Deprecate av_open_input_* and remove their uses.Anton Khirnov2011-06-16
| | | | Deprecate the last remaining member of AVFormatParameters.
* Remove unused variablesMans Rullgard2011-06-02
|
* Employ correct printf format specifiers, mostly in debug output.Diego Biurrun2011-05-31
|
* vf_drawtext: Replace FFmpeg by Libav in license boilerplate.Diego Biurrun2011-05-31
|
* avfilter: Surround function only used in debug mode by appropriate #ifdef.Diego Biurrun2011-05-29
| | | | | This fixes the warning: libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used
* vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().Diego Biurrun2011-05-29
|
* vsrc_buffer.h: add file doxyStefano Sabatini2011-05-24
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: tweak error message in init()Stefano Sabatini2011-05-24
| | | | | | | | | | | | Change: Expected 7 arguments, but only %d found in '%s'\n to: Expected 7 arguments, but %d found in '%s'\n as the user may provide more than 7 arguments, in that case the error is not misleading. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* multiple inclusion guard cleanupDiego Biurrun2011-05-21
| | | | | Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
* lavfi: print key-frame and picture type information in ff_dlog_ref()Stefano Sabatini2011-05-16
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> (cherry picked from commit f7bdffb09da597c5d6afff5359523370470ad072)
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | This breaks API and ABI.
* drawtext: add shadow support.Michael Niedermayer2011-05-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: factor draw_glyphs.Michael Niedermayer2011-05-07
| | | | | 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-07
| | | | | 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-07
| | | | | 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-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: Port drawtext filter by Hemanth from the libavfilter soc repoStefano Sabatini2011-05-07
| | | | | | | | | | | 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-03
|
* avfilter: don't av_malloc(0).Ronald S. Bultje2011-05-03
|
* vf_fieldorder: Replace FFmpeg by Libav in license boilerplate.Diego Biurrun2011-04-29
|
* hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini2011-04-26
| | | | | | | | | | | | 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-26
| | | | | 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-26
| | | | | | 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-26
| | | | | | | | 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-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: add sample_aspect_ratio fields to arguments.Michael Niedermayer2011-04-26
| | | | | | | | 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-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>