Paul B Mahol
600c8729e2
avfilter/af_biquads: remove unused enum item
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-17 16:46:40 +01:00
Paul B Mahol
ce626f2695
avfilter/av_biquads: add support for commands
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-17 16:46:40 +01:00
Paul B Mahol
d29f784a54
avfilter/vf_overlay: add premultiplied alpha mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-16 18:40:04 +01:00
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
2017-12-15 11:28:29 +01:00
Martin Vignali
49dced9fd0
avfilter/x86/vf_interlace : avoid crash when data are unaligned
...
ticket 6491
2017-12-15 11:28:25 +01:00
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.
2017-12-14 13:44:45 -09:00
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>
2017-12-13 12:25:44 +01:00
Martin Vignali
46f534bdee
avfilter/vf_hflip : move context func init in ff_hflip_init
2017-12-13 11:34:24 +01:00
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>
2017-12-13 00:30:46 +01:00
Paul B Mahol
a0e4c41d08
avfilter/vf_pseudocolor: add support for more formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-12 19:31:50 +01:00
Paul B Mahol
cbd524b26c
avfilter/avfiltergraph: remove ugly dead code
...
Remnant of old merge.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-11 22:39:26 +01:00
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