summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* libavfilter/libmpcodecs: add vf_stereo3d supportMichael Niedermayer2011-09-20
| | | | | | | | | (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-20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: fix avfilter_get_audio_buffer() doxy to match reality.Clément Bœsch2011-09-18
|
* asrc_anullsrc: amend description to reflect the recent changesStefano Sabatini2011-09-18
|
* asrc_anullsrc: globally prefer "null" over "priv" for indicating the filter ↵Stefano Sabatini2011-09-18
| | | | | | context More locally and globally consistent.
* asrc_anullsrc: do not show the int64_t value for channel_layoutStefano Sabatini2011-09-18
| | | | | That was clumsy and confusing, only show the descriptive channel layout string.
* asrc_anullsrc: implement a request_frame callback for returning framesStefano Sabatini2011-09-18
| | | | | 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-18
| | | | | | | | | 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-17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-17
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | af_aresample: do not request a buffer with AV_PERM_REUSE2 permissions in ↵Stefano Sabatini2011-09-17
| | | | | | | | | | | | filter_samples() That was pointless. Simplify.
* | lavfi: refactor query_formats and auto-insert audio conversion filtersMina Nagy Zaki2011-09-16
| | | | | | | | | | | | | | | | | | 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-16
| | | | | | | | | | | | | | | | | | | | | | 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.
* | lavfi: add and use an inlink variable in avfilter_config_links()Stefano Sabatini2011-09-16
| | | | | | | | Simplify expressions, improve readability.
* | lavfi: set link audio time_base if not set in avfilter_config_links()Stefano Sabatini2011-09-16
| | | | | | | | | | The set value depends on the input link, or on the sample_rate value. Avoids the need to explicitely set the time_base value.
* | libavfilter/formats.c: fix compile of testMichael Niedermayer2011-09-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: add avfilter_all_channel_layouts public symbolStefano Sabatini2011-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This list is mainly useful to be directly used as a parameter by the audio sink buffer, when there is no need to force a specific channel layout. The list of formats is generated programmatically, and avoids channel layouts not supported by libavfilter (with more than 8 channels). We preferred to avoid compile-time generation in order to avoid some unnecessary complexity (build hacks, generating code maintainance etc.). A more compact way to express this list through the use of macros should be possible when libavfilter will support more than 8 channels, as there will be no need to filter out channel layouts with more than 8 channels. See thread: Subject: [FFmpeg-devel] [PATCH] lavfi: add ff_all_channel_layouts internal symbol Date: Sat, 20 Aug 2011 15:33:16 +0200
* | lavfi: rename avfilter_all_* function names to avfilter_make_all_*Stefano Sabatini2011-09-16
| | | | | | | | | | | | | | | | | | | | A function name should tell what the function does rather than what the function returns. This also avoids possible conflicts (e.g. between a function and a public list of all supported formats), and clarifies the code. Breaks audio API/ABI, add a backward compatibility layer for video API/ABI.
* | vf_remove_logo: domt access vf->next->query_format() directly but use the API.Michael Niedermayer2011-09-13
| | | | | | | | | | | | This fixes a crash Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: bump minor and update APIchanges after recent updatesStefano Sabatini2011-09-12
| | | | | | | | | | | | | | | | | | These changes were forgotten in commits: lavfi: simplify signature for avfilter_get_audio_buffer() and friends (commit 2c0317419bc8c7f28496d5181d951bbe8837071f) and lavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudioProps (commit 4381bddc9f93da34a44e683bdc4c05c6f061244e)
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: adpcm: split ADPCM encoders and decoders into separate files. doc/avconv: fix typo. rv34: check that subsequent slices have the same type as first one. smacker demuxer: handle possible av_realloc() failure. lavfi: add split filter from soc. lavfi: add showinfo filter libxavs: add private options corresponding to deprecated global options Conflicts: Changelog libavcodec/adpcm.c libavfilter/avfilter.h libavfilter/vf_showinfo.c libavfilter/vf_split.c libavformat/smacker.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | lavfi: consistently use int for sample_rate in AVFilterLink and ↵Stefano Sabatini2011-09-12
| | | | | | | | | | | | | | | | | | AVFilterBufferRefAudioProps Also consistent with AVCodecContext.sample_rate. Simplify/avoid pointless type checks and conversions. Breaks audio API/ABI.
* | lavfi: simplify signature for avfilter_get_audio_buffer() and friendsStefano Sabatini2011-09-12
| | | | | | | | | | | | | | | | | | | | | | The additional parameters were never used and are complicating the function interface. Also, they were inconsistent with the way the video API works. So this assumes that a requested samples buffer will have *always* the format specified in the requested link. This breaks audio filtering API and ABI.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM muxer v210enc: clip values according to specifications v210enc: switch to PIX_FMT_422P10 v210dec: switch to PIX_FMT_422P10 AVOptions: remove AVOption.offset <= 0 checks AVOptions: deprecate av_opt_set_defaults2 AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h libx264: fix setting some more parameters libx264: fix setting the H.264 level libx264: add 'direct-pred' private option libx264: add 'partitions' private option Conflicts: Changelog libavcodec/Makefile libavcodec/libx264.c libavcodec/v210enc.c libavfilter/src_movie.c libavformat/version.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | avfilter: dont crash on filters with NULL instance names.Michael Niedermayer2011-09-06
| | | | | | | | | | Found-by: Rolf Siegrist Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to ↵Stefano Sabatini2011-09-06
| | | | | | | | | | | | | | | | buffersink.h This is done in order to clarify the non-video-specific nature of the buffersink code, as the result of the video/audio API unification of the previous commit, and for improving overall consistency.
* | lavfi: unify asink_buffer and vsink_buffer APIStefano Sabatini2011-09-06
| | | | | | | | | | | | | | | | | | The new API is more generic (no distinction between audio/video for pulling frames), and avoids code duplication. A backward compatibility layer is kept for avoiding tools ABI breaks (only for the video binary interface, audio interface was never used in the tools).
* | vf_drawtext: always use expanded_text as we always support strftime() now ↵Michael Niedermayer2011-09-05
| | | | | | | | | | | | | | and dont depend on localtime_r() anymore Found-by: Rolf Siegrist Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_drawtext: make strftime work without localtime_r()Michael Niedermayer2011-09-05
| | | | | | | | | | | | modern OS should have localtime_r() or return thread locals on localtime() hopefully Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_drawtext: Fix reinit to allow color changes.Michael Niedermayer2011-09-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vsink_buffer: fix void pointer dereference in ↵Stefano Sabatini2011-08-31
| | | | | | | | av_vsink_buffer_get_video_buffer_ref()
* | vf_yadif: add support to yuva420pStefano Sabatini2011-08-31
| |
* | vf_drawtext: add basetime argument to allow specifying the wall clock time ↵Michael Niedermayer2011-08-30
| | | | | | | | | | | | | | | | of PTS=0 the basetime argument also enables useage of pts instead of time() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfilter/graphparser: Avoid spaces in filter instance names.Michael Niedermayer2011-08-30
| | | | | | | | | | | | This makes it easier to refer to filters where things are seperated by spaces. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_drawtext: fix segfault on reinitMichael Niedermayer2011-08-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vsrc_testsrc: set more properties in the output framesStefano Sabatini2011-08-30
| |
* | avfilter_graph_queue_command: Allow queueing commands out of orderMichael Niedermayer2011-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: fix processing multiple commands per frame and filterMichael Niedermayer2011-08-29
| | | | | | | | | | Found-by: Nicolas George Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Add avfilter_graph_que_command()Michael Niedermayer2011-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | drawtext: Support changing parameters through reinit command at runtime.Michael Niedermayer2011-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Add command passing supportMichael Niedermayer2011-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: add amovie source - audio movie sourceStefano Sabatini2011-08-27
| |
* | vf_scale: apply the same transform to the aspect during init that is applied ↵Michael Niedermayer2011-08-27
| | | | | | | | | | | | per frame Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-08-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fifo: add FIFO API test program, and fate test fifo: add av_fifo_peek2(), and deprecate av_fifo_peek() postprocess.c: filter name needs to be double 0 terminated doxygen: fix wrong comment syntax, //< vs. ///< doxygen: drop pointless star from pointer variable names Replace deprecated av_find_stream_info() by avformat_find_stream_info(). xmv: eliminate superfluous zeroing of zero data configure: fix typo in avconv dependency list Conflicts: configure doc/APIchanges libavutil/Makefile libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>