Paul B Mahol
c679119a73
avfilter/vf_amplify: add tolerance option
6 years ago
Tomas Härdin
abc5ac3cf5
palettegen: Fill with last color, not black
If we fill with black then the generated palette will have one color more
than what the user requested. This also resulted in unwanted black specks in
the output of paletteuse, especially when generating small palettes.
6 years ago
Timo Rothenpieler
9e1e521393
avutil/cuda_check: fix usage of removed .c file
Why did this not break compilation?
6 years ago
Jun Zhao
ff5ed7abd6
avfilter/tests/integral: Correct the comment
Correct the comment
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
9f33b0ed39
avfilter/tests/integral: Fix build warning after adjust the location
Fix build warning like "warning: ISO C90 forbids mixed declarations
and code" after adjust the location for malloc fail check.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
6382d03347
avfilter/tests/integral: Check malloc fail before using it
Need to check malloc fail before using it, so adjust the location
in the code.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Paul B Mahol
08b83bf828
avfilter/vf_mix: always output frame if array is filled
6 years ago
Paul B Mahol
9e0e8e10c7
avfilter/vf_mix: add timeline support to tmix filter
6 years ago
Clément Bœsch
1a9c6cc411
lavfi/nlmeans: use a dynamic size for the weight LUT
6 years ago
Clément Bœsch
65e61febc8
lavfi/nlmeans: simplify log() call
6 years ago
Jun Zhao
6c586303a1
lavfi/nlmeans: improve the performance
Remove the pdiff_lut_scale in nlmeans and increase weight_lut table size
from 2^9 to 500000, this change will avoid using pdiff_lut_scale in
nlmeans_slice() for weight_lut table search, improving the performance
by about 12%. (in 1080P size picture case).
Use the profiling command like:
perf stat -a -d -r 5 ./ffmpeg -i input -an -vf nlmeans=s=30 -vframes 10 \
-f null /dev/null
without this change:
when s=1.0(default value) 63s
s=30.0 72s
after this change:
s=1.0(default value) 56s
s=30.0 63s
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Clément Bœsch <u@pkh.me>
6 years ago
Gyan Doshi
b5b6f6ad59
avfilter/buffersrc: print relevant info when skipping filter reinit
The timestamp of the changed input frame as well as its relevant
properties can be examined by the user. Only applicable when
reinit_filter is disabled on the input stream.
6 years ago
Zhong Li
260f1960e7
lavf/vaapi_deinterlace: return error if mode unsupported
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
6 years ago
Gyan Doshi
3224d6691c
avfilter/afade+acrossfade: allow skipping fade on inputs
New fade curve value 'nofade' passes audio samples as-is.
Primarily useful in carrying out acrossfade without fades.
6 years ago
Zachary Zhou
b8ebce4f84
libavfilter: add transpose_vaapi filter
Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip options
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
-hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
-c:v h264_vaapi output.h264
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
6 years ago
James Almer
af05070ddf
avfilter/vf_paletteuse: don't constantly free and realloc internal frames
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Gyan Doshi
f60fdbc960
avfilter/extractplanes: add support for 12-bit YUVA formats
At present, 16-bit auto-scaled format results in incorrect alpha
extraction.
6 years ago
Paul B Mahol
9217dedcd9
avfilter/af_anlmdn: add timeline support
6 years ago
Paul B Mahol
1ea5529dd2
avfilter: add maskfun filter
6 years ago
Paul B Mahol
f4fd8ef725
avfilter/af_anlmdn: rework how denoising strength is used
Make into account patch size.
6 years ago
Paul B Mahol
c65c4ce773
avfilter/af_anlmdn: do not output more samples than received
6 years ago
Paul B Mahol
c563513fdf
avfilter/af_anlmdn: drain samples at end
6 years ago
Paul B Mahol
b5ae61d2c0
avfilter/af_anlmdn: do not trim first samples
Instead denoise from start, assumming missing samples are silence.
6 years ago
Paul B Mahol
0c0fc8896c
avfilter/af_anlmdn: log used parameters
6 years ago
Paul B Mahol
395e8a53fa
avfilter/af_anlmdn: use lut table to calculate weights
6 years ago
Paul B Mahol
dcae5ba322
avfilter: add anlmdn filter x86 SIMD optimizations
6 years ago
Carl Eugen Hoyos
02b6d1dd63
lavfi/f_select: Cosmetics, move a function.
Silences a warning when only aselect was enabled:
libavfilter/f_select.c:421:12: warning: 'query_formats' defined but not used
6 years ago
Carl Eugen Hoyos
e51811d215
lavfi/f_select: Fix aselect filter standalone compilation.
6 years ago
Carl Eugen Hoyos
e52140ba37
lavfi/Makefile: Fix bwdif filter standalone compilation.
6 years ago
Paul B Mahol
ed3b64402e
avfilter/af_anlmdn: ignore too small values
6 years ago
Paul B Mahol
8a1fc95840
avfilter: add anlmdn audio filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
f2e2456294
avfilter/af_afir: adjust min partition size
Minimal value allowed by our FFT is 16 thus min partition size is 8.
6 years ago
James Almer
ef67af31ff
x86/af_afir: use three operand form forat some instructions
Fixes compilation with old yasm versions.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
5402c1886b
x86/af_afir: add ff_fcmul_add_avx()
fcmul_add_c: 1228.8
fcmul_add_sse3: 334.3
fcmul_add_avx: 186.3
Tested on a Core i5 4460 @ 3.2GHz
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
82043dfd2e
avfilter/af_afir: split off fcmul_add into a DSP context
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
9b5bd665e1
x86/af_afir: fix processing the last element
ff_fcmul_add_sse3() is now identical to the C version.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Paul B Mahol
af5b6b45b4
avfilter/vf_detelecine: fix obvious frame memory leaks
6 years ago
Michael Niedermayer
1b6695354d
avfilter/af_biquads: minor simplification by using ff_exp10()
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
5785e0e9c4
avfilter/af_crossfeed: Use ff_exp10()
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
796807022c
avfilter/ebur128: Simplify by using log10()
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Michael Niedermayer
47c3a10b16
avfilter/vf_tonemap_opencl: Make static tables const
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Paul B Mahol
35a8179149
avfilter/af_adelay: allow setting delays in seconds
6 years ago
Paul B Mahol
e1f7881d92
afilter/af_sofalizer: check explicitly other type
6 years ago
Paul B Mahol
51b356eef8
avfilter/af_sofalizer: stop allocating never used buffers
6 years ago
Paul B Mahol
86555a2fbf
avfilter/af_afir: fix overhead for small partitions
6 years ago
Paul B Mahol
3e8f211d86
avfilter/vf_chromashift: remove invalid offset
6 years ago
Paul B Mahol
ea3a980a61
avfilter/af_afir: do not over allocate fft buffer
6 years ago
Marton Balint
f9e947845f
avfilter/af_asetnsamples: fix last frame props
Frame properties were not copied, so e.g. PTS was not set for the last frame.
Regression since ef3babb2c7
.
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Zachary Zhou
b6b3159b04
lavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
6 years ago
Paul B Mahol
ba3d983c95
avfilter/af_afir: stop using as much threads as stream have it
6 years ago