summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
Commit message (Collapse)AuthorAge
* lavfi: make filters less verbose.Anton Khirnov2012-06-26
|
* lavfi: remove disabled FF_API_FILTERS_PUBLIC cruftAnton Khirnov2012-06-26
|
* lavfi: remove disabled FF_API_DEFAULT_CONFIG_OUTPUT_LINK cruftAnton Khirnov2012-06-26
|
* lavfi: use proper FF_API guards for different deprecated functionsAnton Khirnov2012-06-26
|
* lavfi: remove 'opaque' parameter from AVFilter.init()Anton Khirnov2012-06-26
| | | | | | It is not used in any filters currently and is inherently evil. If passing binary data to filters is required in the future, it should be done with some AVOptions-based system.
* lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputsAnton Khirnov2012-06-13
| | | | This is more consistent with naming in the rest of Libav.
* lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().Anton Khirnov2012-06-13
| | | | | This will allow making AVFilterPad opaque for the calling apps, since those are the only two fields that can be useful to the users.
* avfilter: Log an error if avfilter fails to configure a link.Alex Converse2012-06-12
|
* lavfi: remove request/poll and drawing functions from public API on next bumpAnton Khirnov2012-06-05
| | | | | They are only useful inside filters and we don't allow user filters for now.
* lavfi: make avfilter_insert_pad and pals private on next bump.Anton Khirnov2012-06-05
| | | | | They are only useful inside filters and we don't allow user filters for now.
* 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