summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
Commit message (Collapse)AuthorAge
* Merge commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3'Derek Buitenhuis2016-02-24
|\ | | | | | | | | | | | | * commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3': lavfi: pass the hw frames context through the filter chain Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavfi: pass the hw frames context through the filter chainAnton Khirnov2016-02-14
| |
* | Merge commit 'c084d6d2cfb570b10d8784eb20cc696dfb7c5605'Derek Buitenhuis2016-02-17
|\| | | | | | | | | | | | | * commit 'c084d6d2cfb570b10d8784eb20cc696dfb7c5605': buffersrc: default SAR to 0 (unknown) rather than 1 Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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.
* | Merge commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266'Derek Buitenhuis2016-02-16
|\| | | | | | | | | | | | | | | | | This commit is a no-op. * commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266': buffersrc: do not discard the error from ff_filter_frame() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * 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.
* | avfilter/all: propagate errors of functions from avfilter/formatsGanesh Ajjanagadde2015-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | Remove left-over FF_API_AVFILTERBUFFER cruftHendrik Leppkes2015-09-05
| |
* | Merge commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0'Hendrik Leppkes2015-09-05
|\| | | | | | | | | | | | | * commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0': lavfi: Drop deprecated AVFilterBuffer* code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
* | avfilter/buffersrc: Use correct, matching deallocation functionMichael Niedermayer2015-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '617814b4a717b38add5ccb8dd200dbb655f98f09'Michael Niedermayer2015-04-20
|\| | | | | | | | | | | | | * commit '617814b4a717b38add5ccb8dd200dbb655f98f09': buffersrc: Fix resource leak on error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | avfilter/buffersrc: add context to av_log() callMichael Niedermayer2014-12-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/buffersrc: reindentClément Bœsch2014-06-29
| |
* | avcodec/buffersrc: use av_mallocz_array()Michael Niedermayer2014-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: use av_fifo_freepLukasz Marek2014-05-07
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit '58400ac133bcfb6bf8196b4e5208bc178307739b'Michael Niedermayer2014-04-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '58400ac133bcfb6bf8196b4e5208bc178307739b': lavfi: name anonymous structs Conflicts: libavfilter/buffersink.c libavfilter/f_select.c libavfilter/src_movie.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_overlay.c libavfilter/vf_showinfo.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: name anonymous structsVittorio Giovara2014-04-19
| |
* | Merge commit '104a97beaffa6348e6fd2c2d07d67c1402322bb3'Michael Niedermayer2014-01-17
|\| | | | | | | | | | | | | | | | | | | * commit '104a97beaffa6348e6fd2c2d07d67c1402322bb3': buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctly Conflicts: libavfilter/buffersrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctlyAnton Khirnov2014-01-17
| |
* | lavfi/abuffersrc: use AV_OPT_TYPE_SAMPLE_FMT for sample_fmt optionStefano Sabatini2013-12-26
| | | | | | | | Simplify/extend syntax.
* | lavfi/buffersrc: set min and max values for pix_fmt optionStefano Sabatini2013-12-16
| | | | | | | | | | Currently the min and max values are not honored, but this will change in a following patch.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: do not export the filters from shared objectsAnton Khirnov2013-10-28
| |
* | Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7950e519bb094897f957b9a9531cc60ba46cbc91': Disable deprecation warnings for cases where a replacement is available Conflicts: libavcodec/avpacket.c libavcodec/pthread.c libavcodec/utils.c libavdevice/v4l2.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
| |
* | 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: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/buffersrc: remove unused item from BufferSourceContextPaul B Mahol2013-07-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi/buffersrc: fix failed requests count.Nicolas George2013-04-17
| | | | | | | | | | | | | | | | The line was lost during the AVFrame transition. It causes programs relying on the failed requests count, especially ffmpeg, to add frames to the wrong input. Fix trac ticket #2467.
* | lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libavfilter/avfilter.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vsrc_color.c libavfilter/vsrc_movie.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | abuffer: switch to an AVOptions-based shorthand system.Michael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | buffersrc: switch to an AVOptions-based shorthand system.Michael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/buffersrc: update for compatibility with the fork.Nicolas George2013-04-11
| | | | | | | | Merge and adapt commit d28cb84 by Anton Khirnov.
* | Merge commit '6599b087de62a5f9f2a8d61a1952d777d1bff804'Michael Niedermayer2013-03-20
|\| | | | | | | | | | | | | | | * commit '6599b087de62a5f9f2a8d61a1952d777d1bff804': buffersrc: fix a typo. lavc, lavfi: fix counting number of planes in AVBufferRef wrappers Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | buffersrc: fix w/h errorMichael Niedermayer2013-03-18
| | | | | | | | | | Found-by: nevcairiel Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cigaes/master'Michael Niedermayer2013-03-17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * cigaes/master: lavfi/buffersink: fix header. lavfi/buffersrc: disable deprecated warnings. lavfi/buffersrc: check channel count changes. lavfi/buffersrc: set channel layout if it is known. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavfi/buffersrc: disable deprecated warnings.Nicolas George2013-03-17
| | |
| * | lavfi/buffersrc: check channel count changes.Nicolas George2013-03-17
| | |
| * | lavfi/buffersrc: set channel layout if it is known.Nicolas George2013-03-17
| | | | | | | | | | | | Introduced in 01649c7, lost in the API change.