summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
Commit message (Collapse)AuthorAge
...
* lavfi: make formats API private on next bump.Anton Khirnov2012-06-05
| | | | | It is only useful inside filters and we don't allow user filters for now.
* lavfi: deprecate default config_props() callback and refactor ↵Mina Nagy Zaki2012-05-22
| | | | | | | | | | | | avfilter_config_links() Link properties have to be checked after config_props() is called to make sure everything is sane, so the default config_props() for output links was redundant. Remove now empty defaults.c Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avfilter: Move ff_get_ref_perms_string() to where it is used.Diego Biurrun2012-05-15
| | | | This fixes a compilation failure with -DDEBUG.
* lavfi: move buffer management function to a separate file.Anton Khirnov2012-05-15
|
* lavfi: move video-related functions to a separate file.Anton Khirnov2012-05-15
| | | | | This is easier to follow than having them randomly scattered in avfilter.c and defaults.c.
* lavfi: add channel layout/sample rate negotiation.Anton Khirnov2012-05-14
|
* lavfi: move audio-related functions to a separate file.Anton Khirnov2012-05-09
| | | | | This is easier to follow than having them randomly scattered in avfilter.c and defaults.c.
* lavfi: remove some audio-related function from public API.Anton Khirnov2012-05-09
| | | | | | | | Those functions are only useful inside filters. It is better to not support user filters until the API is more stable. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem.
* lavfi: simplify signature for avfilter_get_audio_buffer() and friendsStefano Sabatini2012-05-09
| | | | | | | | | | | | The additional parameters are just complicating the function interface. Assume that a requested samples buffer will *always* have the format specified in the requested link. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: cleanup avfilter_get_audio_buffer() and pals.Stefano Sabatini2012-05-09
| | | | | | | | | | | | | | | Remove AVFilterBufferRefAudioProps.size, and use nb_samples in its place everywhere. This is required as the size in the audio buffer may be aligned, so it may not contain a well defined number of samples. Also remove the useless planar parameter, which can be deduced from the sample format. This is technically an API and ABI break, but since the audio part of lavfi is not usable now, this should not be a problem in practice. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add avfilter_get_audio_buffer_ref_from_arrays().Stefano Sabatini2012-05-09
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add extended_data to AVFilterBuffer.Anton Khirnov2012-05-09
| | | | | This is similar to what has previously been done in AVFrame to allow dealing with more than 8 channels.
* lavfi: add a function for copying properties from AVFilterBufferRef->AVFrameAnton Khirnov2012-05-09
| | | | Based on a commit by Stefano Sabatini <stefano.sabatini-lala@poste.it>
* lavfi: uninline avfilter_copy_buffer_ref_props().Anton Khirnov2012-05-07
| | | | | A nontrivial public function such as this should most certainly NOT be inline.
* lavfi: support audio in avfilter_copy_frame_props().Anton Khirnov2012-05-07
|
* lavfi: add avfilter_copy_frame_props()Stefano Sabatini2011-12-25
| | | | | avfilter_copy_frame_props() avoids code duplication and increases robustness.
* 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>
* avfilter: Don't copy garbage from the stack when setting up video pictures.Alex Converse2011-11-03
|
* 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
* 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)
* avfilter: check malloc return values.Ronald S. Bultje2011-05-03
|
* avfilter: don't av_malloc(0).Ronald S. Bultje2011-05-03
|
* 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
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | 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-14
| | | | if it is not explicitely set by the filter.
* Add sample_aspect_ratio to AVFilterLinkMichael Niedermayer2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Log debug information in filter_samples().Stefano Sabatini2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Make the avfilter debug functions and macros static to avfilter.cDiego Elio Pettenò2011-01-26
| | | | | | | 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>
* Include libavcore/audioconvert.h, required forStefano Sabatini2011-01-15
| | | | | | | | av_get_channel_layout_string() in ff_dprintf_link. Fix compilation. Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_link() print meaningful information for audio links.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.Stefano Sabatini2011-01-15
| | | | | | | More consistent with the rest of FFmpeg and sounds more natural to English speaking people. Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_unref_buffer() accept a NULL parameter.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check linked pads media type mismatch in avfilter_link().Stefano Sabatini2011-01-13
| | | | Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add w,h,format back into AVFilterBuffer, these are required for direct ↵Michael Niedermayer2011-01-11
| | | | | | | | | | rendering. These fields are needed to be able to know which area of memory is allocated and which is off limits. This reverts 24291 and parts of r24424. Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support filters and decoders that dont support negative linesizes.Michael Niedermayer2010-12-27
| | | | | | This patch is based on work by stefano. Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avfilter_draw_slice() copy code with alpha planes.Stefano Sabatini2010-12-19
| | | | Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_get_video_buffer_ref_from_arrays().Stefano Sabatini2010-11-25
| | | | Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ff_get_ref_perms_string() use 'u' and 'U' for representingStefano Sabatini2010-11-13
| | | | | | | AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char 'r' used for AV_PERM_READ. Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_destroy() as avfilter_free().Stefano Sabatini2010-11-08
| | | | | | | The new name is shorter and more consistent with the FFmpeg API, and sounds less evil. Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: remove bogus inclusion of libavcodec/audioconvert.c inStefano Sabatini2010-10-25
| | | | | | avfilter.c. Originally committed as revision 25565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_config_links() use the timebase of the first input linkStefano Sabatini2010-10-12
| | | | | | | | | | | of a filter for setting the output timebase, if there is such a link, rather than always use AV_TIME_BASE_Q. This fixes configuration for all the filters which do not use the default config_props for the output link, and do not set explicitely the timebase. Originally committed as revision 25456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a time_base field to AVFilterLink.Stefano Sabatini2010-10-10
| | | | | | | This is required for allowing a filter to use a time base different from AV_TIME_BASE_Q, as it was previously assumed. Originally committed as revision 25441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_config_links() propagate the error code coming from theStefano Sabatini2010-10-10
| | | | | | callee functions. Originally committed as revision 25433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use more expressive names for the avfilter_insert_filter() in and outStefano Sabatini2010-09-27
| | | | | | parameters. Originally committed as revision 25235 to svn://svn.ffmpeg.org/ffmpeg/trunk