Paul B Mahol
16efcfe413
avfilter/vf_weave: fix top vs bottom field order
...
Fixes #6590 .
8 years ago
Paul B Mahol
7b19e76aeb
avfilter/vf_transpose: rewrite for x86 SIMD
...
Transpose first in chunks of 8x8 blocks.
15% faster overall.
8 years ago
Vittorio Giovara
62dfa2ba14
Add tonemap filter
...
Based off mpv automatic tonemapping capabilities.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Vittorio Giovara
8b9ae9a8e0
zscale: Enable single precision input/ouput filtering
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Paul B Mahol
8d2da0939c
avfilter/vf_datascope: make it possible to change pixscope window position
8 years ago
Timo Rothenpieler
62b75537db
avfilter/scale_npp: fix logic used in previous patch
8 years ago
Timo Rothenpieler
f4ebbda566
avfilter/scale_npp: check for buffer allocation failure
...
I totally did not forget to amend this to the previous patch...
8 years ago
Yogender Gupta
77c5a54192
avfilter/scale_npp: fix passthrough mode
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years ago
Marton Balint
498c90c708
avfilter/vf_overlay: fix alpha blending for planar formats with a transparent background
...
When the background had an alpha channel, the old code in blend_plane
calculated premultiplied alpha from the destination plane colors instead of the
destination alpha.
Also the calculation of the output alpha should only happen after the color
planes are already finished.
Fixes output of:
ffplay -f lavfi "testsrc2=alpha=32[a];color=black[b];[b][a]overlay[out0]"
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Andy
448c88e1a5
avfilter/dynaudnorm: increment input outside of the FFMIN macro so it doesn't get double incremented
8 years ago
Paul B Mahol
41096904d0
avfilter/vf_separatefields: stop leaking last frame
...
This can happen when filtering is ended without receiving EOF.
8 years ago
Paul B Mahol
1bef0088dc
avfilter/drawutils: add gray9/10/12 support
8 years ago
Paul B Mahol
181c9abd47
avfilter/vf_premultiply: add inplace mode
8 years ago
Paul B Mahol
bac508fec1
avfilter: add support for GRAY9 and GBRAP10
8 years ago
Paul B Mahol
86222a7ea0
avfilter/vf_waveform: add support for 9 bit depth lowpass
8 years ago
Paul B Mahol
7bfbc2d787
avfilter/vf_extractplanes: add 9 bitdepth support
8 years ago
Paul B Mahol
5621a99e27
avfilter/drawutils: support gbrap10 too
8 years ago
Paul B Mahol
2cc56741b1
avfilter: add floodfill filter
8 years ago
Paul B Mahol
80bc648e77
avfilter: add tlut2 filter
8 years ago
Muhammad Faiz
f2d23ec03f
avfilter/vf_ssim: fix temp size calculation
...
Also use av_mallocz_array.
Fix Ticket6519.
Reviewed-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Yogender Gupta
2e8679373a
hwupload_cuda : Add 10/16 bit format support
...
Signed-off-by: Philip Langdale <philipl@overt.org>
8 years ago
Paul B Mahol
c79e753471
avfilter: add unpremultiply filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
8b2cd8e0e4
lavfi/vf_displace: move to "activate" design.
8 years ago
Nicolas George
5dbb111900
lavfi/vf_hysteresis: move to "activate" design.
8 years ago
Nicolas George
dbc4af862e
lavfi/vf_lut2: move to "activate" design.
8 years ago
Nicolas George
27d8af03ae
lavfi/vf_maskedclamp: move to "activate" design.
8 years ago
Nicolas George
0bc331bd57
lavfi/vf_mergeplanes: move to "activate" design.
8 years ago
Nicolas George
a5e3b0c193
lavfi/vf_maskedmerge: move to "activate" design.
8 years ago
Nicolas George
620608467f
lavfi/vf_midequalizer: move to "activate" design.
8 years ago
Nicolas George
b894415a70
lavfi/vf_premultiply: move to "activate" design.
8 years ago
Nicolas George
dbf7a67094
lavfi/vf_remap: move to "activate" design.
8 years ago
Nicolas George
d07e25de76
lavfi/vf_threshold: move to "activate" design.
...
Also fix missing dependency.
8 years ago
Nicolas George
0dd8320e16
lavfi/vf_stack: move to "activate" design.
8 years ago
Nicolas George
4e0e9ce2dc
lavfi/framesync2: implement "activate" design.
...
With this helper API, filters that used the first framesync
helper API can easily be changed to use the new and more
extensible design for filters with a single activate() callback.
8 years ago
Nicolas George
ed1c884b9e
lavfi: add outlink helper functions.
...
These wrappers cost nothing, they make the namespace more
consistent and they will be useful if/when locking becomes
necessary.
8 years ago
Nicolas George
b77f041dff
lavfi: make FFERROR_NOT_READY available to filters.
...
I am not entirely sure that this return code is useful,
but having and using it makes no harm.
8 years ago
Nicolas George
873306f265
lavfi/framesync2: rename all conflicting symbols.
8 years ago
Nicolas George
cffea1b483
lavfi: copy framesync into framesync2.
...
framesync2 will be the base for the version using activate.
Most of the logic will be the same, but the code cannot be shared.
Copying the file initially without change will make the diff
easier to read.
8 years ago
Nicolas George
1daacba91f
Revert "Revert "lavfi/buffersrc: push the frame deeper if requested.""
...
This reverts commit 04aa09c4bc
and reintroduces 0ff5567a30
that
was temporarily reverted due to minor regressions.
It also reverts e5bce8b4ce
that fixed FATE refs.
The fate-ffm change is caused by field_order now being set
on the output format because the first frame arrives earlier.
The fate-mxf change is assumed to be the same.
8 years ago
Nicolas George
bbc7cfbf1e
lavfi/testsrc2: fix completely transparent alpha.
8 years ago
Muhammad Faiz
7e9f550003
avfilter/w3fdif: do not write to line before start line
...
That line has been written by previous job.
Fix tsan warning.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Vittorio Giovara
2e91a96d7b
zscale: Factor out graph building
8 years ago
Vittorio Giovara
0a243bedec
zscale: Factor out format initialization
8 years ago
Paul B Mahol
12791ec5b0
avfilter/af_astats: measure dynamic range
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
a17fcd8e04
avfilter/af_astats: do not overwrite already set values when doing reset
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
George Boyle
6e156075b0
avfilter: Add blue and violet noise generation filters
...
For the blue and violet noise, I took the pink and brown noise
respectively and subtracted the offsets instead of adding them. When I
eyeball the frequency spectrum of the resulting outputs it looks correct
to me, i.e. the blue graph appears to be a mirror image of the pink, and
the same can be said of the violet and the brown. I did not do anything
else to confirm the correctness.
8 years ago
Muhammad Faiz
22b72de04b
avfilter/pthread: use slice threading from avutil
...
Benchmark (with 2 cpus):
./ffmpeg -f rawvideo -s 1280x720 -t 1000 -i /dev/zero \
-filter_threads $threads -vf transpose=clock -f null null
threads=2:
old: 31.129s 31.446s 31.574s
new: 29.602s 29.636s 29.656s
threads=3 (nb_threads = nb_cpus + 1 is bad choice at this situation):
old: 40.132s 40.279s 40.279s
new: 39.308s 39.570s 39.693s
threads=4:
old: 31.306s 31.366s 31.654s
new: 30.231s 30.360s 30.451s
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Ashish Singh
615479d51c
avfilter: add LIBVMAF filter
...
This one changes the previous vmaf patch to libvmaf to keep it separate from the
native implementation of vmaf inside ffmpeg later.
Signed-off-by: Ashish Singh <ashk43712@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years ago
James Almer
5688fd77b5
x86/vf_limiter: make limiter functions work on x86_32
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
01e545d046
avfilter: add limiter filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago