summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* lavfi: remove usage of deprecated av_opt_set_defaults2() functionStefano Sabatini2011-10-024-4/+4
| | | | Prefer av_opt_set_defaults() instead.
* vf_scale.c: propagate error codeMichael Niedermayer2011-10-011-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-292-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) avconv: Reformat s16 volume adjustment. ARM: NEON optimised vector_fmac_scalar() dca: use vector_fmac_scalar from dsputil dsputil: add vector_fmac_scalar() latmenc: Fix private options vf_unsharp: store hsub/vsub in the filter context vf_unsharp: adopt a more natural order of params in apply_unsharp() vf_unsharp: rename method "unsharpen" to "apply_unsharp" vf_scale: apply the same transform to the aspect during init that is applied per frame vf_pad: fix "vsub" variable value computation vf_scale: add a "sar" variable lavfi: fix realloc size computation in avfilter_add_format() vsrc_color: use internal timebase lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config() graphparser: prefer void * over AVClass * for log contexts avfiltergraph: use meaningful error codes avconv: Initialize return value for codec copy path. fate: use 'run' helper for seek-test fate: remove seek-mpeg2reuse test Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080. ... Conflicts: doc/filters.texi libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/avfiltergraph.h libavfilter/graphparser.c libavfilter/vf_scale.c libavfilter/vsrc_color.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_unsharp: store hsub/vsub in the filter contextStefano Sabatini2011-09-281-6/+12
| | | | | | | | | | | | 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-281-5/+5
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_unsharp: rename method "unsharpen" to "apply_unsharp"Stefano Sabatini2011-09-281-4/+6
| | | | | | | | | | | | | | 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-281-0/+8
| | | | | | | | | | | | per frame Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_pad: fix "vsub" variable value computationStefano Sabatini2011-09-281-1/+1
| | | | | | | | | | | | It was shifting 2 rather than 1, +10l. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_scale: add a "sar" variableStefano Sabatini2011-09-282-4/+8
| | | | | | | | | | | | | | 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-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-281-1/+2
| | | | | | | | | | | | 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-284-5/+5
| | | | | | | | | | | | 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-281-7/+7
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * avfiltergraph: use meaningful error codesStefano Sabatini2011-09-281-5/+7
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_yadif: add support to yuva420pStefano Sabatini2011-09-211-1/+2
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_yadif: correct documentation on the parity parameterStefano Sabatini2011-09-211-2/+2
| | | | | | | | | | | | | | 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-211-1/+4
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vf_yadif: add an option to enable/disable deinterlacing based on src frame ↵Joakim Plate2011-09-191-2/+26
| | | | | | | | | | | | | | "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-191-1/+1
| | | | | | | | | | | | -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-192-1/+6
| | | | | | | | | | | | 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-191-1/+0
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | sink_buffer: fix typoMichael Niedermayer2011-09-281-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: fix FF_API_* definition macrosStefano Sabatini2011-09-281-2/+2
| | | | | | | | | | | | | | Fix ABI break occurred after their use. Bug reported and patch provided by chinsou, fix trac issue #516, +80cola for me.
* | vf_boxblur: remove useless code.Nicolas George2011-09-281-7/+0
| | | | | | | | | | | | | | This block was probably leftovers from code refactoring. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_drawtext: apply misc style fixesStefano Sabatini2011-09-251-2/+2
| |
* | vf_drawtext: do not reset "n" variable to 0 in case the filter is reinitedStefano Sabatini2011-09-251-1/+6
| |
* | lavfi: add debug trace when processing eventsStefano Sabatini2011-09-251-0/+3
| |
* | lavfi: document AVFilterCommand fieldsStefano Sabatini2011-09-251-2/+3
| |
* | vf_drawtext: use ctx for expressing outlink and dtext in end_frameStefano Sabatini2011-09-241-2/+2
| | | | | | | | (Very) slighly improve readability.
* | vf_drawtext: perform misc cosmetics changes to uninitStefano Sabatini2011-09-241-7/+8
| | | | | | | | | | | | | | In particular: * lexically sort strings freeing commands * logically group freeing instructions * prefer NULL over 0 when setting dtext->glyphs
* | vf_drawtext: set string defaults in the options arrayStefano Sabatini2011-09-241-6/+3
| | | | | | | | Simplify.
* | vf_drawtext: make x and y options parametricStefano Sabatini2011-09-242-18/+143
| | | | | | | | Address trac issue #378.
* | vf_drawtext: drop text wrapping featureStefano Sabatini2011-09-242-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Or in other word, do not go to the next line when the text cannot be rendered within the frame. The rationale is that wrapping is hard to manage, as it depends on the position of the text, thus making hard/impossible to compute the size occupied by the rendered text, and makes the filter behavior unpredictible with moving text (implemented in a pending patch). Also the current wrapping code is very limited (for example it splits words in the middle), and correctly handling wrapping requires much more complexity (alignment, gravity, word parsing etc.), while drawtext is meant to be only a thin wrapper around libfreetype, so such advanced features don't belong here.
* | vf_drawtext: do not set limitations on fontsizeStefano Sabatini2011-09-232-2/+2
| | | | | | | | | | | | It may be needed to use values greater than 72, and in general greater than an arbitrary big value. Let the user choose what's too big for her.
* | vf_drawtext: remove useless and misnamed intermediary "baseline" variable in ↵Stefano Sabatini2011-09-221-3/+2
| | | | | | | | draw_text()
* | vf_drawtext: fix background box coloring with RGB formats != RGBAStefano Sabatini2011-09-221-1/+1
| | | | | | | | | | | | | | | | drawbox() expects a color specified in RGBA format, while the code was providing a color with the components specified in the same order of the input pixel format. In particular, fix box coloring with AXXX RGB formats.
* | vf_drawtext: prefer int over unsigned intStefano Sabatini2011-09-221-8/+7
| | | | | | | | | | This avoids overflow errors when the considered x and y values are negative, as required by the incoming patches.
* | libavfilter/libmpcodecs: add vf_stereo3d supportMichael Niedermayer2011-09-203-1/+514
| | | | | | | | | | | | | | | | | | (code from mplayer see their svn for detailed authorship) parameters must be integers as we do not have mplayers parser also the stuff passed to it through non constant globals is not supported this should be fixed in mplayer first. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libmpcodecs: some hunks from mplayer HEADMichael Niedermayer2011-09-208-6/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: fix avfilter_get_audio_buffer() doxy to match reality.Clément Bœsch2011-09-181-3/+0
| |
* | asrc_anullsrc: amend description to reflect the recent changesStefano Sabatini2011-09-181-1/+1
| |
* | asrc_anullsrc: globally prefer "null" over "priv" for indicating the filter ↵Stefano Sabatini2011-09-181-14/+14
| | | | | | | | | | | | context More locally and globally consistent.
* | asrc_anullsrc: do not show the int64_t value for channel_layoutStefano Sabatini2011-09-181-2/+2
| | | | | | | | | | That was clumsy and confusing, only show the descriptive channel layout string.
* | asrc_anullsrc: implement a request_frame callback for returning framesStefano Sabatini2011-09-182-5/+23
| | | | | | | | | | This is mainly useful for filters (like the sox synth), which overwrite the content of the passed data.
* | asrc_anullsrc: extend syntax to make it accept a non positional list of ↵Stefano Sabatini2011-09-182-20/+44
| | | | | | | | | | | | | | | | | | arguments The new syntax is more extensible and more user-friendly. This breaks the previous syntax, should not be an issue as possibly no-one is already using anullsrc.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-171-20/+15
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: add select filter oggdec: fix out of bound write in the ogg demuxer movenc: create an alternate group for each media type lavd: add libcdio-paranoia input device for audio CD grabbing rawdec: refactor private option for raw video demuxers pcmdec: use unique classes for all pcm demuxers. rawdec: g722 is always 1 channel/16kHz Conflicts: Changelog configure doc/filters.texi libavdevice/avdevice.h libavfilter/avfilter.h libavfilter/vf_select.c tests/ref/lavf/mov Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: add select filterStefano Sabatini2011-09-174-1/+356
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | af_aresample: do not request a buffer with AV_PERM_REUSE2 permissions in ↵Stefano Sabatini2011-09-171-4/+2
| | | | | | | | | | | | filter_samples() That was pointless. Simplify.
* | lavfi: refactor query_formats and auto-insert audio conversion filtersMina Nagy Zaki2011-09-161-28/+73
| | | | | | | | | | | | | | | | | | Behaviour has been changed to fail negotiation if fields have been left empty. Patch was originally based on a patch by Hemanth. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavfi: add audio convert filterStefano Sabatini2011-09-165-1/+594
| | | | | | | | | | | | | | | | | | | | | | Add aconvert filter to perform sample format, channel layout, and packing format conversion. The aconvert code depends on audio conversion code in libavcodec, so this requires a dependency on libavcodec. Based on previous work by S.N. Hemanth Meenakshisundaram and Mina Nagy Zaki, performed for the GSoC 2010 and 2011.
OpenPOWER on IntegriCloud