Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-15avfilter/internal: Factor out executing a filter's execute_funcAndreas Rheinhardt
The current way of doing it involves writing the ctx parameter twice. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-13avfilter/formats: Factor common function combinations outAndreas Rheinhardt
Several combinations of functions happen quite often in query_format functions; e.g. ff_set_common_formats(ctx, ff_make_format_list(sample_fmts)) is very common. This commit therefore adds functions that are equivalent to commonly used function combinations in order to reduce code duplication. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-27avfilter: Constify all AVFiltersAndreas Rheinhardt
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-08avfilter/vf_lut: add support for commandsPaul B Mahol
While here remove excessive log and uninit() call in negate_init().
2019-07-05avfilter/vf_lut: fix regression with >8bit planar filteringPaul B Mahol
2019-06-03lavfi/lut: Add slice threading supportJun Zhao
Used the command for 1080p h264 clip as follow: a). ffmpeg -i input -vf lutyuv="u=128:v=128" -f null /dev/null b). ffmpeg -i input -vf lutrgb="g=0:b=0" -f null /dev/null after enabled the slice threading, the fps change from: a). 144fps to 258fps (lutyuv) b). 94fps to 153fps (lutrgb) in Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2018-09-09avfilter: add support for gray14 formatPaul B Mahol
2017-12-22avfilter/vf_lut: add support for gray formatsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-08-07avfilter: add support for GRAY9 and GBRAP10Paul B Mahol
2017-02-14avfilter/vf_lut: make it possible to clip pixel values that are out of valid ↵Paul B Mahol
range Previous behavior was not useful at all as such pixels where all mapped to 0. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-02-14avfilter/vf_lut: do not always explicitly clip pixelsPaul B Mahol
Old behaviour was not useful at all. New behaviour only emulate old behaviour with default options. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-08-31avfilter/vf_lut: unbreak planar rgb suppot on big-endianPaul B Mahol
2016-08-24avfilter/vf_lut: add planar RGB supportPaul B Mahol
2016-01-27avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis
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>
2015-10-30vf_lut: Add support for RGB48 and RGBA64.Steven Robertson
Signed-off-by: Steven Robertson <steven@strobe.cc> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-24all: remove some casts of function pointer to void *Ganesh Ajjanagadde
These casts are unnecessary, and may safely be removed. Found by enabling -Wpedantic on clang 3.7. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-09avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha optionPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-08Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes
2015-07-03avfilter/vf_lut: fix oversightPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03avutil: add missing bswap includeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-03avfilter/vf_lut: >8 bit depth planar yuv supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-03-17avfilter: handle error in query_formats() of a bunch of random video filtersClément Bœsch
2015-01-27lavfi/lut: apply minor compute_gammaval709() doxy fixStefano Sabatini
2014-12-18avfilter/lut: reduce dereference in the inner loopYayoi
For rgb, with a 1080p source, 69 to 74fps on core i5(2 core, 1.8GHz), and 136 to 160 fps on an core i7(4770R, 3.2Ghz) Changed the yuv code for consistency, even though the performance increase is not as obvious as rgb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-14avfilter/vf_lut: gammaval709()Peter Ross
See http://www.itu.int/rec/R-REC-BT.709 Item 1.2, overall opto-electronic transfer characteristics at source Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-19Merge commit '58400ac133bcfb6bf8196b4e5208bc178307739b'Michael Niedermayer
* 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>
2014-04-19lavfi: name anonymous structsVittorio Giovara
2013-10-29Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* 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>
2013-10-28lavfi: do not export the filters from shared objectsAnton Khirnov
2013-09-12avfilter: various cosmeticsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-09-01Merge commit 'faa8245bd45c1a6dd220ba9407ea1c82132aa1ce'Michael Niedermayer
* commit 'faa8245bd45c1a6dd220ba9407ea1c82132aa1ce': vf_lut: Constantize Conflicts: libavfilter/vf_lut.c See: d7e95ccd9ff3e55e194582a105421fa308a83ef1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-31vf_lut: ConstantizeDiego Elio Pettenò
The pixel format tables are never modified, mark them as constant. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-03avfilter: fix plane validity checksMichael Niedermayer
Fixes out of array accesses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-17Merge commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7'Michael Niedermayer
* commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7': vf_frei0r: make config_props work properly when called multiple times. vf_gradfun: make config_props work properly when called multiple times. vf_lut: make config_props work properly when called multiple times. Conflicts: libavfilter/vf_lut.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-17vf_lut: make config_props work properly when called multiple times.Anton Khirnov
Do not leak the expressions.
2013-05-16Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vf_pad: use the name 's' for the pointer to the private context vf_overlay: use the name 's' for the pointer to the private context vf_lut: use the name 's' for the pointer to the private context Conflicts: libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-16vf_lut: use the name 's' for the pointer to the private contextAnton Khirnov
This is shorter and consistent across filters.
2013-05-12lavfi: replace passthrough_filter_frame with a flag.Clément Bœsch
With the introduction of AVFilterContext->is_disabled, we can simplify the custom passthrough mode in filters. This commit is technically a small compat break, but the timeline was introduced very recently. Doxy by Stefano Sabatini.
2013-05-12lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.Clément Bœsch
2013-05-08lavfi/lut: add support for YUVA422P and YUVA444PPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-05-05Merge commit '093804a93cc5da3f95f98265a5df116912443cec'Michael Niedermayer
* commit '093804a93cc5da3f95f98265a5df116912443cec': avfilter: Add av_cold attributes to init/uninit functions Conflicts: libavfilter/af_ashowinfo.c libavfilter/af_volume.c libavfilter/src_movie.c libavfilter/vf_lut.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-04avfilter: Add av_cold attributes to init/uninit functionsDiego Biurrun
2013-04-27lavfi/negate: unbreak negate alphaPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-23lavfi: add timeline support.Clément Bœsch
Flag added in a few simple filters. A bunch of other filters can likely use the feature as well.
2013-04-17vf_lut: fix simplification / off by 1 errorMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-17lavfi/lut: simplify nested component stepping.Clément Bœsch
2013-04-17lavfi/lut: reindent after previous commit.Clément Bœsch
2013-04-17lavfi/lut: add direct path.Clément Bœsch
2013-04-15lavfi/negate: stop calling lut_init() as that function does nothing nowPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-12lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov
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>