summaryrefslogtreecommitdiff
path: root/libavfilter/vf_extractplanes.c
Commit message (Collapse)AuthorAge
* lavfi: make filter_frame non-recursive.Nicolas George2016-12-18
| | | | | | | | | | | | | | | | | | | | | | | | A lot of changes happen at the same time: - Add a framequeue fifo to AVFilterLink. - split AVFilterLink.status into status_in and status_out: requires changes to the few filters and programs that use it directly (f_interleave, split, filtfmts). - Add a field ready to AVFilterContext, marking when the filter is ready and its activation priority. - Add flags to mark blocked links. - Change ff_filter_frame() to enqueue the frame. - Change all filtering functions to update the ready field and the blocked flags. - Update ff_filter_graph_run_once() to use the ready field. - buffersrc: always push the frame immediately.
* avfilter/vf_extractplanes: add extract support for 10bit and 12bit formatsPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/extractplanes: Add RGB0 and friends as supported pix_fmts.Carl Eugen Hoyos2016-03-07
|
* lavfi/extractplanes: Fix in_pixfmts.Carl Eugen Hoyos2016-03-07
| | | | | | | If the original pix_fmt was >8 bit and not supported by the filter, the filter system could choose a pix_fmt with different endianness as input for extractplanes which broke the output because the output always used the endianness of the original pix_fmt.
* lavfi/extractplanes: Move endianness calculation up.Carl Eugen Hoyos2016-03-07
| | | | Needed for next commit.
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavfi: replace link.closed by link.status.Nicolas George2015-12-22
| | | | | | The status field can carry any error code instead of just EOF. Also only update it through a wrapper function and provide a timestamp. Update the few filters that used it directly.
* 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>
* Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
|
* avfilter/vf_extractplanes: use faster path for input formats with only one ↵Paul B Mahol2015-07-01
| | | | | | component Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: rename misleading variablePaul B Mahol2015-07-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: support more pixel formatsPaul B Mahol2015-07-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: use the name 's' for the pointer to the private ↵Paul B Mahol2015-01-28
| | | | | | context Signed-off-by: Paul B Mahol <onemda@gmail.com>
* 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>
* avfilter: add av_cold to init()Paul B Mahol2013-09-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0'Michael Niedermayer2013-05-18
| | | | | | | | | | | | * commit 'b01f6041f4260fba053c2f96ce1611ea77e833a0': lavfi: rename AVFilterFormats.format_count to nb_formats Conflicts: libavfilter/avfiltergraph.c libavfilter/filtfmts.c libavfilter/formats.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: use ceil right shift for chroma width/height.Clément Bœsch2013-05-10
| | | | | | | This should fix several issues with odd dimensions inputs. lut, vflip, pad and crop video filters also need to be checked for such issues. It's possible sws is also affected.
* lavfi: remove alphaextract special codePaul B Mahol2013-05-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/extractplanes: packed rgb supportPaul B Mahol2013-05-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: add gbrap support to some filtersPaul B Mahol2013-05-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add av_cold to uninit()Michael Niedermayer2013-05-06
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* extractplanes filterPaul B Mahol2013-05-03
Signed-off-by: Paul B Mahol <onemda@gmail.com>