Paul B Mahol
f9f1b2a927
avfilter/vf_convolve: split input/output operations from fft
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
86e3eebfb7
avfilter/vf_convolve: use shorter variants for pointers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
ec6608f51b
avfilter/vf_convolve: clear coefficients only when needed
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
5533cbfc84
avfilter/vf_convolve: fix various issues
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
175122fcd5
avfilter/vf_convolve: fix convolution of borders
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
b5958ff82e
avfilter/vf_convolve: unbreak non-power of 2 width&height filtering
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
b943bc343d
avfilter/vf_fftfilt: support >8 bit depth formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
f6608f4725
avfilter/vf_aspect: change outlink sample aspect ratio instead of inlink
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
4754d70a23
avfilter/video: pick sar from link
...
It should not be needed for each filter that sets sample aspect ratio
to set it explicitly also for each and every frame, instead that is
automatically done in get_buffer call.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
d2a2bc9a9f
avfilter/vf_lut: add support for gray formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Marton Balint
e403e4bdbe
avfilter/vf_framerate: fix scene score with negative linesize
...
Also, do not overread input if linesize > width, or linesize is not divisible
by 8, and use the proper rounded width/height for MAFD calculation.
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
c6a65ed670
avfilter/vf_framerate: do not calculate scene change score multiple times for the same frame
...
This speeds up the filter, and also fixes scene change detection score which is
reduced based on the difference of the current MAFD to the preivous MAFD.
Obviously if we compare two frames twice, the difference will be 0...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
e1113a83cc
avfilter/vf_framerate: fix scene change detection score
...
- normalize score to [0..100] instead of [0..85]
- change the default score to 8.2 to roughly keep existing behaviour
- take into account bit depth
- do not truncate to integer
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
be15304ee6
avfilter/vf_framerate: factorize get_scene_score
...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
090b740680
avfilter/vf_framerate: factorize blend_frames
...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
1eb926dc02
avfilter/vf_framerate: add threaded blending operations
...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Paul B Mahol
5a6e753bc6
avfilter/af_biquads: change defaults for biquad filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
7fc89f226f
avfilter/af_biquads: increase width range
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
c99ed89f89
avfilter/af_biquads: add kHz width_type
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
cfd52094c0
avfilter/vf_psnr: add more gbrap formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
James Almer
8e0e4384b0
Revert "avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16"
...
This reverts commits 1a5865b6dc
and
8fb1d63d91
.
They made fate interlace tests fail when AVX2 was used.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Martin Vignali
3df6e61dad
avfilter/x86/vf_hflip : indent
...
based on patch by Paul B Mahol
7 years ago
Martin Vignali
f181648176
avfilter/x86/vf_hflip : add avx2 version for hflip_byte and hflip_short
7 years ago
Martin Vignali
a4a4179e83
avfilter/x86/vf_hflip : merge hflip byte and hflip short to one macro
7 years ago
Martin Vignali
8fb1d63d91
avfilter/vf_tinterlace : add AVX2 func for lowpass_line 8 and 16
7 years ago
Martin Vignali
1a5865b6dc
avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16
7 years ago
Martin Vignali
d31770d9a6
avfilter/vf_interlace : move func init in ff_interlace_init and add depth arg for ff_interlace_init_x86
7 years ago
Mateusz
6260ab60a8
avfilter/vf_overlay: fix packed_rgb case
...
Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl>
7 years ago
Ronald S. Bultje
df3222d4bb
libvmaf: exit gracefully if the library fails.
...
Fixes trac issue #6884 and Netflix/vmaf issue #124 .
7 years ago
Paul B Mahol
9dcecbf04c
avfilter/af_biquads: add missing break statements
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Carl Eugen Hoyos
9b79c65ec0
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
7 years ago
Paul B Mahol
600c8729e2
avfilter/af_biquads: remove unused enum item
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
ce626f2695
avfilter/av_biquads: add support for commands
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
d29f784a54
avfilter/vf_overlay: add premultiplied alpha mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Martin Vignali
3c6dc27035
avfilter/x86/vf_interlace : avfilter/x86/vf_interlace : fix crash when using unaligned data in low_pass complex
...
related to ticket 6491
7 years ago
Martin Vignali
49dced9fd0
avfilter/x86/vf_interlace : avoid crash when data are unaligned
...
ticket 6491
7 years ago
Gyan Doshi
1c76134fe3
avfilter/drawbox+drawgrid - add option to prevent overwriting of source pixels
...
If the user-supplied color in drawbox and drawgrid filters is non-opaque,
the box & grid painting overwrites the input's pixels (including alpha).
Users typically expect the alpha of the specified color to only act as a key
for compositing on top of the main input.
Added option allows users to select between replacement and composition.
Tested and documented.
7 years ago
Kelly Ledford
bc219082bb
libavfilter/af_dcshift.c: Fixed repeated spelling error
...
'threshhold' should be 'threshold'
Signed-off-by: Kelly Ledford <kelly.ledford@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Martin Vignali
46f534bdee
avfilter/vf_hflip : move context func init in ff_hflip_init
7 years ago
Jun Zhao
4280948702
avfilter/formats: fix wrong function name in error message
...
Use perdefined micro __FUNCTION__ rather than hard coding function name
to fix wrong function name in error message.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Paul B Mahol
a0e4c41d08
avfilter/vf_pseudocolor: add support for more formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
cbd524b26c
avfilter/avfiltergraph: remove ugly dead code
...
Remnant of old merge.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Martin Vignali
869efbf971
avfilter/x86/vf_threshold : add threshold16 SIMD (SSE4 and AVX2)
7 years ago
Paul B Mahol
713f9c5b5d
avfilter/vf_scale: add more aliases for "range" options
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Vittorio Giovara
bc38c8f442
vf_zscale: Fix alpha destination graph for floating point pixel formats
...
This was setting the input pixel type instead of the output one,
leading to incorrect data being fed to the library.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
7 years ago
Paul B Mahol
299a622297
avfilter/vf_waveform: add default case when picking input formats
...
Should silence compiler warnings.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
James Almer
f2aa0ce5a0
x86/vf_hflip: use xor to zero initialize registers
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
dc33fe1d00
x86/vf_hflip: don't load the width argument twice
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Paul B Mahol
53855e3c04
avfilter: add setrange filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
312b00de8f
avfilter/vf_convolution: add 7x7 filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago