summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* drawtext: manage memory allocation betterLuca Barbato2011-12-03
| | | | | Call dtext_prepare_text as early as possible Do not draw if the memory allocation failed
* drawtext: refactor draw_textLuca Barbato2011-12-03
| | | | Split the memory allocation from the actual drawing.
* Make channel layout masks unsignedMans Rullgard2011-11-25
| | | | | | | | | | It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavfilter: reindent.Ronald S. Bultje2011-11-05
|
* avfilter: don't abort() on zero-size allocations.Ronald S. Bultje2011-11-05
|
* avfilter: Don't copy garbage from the stack when setting up video pictures.Alex Converse2011-11-03
|
* vsrc_testsrc: fix mailing list reference URLDiego Biurrun2011-11-02
|
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecsStefano Sabatini2011-10-19
| | | | | | | | | | | | The licence was changed from GPL to LGPL with explicit approval from the original author. See thread: Subject: [FFmpeg-devel] [PATCH] lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs Date: Mon, 11 Jul 2011 16:32:41 +0200 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add testsrc sourceStefano Sabatini2011-10-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: port libmpcodecs delogo filterStefano Sabatini2011-10-17
| | | | | | The ported filter supports named option parsing and more YUV formats. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: port boxblur filter from libmpcodecsStefano Sabatini2011-10-17
| | | | | | | | | | With the following additions: * support to gray format * support to yuva420p format * parametric luma/chroma/alpha radius * consistency check on the radius values, avoid crashes with invalid values Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add negate filterStefano Sabatini2011-10-17
| | | | | | This filter is a simple wrapper around the LUT filter. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add LUT (LookUp Table) generic filtersStefano Sabatini2011-10-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* vf_unsharp: set default chroma size value to 5x5Stefano Sabatini2011-09-29
| | | | | | | The previous default value 0x0 was not good, since it is not even valid. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: fix out-of-buffer readStefano Sabatini2011-09-29
| | | | | | | | | | | | In apply_unsharp(), when y is >= height, prevent out-of-buffer reading from src, read from the last buffer line in src2 instead. The check was implemented in the original unsharp libmpcodecs code and lost in the port. This also fixes output discrepancy between the two filters. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: store hsub/vsub in the filter contextStefano Sabatini2011-09-28
| | | | | | Also drop obfuscating CHROMA_WIDTH/HEIGHT macros. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: adopt a more natural order of params in apply_unsharp()Stefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: rename method "unsharpen" to "apply_unsharp"Stefano Sabatini2011-09-28
| | | | | | | More consistent with the original libmpcodecs code, and the name "unsharpen" was confusing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: apply the same transform to the aspect during init that is applied ↵Michael Niedermayer2011-09-28
| | | | | | per frame Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_pad: fix "vsub" variable value computationStefano Sabatini2011-09-28
| | | | | | It was shifting 2 rather than 1, +10l. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: add a "sar" variableStefano Sabatini2011-09-28
| | | | | | | Also create a "dar" alias for the "a" variable, for avoiding possible confusion between dar/sar. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix realloc size computation in avfilter_add_format()Stefano Sabatini2011-09-28
| | | | | | | | | | | | | Replace sizeof((*avff)->formats) with sizeof(*(*avff)->formats) as the size of the array element is given by the pointed element rather than by its pointer. In particular fix computation with the pending patch when sizeof(int64_t) != sizeof(int64_t *). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: use internal timebaseStefano Sabatini2011-09-28
| | | | | | Avoid timescale conversion, simplify. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()Stefano Sabatini2011-09-28
| | | | | | Require "void *" rather than "AVClass *" for the log context type. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: prefer void * over AVClass * for log contextsStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avfiltergraph: use meaningful error codesStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: add support to yuva420pStefano Sabatini2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: correct documentation on the parity parameterStefano Sabatini2011-09-21
| | | | | | | 0 is top-field-first, 1 is bottom-field-first, not the other way around. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: copy buffer properties like aspect for second frame as wellJoakim Plate2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: add an option to enable/disable deinterlacing based on src frame ↵Joakim Plate2011-09-19
| | | | | | | "interlaced" flag Signed-off-by: Joakim Plate <elupus@ecce.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: set output pos values to -1Stefano Sabatini2011-09-19
| | | | | | -1 is more correct than 0, as the position in the file is undefined. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: add @file doxyStefano Sabatini2011-09-19
| | | | | | Also remove outdated reference to color in vf_pad.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: remove duplicated file descriptionStefano Sabatini2011-09-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add select filterStefano Sabatini2011-09-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add split filter from soc.Bobby Bingham2011-09-12
| | | | | | | Some fixes by Stefano. For detailed authorship see SOC repo Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add showinfo filterStefano Sabatini2011-09-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: deprecate av_opt_set_defaults2Anton Khirnov2011-09-07
| | | | | | It's a hack which was created to allow for multiple options with different defaults to refer to same field (e.g. 'b' vs 'ab'). There is no need for it anymore.
* vf_scale: don't leak SWS context.Michael Niedermayer2011-08-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: fix wrong comment syntax, //< vs. ///<Diego Biurrun2011-08-26
|
* vf_libopencv: replace opencv/cxtypes.h #include by opencv/cxcore.hStefano Sabatini2011-07-18
| | | | | | cxtypes.h works with version 2.1 and older, cxcore.h works with 2.2 and older. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* doxygen: Make sure parameter names match between .c and .h files.Diego Biurrun2011-07-14
|
* build: rework rules for things in the tools dirMans Rullgard2011-07-10
| | | | | | | | Declaring tools associated with each library in their respective makefiles allows these tools to easily depend on the correct prerequisites and link against the libs they need. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add avformat_find_stream_info()Anton Khirnov2011-07-10
| | | | It supports passing options to codecs.
* lavc: introduce avcodec_open2() as a replacement for avcodec_open().Anton Khirnov2011-07-10
| | | | | Adds support for decoder-private options and makes setting other options simpler.
* vf_drawtext: Remove some write-only variables.Diego Biurrun2011-07-07
| | | | | libavfilter/vf_drawtext.c:427:22: warning: variable 'dst_pixel' set but not used libavfilter/vf_drawtext.c:463:22: warning: variable 'dst_pixel' set but not used
* Add some missing mathematics.h #includes for av_rescale().Diego Biurrun2011-07-05
|
* vf_gradfun: relicense x86 asm to LGPLLoren Merritt2011-07-04
| | | | | Actually I gave permission for LGPL long ago, but the original import failed to update the license header.
* Do not include log.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>