summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
Commit message (Collapse)AuthorAge
* lavfi: pass the hw frames context through the filter chainAnton Khirnov2016-02-14
|
* buffersrc: default SAR to 0 (unknown) rather than 1Anton Khirnov2016-02-14
| | | | | | It makes more sense to not claim anything about the SAR if we don't know anything. No changes in the FATE tests, since this is what avconv ends up doing anyway.
* buffersrc: do not discard the error from ff_filter_frame()Anton Khirnov2016-02-12
|
* buffersrc: accept the frame rate as argument.Nicolas George2015-11-09
| | | | | | (cherry picked from ffmpeg commit 9ca440679dc535b31edd569393d8d3dda59db90e) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffersrc: Improve initialization log messageVittorio Giovara2015-09-13
| | | | Add timebase and aspect ratio information.
* lavfi: Drop deprecated AVFilterBuffer* codeVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* buffersrc: Use the correct deallocation functionFederico Tomassetti2015-04-22
| | | | | | This correction was suggested to me by Michael Niedermayer Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* buffersrc: Fix resource leak on errorFederico Tomassetti2015-04-19
| | | | | | Bug-Id: CID 1267902 CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* buffersrc: avoid using AV_PIX_FMT_NBAnton Khirnov2014-05-26
| | | | | That hardcodes the number of pixel formats into lavfi and will break when a shared lavu is updated, adding new pixel formats.
* lavfi: name anonymous structsVittorio Giovara2014-04-19
|
* buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctlyAnton Khirnov2014-01-17
|
* lavfi: do not export the filters from shared objectsAnton Khirnov2013-10-28
|
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* lavfi: add attribute_align_arg to all public entry pointsHendrik Leppkes2013-07-26
| | | | | | | | | | Previously it was partly only added to central functions called internally, however if GCC would inline these into the public fuction, the alignment attribute would not take effect. Instead, add it to all public entry points to avoid these problems. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: let gcc realign the stack on public graph driving functionsHendrik Leppkes2013-05-04
| | | | | | | | | | The functions which actually drive the filter graph by pushing frames through it need to ensure an aligned stack for SIMD functions. This fixes a crash in YADIF filter when using a mingw build in a MSVC application. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-09
|
* buffersrc: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* buffersrc: fix a typo.Anton Khirnov2013-03-19
| | | | Vertical shift is log2_chroma_h, not log2_chroma_w.
* lavc, lavfi: fix counting number of planes in AVBufferRef wrappersAnton Khirnov2013-03-19
| | | | | | Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
* lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappersAnton Khirnov2013-03-17
| | | | | It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
* lavfi: switch to AVFrame.Anton Khirnov2013-03-08
| | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead.
* lavfi: merge start_frame/draw_slice/end_frameAnton Khirnov2012-11-28
| | | | | Any alleged performance benefits gained from the split are purely mythological and do not justify added code complexity.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* lavfi: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* lavfi: convert input/ouput list compound literals to named objectsMans Rullgard2012-10-10
| | | | | | | A number of compilers, for example those from TI and IBM, choke on these initialisers. The current style is also quite ugly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()Anton Khirnov2012-09-17
|
* lavfi: replace empty input/output lists with null pointersMans Rullgard2012-09-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avopt: Explicitly store rational option defaults in .dblMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* buffersrc: check ff_get_audio_buffer() for errors.Anton Khirnov2012-07-22
|
* lavfi: check all ff_get_video_buffer() calls for errors.Anton Khirnov2012-07-22
|
* buffersrc: avoid creating unnecessary buffer referenceAnton Khirnov2012-07-22
|
* lavfi: check all ff_start_frame/draw_slice/end_frame calls for errorsAnton Khirnov2012-07-22
|
* lavfi: use const for AVFilterPad declarations in all filters.Ronald S. Bultje2012-07-21
|
* lavfi: add error handling to filter_samples().Anton Khirnov2012-07-09
|
* lavfi: make filters less verbose.Anton Khirnov2012-06-26
|
* lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruftAnton 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: make AVFilterPad opaque after two major bumps.Anton Khirnov2012-06-13
| | | | It will allow adding new fields to it without ABI breaks.
* lavfi: make avfilter_get_video_buffer() private on next bump.Anton Khirnov2012-06-13
| | | | | They are only useful inside filters and we don't allow user filters for now.
* 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 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: add an audio buffer source.Anton Khirnov2012-05-14
|
* buffersrc: add av_buffersrc_write_frame().Anton Khirnov2012-05-14
| | | | | | | It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts or pixel_aspect parameters. Those are read from AVFrame. Deprecate av_vsrc_buffer_add_frame().
* buffersrc: fix invalid read in uninit if the fifo hasn't been allocatedAnton Khirnov2012-05-14
|
* lavfi: rename vsrc_buffer.c to buffersrc.cAnton Khirnov2012-05-14
Most of the code will be shared for both audio and video version.