summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
Commit message (Collapse)AuthorAge
* avfilter: add some asserts() to check refcounts.Michael Niedermayer2012-01-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter: pool draining and self destruction support.Michael Niedermayer2012-01-12
| | | | | | This should fix a memleak. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add missing check in avfilter_filter_samples()Stefano Sabatini2011-12-27
| | | | Avoid out-of-buffer data access when nb_channels is 8.
* lavfi: don't try to indent words in trace messagesStefano Sabatini2011-12-27
| | | | | The traces end up not indented and ugly anyway, but with the additional spaces are much more painful to grep/parse.
* libavfilter: increase LIBAVFILTER_VERSION_MICRO to 100 like the other libs.Michael Niedermayer2011-12-23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: Readd #define _SVID_SOURCE Fix av_get_channel_layout_string() for positions >31 configure: Store vda lib flags in extralibs instead of ldflags Make channel layout masks unsigned dca: ARMv6 optimised decode_blockcode() nullenc: drop AVFMT_RAWPICTURE from the flags frame-mt: return consumed packet size in ff_thread_decode_frame aacdec: add more fate tests covering SBR and PS MK(BE)TAG: avoid undefined shifts Conflicts: configure libavcodec/arm/dca.h libavcodec/dca.c libavcodec/mlp_parser.c libavcodec/version.h libavfilter/asrc_anullsrc.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/defaults.c libavutil/audioconvert.c libavutil/avutil.h libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | lavfi: increase number of maximum registered filters from 64 to 128Stefano Sabatini2011-11-05
| |
* | lavfi: issue error if maximum number of filters is reachedStefano Sabatini2011-11-05
| | | | | | | | | | | | Issue an error and return a more meaningful error code in case the maximum number of registered filters has been reached. This is better than silently ignore the error, improve feedback.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: vp6: Fix illegal read. avfilter: Don't copy garbage from the stack when setting up video pictures. avcodec: Make sure codec_type is set by avcodec_get_context_defaults2 avcodec: Remove a misplaced and useless attribute_deprecated avconv: add -dump_attachment option. avconv: add -attach option. avconv: make negative mappings disable only streams from the specified file fmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64 Conflicts: libavcodec/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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)
* | lavfi: add debug trace when processing eventsStefano Sabatini2011-09-25
| |
* | 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.
* | 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.
* | 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>
* | avfilter: Add command passing supportMichael Niedermayer2011-08-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: remove default config_props() callback and refactor ↵Mina Nagy Zaki2011-08-06
| | | | | | | | | | | | | | | | | | | | | | | | 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. Also remove channel_layout check as it is now negotiated. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | lavfi: add audio channel packing negotiation fieldsMina Nagy Zaki2011-07-16
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | avfilter picture pool: double free hotfixMichael Niedermayer2011-06-21
| | | | | | | | | | | | This fix introduces a small memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: add layout negotiation fields and helper functions.Mina Nagy Zaki2011-06-19
| |
* | lavfi: implement avfilter_get_audio_buffer_ref_from_arrays()Stefano Sabatini2011-06-10
| |
* | lavfi: prefer nb_samples over size in AVFilterBufferRefAudioPropsStefano Sabatini2011-06-06
| | | | | | | | | | | | | | | | | | Remove AVFilterBufferRefAudioProps.size, and use nb_samples in avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in place of size. This is required as the size in the audio buffer may be aligned, so it may not contain a well defined number of samples.
* | Add const to avfilter_get_video_buffer_ref_from_arrays arguments.Reimar Döffinger2011-06-05
| | | | | | | | | | | | Avoids warning about discarding qualifiers in avcodec.c Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavfi: add avfilter_link_free() functionStefano Sabatini2011-06-03
| | | | | | | | | | Allow to free the buffers cached in each AVFilterLink pool. Fix leak.
* | lavfi: apply misc style fixesStefano Sabatini2011-06-02
| | | | | | | | Adopt K&R style for overall consistency/readability.
* | avfilter: dont use AVFilterLink as priv for pictures as its freed too early.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | AVFilter: use picture pool to avoid malloc().Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter_unref_buffer: favor av_freep()Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) doc: Check standalone compilation before submitting new components. Fix standalone compilation of pipe protocol. Fix standalone compilation of ac3_fixed encoder. Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders. Fix standalone compilation of IMC decoder. Fix standalone compilation of WTV demuxer. Fix standalone compilation of MXPEG decoder. flashsv: K&R cosmetics matroskaenc: fix memory leak vc1: make overlap filter for I-frames bit-exact. vc1dec: use s->start/end_mb_y instead of passing them as function args. Revert "VC1: merge idct8x8, coeff adjustments and put_pixels." Replace strncpy() with av_strlcpy(). indeo3: Eliminate use of long. get_bits: make cache unsigned to eliminate undefined signed overflow. asfdec: fix assert failure on invalid files avfilter: check malloc return values. Not pulled as reason for reindent is not pulled: mpegvideo: reindent. nutenc: check malloc return values. Not pulled due to much simpler solution in ffmpeg *: don't av_malloc(0). ... Conflicts: doc/developer.texi libavcodec/Makefile libavcodec/get_bits.h libavcodec/mpegvideo.c libavformat/Makefile libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratioStefano Sabatini2011-05-01
| | | | | | | | | | | | | | | | | | Improve consistency with libavcodec. This breaks libavfilter API/ABI. The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously done with the lavfi minor number.
* | lavfi: print key-frame and picture type information in ff_dlog_ref()Stefano Sabatini2011-04-27
| | | | | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer2011-03-17
| | | | | | | | This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
* | Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer2011-03-17
|/ | | | This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
* 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