summaryrefslogtreecommitdiff
path: root/libavfilter/vf_blend.c
Commit message (Collapse)AuthorAge
* avcodec/filter: Remove extra '; ' outside of functionsAndreas Rheinhardt2019-10-07
| | | | | | | | They are not allowed outside of functions. Fixes the warning "ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]" when compiling with GCC and -pedantic. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_blend: add 9bit supportPaul B Mahol2019-07-14
|
* avfilter/vf_blend: use time_base from framesyncPaul B Mahol2019-07-03
| | | | Fixes non-monotonous timestamps.
* libavfilter/vf_blend.c: remove duplicate code with macro-defined functionLimin Wang2019-06-14
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* libavfilter/vf_blend.c: remove duplicate code with same functionLimin Wang2019-06-14
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avfilter/vf_blend: remove unused headerPaul B Mahol2019-05-03
|
* avfilter: use av_clip_uintp2 instead of av_clip for 10b and 12bMartin Vignali2018-11-17
|
* avfilter/vf_blend: add 12bit supportPaul B Mahol2018-11-15
|
* avfilter/vf_blend: add 10bit supportPaul B Mahol2018-11-15
|
* avfilter/vf_blend: add timeline support to tblend filterPaul B Mahol2018-05-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: ignore SAR from all inputsPaul B Mahol2017-11-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: rename framesync2 to framesync.Nicolas George2017-09-12
|
* lavfi/vf_blend: convert to framesync2.Nicolas George2017-08-29
|
* avfilter/vf_blend: rename addition128 and difference128 to grainmerge and ↵Paul B Mahol2017-08-24
| | | | grainextract
* avfilter/vf_blend: add extremity blend modePaul B Mahol2017-06-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add GBRAP16Paul B Mahol2017-04-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: split frame_count between input and output.Nicolas George2016-11-13
| | | | | | | | | | | | AVFilterLink.frame_count is supposed to count the number of frames that were passed on the link, but with min_samples, that number is not always the same for the source and destination filters. With the addition of a FIFO on the link, the difference will become more significant. Split the variable in two: frame_count_in counts the number of frames that entered the link, frame_count_out counts the number of frames that were sent to the destination filter.
* avfilter: make use of ff_filter_get_nb_threadsPaul B Mahol2016-08-29
|
* avfilter/vf_blend: fix incorrect Y variable when threading is usedPaul B Mahol2016-05-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add freeze and heat modesPaul B Mahol2016-02-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_blend: Move C dsp function mapping to separate functionTimothy Gu2016-02-14
|
* vf_blend: Use integers for divide modeTimothy Gu2016-02-14
| | | | | | | | 2.5x faster for 8-bit mode without autovectorization in GCC, 2x slower with it on x86. However, since the platforms we enable GCC autovectorization on most probably has support for SSE2 optimization (added in the subsequent commit), this commit should in general do good.
* vf_blend: Reduce number of arguments for kernel functionTimothy Gu2016-02-14
|
* vf_blend: Use memcpy when opacity is 0Timothy Gu2016-02-14
| | | | For xor mode, 1.8x faster on Haswell.
* vf_blend: Templatize identity function and use a better nameTimothy Gu2016-02-14
|
* avfilter/vf_blend: add multiply128 modePaul B Mahol2016-02-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* 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>
* avfilter,swresample,swscale: use fabs, fabsf instead of FFABSGanesh Ajjanagadde2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | It is well known that fabs and fabsf are at least as fast and sometimes faster than the FFABS macro, at least on the gcc+glibc combination. For instance, see the reference: http://patchwork.sourceware.org/patch/6735/. This was a patch to glibc in order to remove their usages of a macro. The reason essentially boils down to fabs using the __builtin_fabs of the compiler, while FFABS needs to infer to not use a branch and to simply change the sign bit. Usually the inference works, but sometimes it does not. This may be easily checked by looking at the asm. This also has the added benefit of reducing macro usage, which has problems with side-effects. Note that avcodec is not handled here, as it is huge and most things there are integer arithmetic anyway. Tested with FATE. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/vf_blend: fix normal mode with opacity != 1Paul B Mahol2015-10-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: Fix argument types, fix segfault in asmMichael Niedermayer2015-10-03
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_blend: add x86 SIMD for some modesPaul B Mahol2015-10-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add addition128 modePaul B Mahol2015-09-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-20
| | | | It has no longer any effect.
* avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast optionsClément Bœsch2015-09-08
|
* Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
|
* avfilter/vf_blend: use the name 's' for the pointer to the private contextPaul B Mahol2015-08-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: unbreak tblendPaul B Mahol2015-07-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: implement 16bit supportPaul B Mahol2015-07-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add linearlight and glow modePaul B Mahol2015-06-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add hardmix modePaul B Mahol2015-06-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: fix vividlight blend modePaul B Mahol2015-06-02
| | | | | Pointed-out-by: Rudolf Polzer Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: clip result for divide blend modePaul B Mahol2015-06-02
| | | | | Pointed-out-by: Rudolf Polzer Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: handle error in query_formats() in bunch of filtersPaul B Mahol2015-04-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_tblend: use av_frame_free for freeing an AVFrameClément Bœsch2015-03-02
|
* libavfilter/vf_blend: do not unconditionally compile both filtersPaul B Mahol2015-01-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: Fix AVClassMichael Niedermayer2014-12-27
| | | | | | Fixes infinite loop Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add tblend filterStefano Sabatini2014-12-27
|
* lavfi/blend: add difference128 modeStefano Sabatini2014-12-26
|
* avfilter/vf_blend: fix macro ()Michael Niedermayer2014-06-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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>