Martin Vignali
869efbf971
avfilter/x86/vf_threshold : add threshold16 SIMD (SSE4 and AVX2)
8 years ago
Paul B Mahol
713f9c5b5d
avfilter/vf_scale: add more aliases for "range" options
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 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>
8 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>
8 years ago
James Almer
f2aa0ce5a0
x86/vf_hflip: use xor to zero initialize registers
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
dc33fe1d00
x86/vf_hflip: don't load the width argument twice
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
53855e3c04
avfilter: add setrange filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
312b00de8f
avfilter/vf_convolution: add 7x7 filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
cc2ba526d4
x86/vf_threshold: make threshold8 functions work on x86_32
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
5ff0d2acae
avfilter/x86/vf_hflip.asm: fix building on x32
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
86fda8be3f
avfilter: add hflip x86 SIMD
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
b73304f79e
x86vf_threshold/: use the PBLENDVB macro
Fixes building with yasm
Tested-by: stevenliu
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Martin Vignali
6e3e696591
avfilter/x86/vf_threshold : cosmetic indent
8 years ago
Martin Vignali
9719d57b34
avfilter/x86/vf_threshold : add avx2 version for threshold 8
8 years ago
Martin Vignali
51345cb1d5
avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version
8 years ago
Martin Vignali
fa470384ea
avfilter/vf_threshold : move context func init in ff_threshold_init
8 years ago
Paul B Mahol
225341b20d
avfilter/vf_stack: always copy SAR from first input
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
bbfcb1b7c8
avfilter/vf_threshold: add x86 SIMD
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
e1dd97bd4c
avfilter: add fillborders filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
2cfc8b172c
avfilter/vf_tile: add init_padding option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Carl Eugen Hoyos
d13b8f68d7
lavfi/libvmaf: Rename local variable "main" as "master".
Fixes the following warning:
libavfilter/vf_libvmaf.c:179:14: warning: 'main' is usually a function
Missed in 5d3e9357
8 years ago
Gyan Doshi
b3cb9bd43f
avfilter/drawbox: rename variable for maximum thickness
The present value name for maximum thickness is 'max' which results in a
parse error of any thickness expression containing 'max(val1,val2)'.
Value renamed to 'fill'. Tested locally and documented.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
99e9697e3a
stereo3d: Support view type for frame sequence type
Implement detection in h264 and hevc and insertion in framepack filter.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Vittorio Giovara
002db7d49a
vf_zscale: Add more supported input properties
Bump the minimum version necessary in the configure file.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Vittorio Giovara
3e0560b054
vf_zscale: Relax color properties maximum bounds
This simplifies adding new values, which are already validated elsewhere.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Paul B Mahol
eb86f72fca
avfilter/vf_threshold: use correct linesize
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
2d1594a8d6
avfilter/af_silenceremove: fix possible crash if supplied duration is negative
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
9152bda839
avfilter/af_silenceremove: fix logic error in EOF case
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ffc01280be
avfilter: add lv2 wrapper filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Richard Ling
7d4fe0c5cb
avfilter: add normalize filter
8 years ago
Paul B Mahol
63826a0b82
avfilter/af_amix: make use of av_asprintf()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ec5328aa6f
avfilter: add mix filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
59365e6345
avfilter/af_ladspa: remove duplicate code lines
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
ef8979f199
avfilter/Makefile: skip building opencl.h when opencl is disabled
Fixes make checkheaders.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Mark Thompson
3650cb2dfa
lavu,lavfi,ffmpeg: Remove experimental OpenCL API
This was added in early 2013 and abandoned several months later; as far as
I can tell, there are no external users. Future OpenCL use will be via
hwcontext, which requires neither special OpenCL-only API nor global state
in libavutil.
All internal users are also deleted - this is just the unsharp filter
(replaced by unsharp_opencl, which is more flexible) and the deshake filter
(no replacement).
8 years ago
Mark Thompson
5514bab37a
vf_hwmap: Pass mapping mode when deriving frames context on an existing device
To match creation on a newly-derived device. (This was missed earlier
because the mode is only used in some cases.)
8 years ago
Mark Thompson
7faa8d8b03
lavfi: Add OpenCL unsharp mask filter
Intended to replace existing opencl mode of the unsharp filter.
Supports many more pixel formats and works without immediate upload
and download of frame data. The options are compatible with the
existing filter.
8 years ago
Mark Thompson
9204b2deea
lavfi: Add OpenCL overlay filter
Input and output formats must be the same, the overlay format must be
the same as the input except possibly with an additional alpha component.
8 years ago
Mark Thompson
59d6529333
lavfi: Add infrastructure for building OpenCL source into libavfilter
8 years ago
Mark Thompson
5c21c41b7d
lavfi: Add some common code for OpenCL filtering
8 years ago
Paul B Mahol
000836c2a9
avfilter/af_asetnsamples: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
afd2bf54c3
avfilter/avf_avectorscope: add swap and mirror options
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Zhong Li
f7d77b4112
lavf/qsv_vpp: check the return value of ff_formats_ref()
Fixes the build warning of "ignoring return value of ‘ff_formats_ref’,
declared with attribute warn_unused_result"
Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
8 years ago
Zhong Li
81c615f0fe
lavf/qsv_overlay: check the return value of ff_formats_ref()
Fixes the build warning of "ignoring return value of ‘ff_formats_ref’,
declared with attribute warn_unused_result"
Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
8 years ago
Paul B Mahol
16d67fabb1
avfilter/avfiltergraph: pass correct audio/video flags
Previously video flags where set for audio option.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
5c7c0c5b58
avfilter/af_afftfilt: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
4073046089
avfilter/af_headphone: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
d1b284119b
avfilter/af_afir: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
200f497997
avfilter/af_surround: add missing error check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
185af4ccb1
avfilter/af_extrastereo: fix filtering when clipping is disabled
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago