Martin Vignali
869efbf971
avfilter/x86/vf_threshold : add threshold16 SIMD (SSE4 and AVX2)
2017-12-09 14:47:09 +01:00
Paul B Mahol
713f9c5b5d
avfilter/vf_scale: add more aliases for "range" options
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-08 20:36:44 +01:00
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>
2017-12-08 10:11:50 -05:00
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>
2017-12-08 12:31:01 +01:00
James Almer
f2aa0ce5a0
x86/vf_hflip: use xor to zero initialize registers
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-07 19:34:12 -03:00
James Almer
dc33fe1d00
x86/vf_hflip: don't load the width argument twice
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-07 19:34:12 -03:00
Paul B Mahol
53855e3c04
avfilter: add setrange filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-06 15:42:23 +01:00
Paul B Mahol
312b00de8f
avfilter/vf_convolution: add 7x7 filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-04 21:32:29 +01:00
James Almer
cc2ba526d4
x86/vf_threshold: make threshold8 functions work on x86_32
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-04 15:46:09 -03:00
Paul B Mahol
5ff0d2acae
avfilter/x86/vf_hflip.asm: fix building on x32
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-04 15:08:43 +01:00
Paul B Mahol
86fda8be3f
avfilter: add hflip x86 SIMD
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-04 09:58:25 +01:00
James Almer
b73304f79e
x86vf_threshold/: use the PBLENDVB macro
...
Fixes building with yasm
Tested-by: stevenliu
Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-04 02:22:30 -03:00
Martin Vignali
6e3e696591
avfilter/x86/vf_threshold : cosmetic indent
2017-12-03 19:17:28 +01:00
Martin Vignali
9719d57b34
avfilter/x86/vf_threshold : add avx2 version for threshold 8
2017-12-03 19:17:23 +01:00
Martin Vignali
51345cb1d5
avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version
2017-12-03 19:17:19 +01:00
Martin Vignali
fa470384ea
avfilter/vf_threshold : move context func init in ff_threshold_init
2017-12-03 19:17:11 +01:00
Paul B Mahol
225341b20d
avfilter/vf_stack: always copy SAR from first input
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-02 23:29:49 +01:00
Paul B Mahol
bbfcb1b7c8
avfilter/vf_threshold: add x86 SIMD
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-02 14:58:56 +01:00
Paul B Mahol
e1dd97bd4c
avfilter: add fillborders filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-01 18:57:24 +01:00
Paul B Mahol
2cfc8b172c
avfilter/vf_tile: add init_padding option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-01 10:55:30 +01:00
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
2017-11-30 14:13:15 +01:00
James Almer
d268094f88
Merge commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa'
...
* commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa':
stereo3d: Support view type for frame sequence type
Merged-by: James Almer <jamrial@gmail.com>
2017-11-29 21:06:49 -03:00
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>
2017-11-28 21:42:48 +01:00
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>
2017-11-28 14:56:51 -05:00
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>
2017-11-28 14:51:45 -05:00
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>
2017-11-28 13:55:47 -05:00
Paul B Mahol
eb86f72fca
avfilter/vf_threshold: use correct linesize
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-27 18:04:39 +01:00
Paul B Mahol
2d1594a8d6
avfilter/af_silenceremove: fix possible crash if supplied duration is negative
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-27 16:34:09 +01:00
Paul B Mahol
9152bda839
avfilter/af_silenceremove: fix logic error in EOF case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-27 13:38:33 +01:00
Paul B Mahol
ffc01280be
avfilter: add lv2 wrapper filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-26 14:05:25 +01:00
Richard Ling
7d4fe0c5cb
avfilter: add normalize filter
2017-11-25 09:51:33 +01:00
Paul B Mahol
63826a0b82
avfilter/af_amix: make use of av_asprintf()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24 17:09:48 +01:00
Paul B Mahol
ec5328aa6f
avfilter: add mix filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24 16:51:33 +01:00
Paul B Mahol
59365e6345
avfilter/af_ladspa: remove duplicate code lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24 13:36:26 +01:00
James Almer
ef8979f199
avfilter/Makefile: skip building opencl.h when opencl is disabled
...
Fixes make checkheaders.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-23 19:11:17 -03:00
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).
2017-11-22 23:20:39 +00:00
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.)
2017-11-22 23:18:42 +00:00
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.
2017-11-22 23:18:35 +00:00
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.
2017-11-22 23:18:02 +00:00
Mark Thompson
59d6529333
lavfi: Add infrastructure for building OpenCL source into libavfilter
2017-11-22 23:17:34 +00:00
Mark Thompson
5c21c41b7d
lavfi: Add some common code for OpenCL filtering
2017-11-22 23:15:48 +00:00
Paul B Mahol
000836c2a9
avfilter/af_asetnsamples: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-21 18:29:39 +01:00
Paul B Mahol
afd2bf54c3
avfilter/avf_avectorscope: add swap and mirror options
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-21 12:27:03 +01:00
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>
2017-11-20 15:47:05 +00:00
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>
2017-11-20 15:47:05 +00:00
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>
2017-11-20 13:58:50 +01:00
Paul B Mahol
5c7c0c5b58
avfilter/af_afftfilt: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-20 13:54:04 +01:00
Paul B Mahol
4073046089
avfilter/af_headphone: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-20 13:54:04 +01:00
Paul B Mahol
d1b284119b
avfilter/af_afir: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-20 13:54:04 +01:00
Paul B Mahol
200f497997
avfilter/af_surround: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-20 13:54:04 +01:00