Paul B Mahol
9152bda839
avfilter/af_silenceremove: fix logic error in EOF case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
ffc01280be
avfilter: add lv2 wrapper filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Richard Ling
7d4fe0c5cb
avfilter: add normalize filter
7 years ago
Paul B Mahol
63826a0b82
avfilter/af_amix: make use of av_asprintf()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
ec5328aa6f
avfilter: add mix filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
59365e6345
avfilter/af_ladspa: remove duplicate code lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 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>
7 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).
7 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.)
7 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.
7 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.
7 years ago
Mark Thompson
59d6529333
lavfi: Add infrastructure for building OpenCL source into libavfilter
7 years ago
Mark Thompson
5c21c41b7d
lavfi: Add some common code for OpenCL filtering
7 years ago
Paul B Mahol
000836c2a9
avfilter/af_asetnsamples: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
afd2bf54c3
avfilter/avf_avectorscope: add swap and mirror options
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 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>
7 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>
7 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>
7 years ago
Paul B Mahol
5c7c0c5b58
avfilter/af_afftfilt: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
4073046089
avfilter/af_headphone: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
d1b284119b
avfilter/af_afir: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
200f497997
avfilter/af_surround: add missing error check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
185af4ccb1
avfilter/af_extrastereo: fix filtering when clipping is disabled
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
69cbebbd3d
avfilter/af_surround: add some more layouts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
460df96904
avfilter: fix indentation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Michael Roitzsch
4f4e19914d
lavfi/af_pan: fix sign handling in channel coefficient parser
...
When a channel formula ends with a subtraction, the next formula will
otherwise have its first coefficient negated.
7 years ago
Paul B Mahol
e679ac8d7c
avfilter: add acontrast filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
5d7c76566c
avfilter: add multiband compand filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
James Almer
03dae121c0
avfilter/vf_subtitles: remove usage of AVCodecContext accessors
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Timo Rothenpieler
c7ded42d5d
avfilter/vf_premultiply: fix memory-leak on failure
...
Fixes CID #1416352
7 years ago
Timo Rothenpieler
237ccd8a16
lavfi/paletteuse: check get_color return value
...
Fixes CID #1420396
7 years ago
Michael Niedermayer
1828c549c3
avfilter/vf_*_qsv: Fix flags
...
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Paul B Mahol
7a060867f3
avfilter/vf_tile: add overlap option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
5f1bb258ab
avfilter/vf_hysteresis: allow using framesync options
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
789731affa
avfilter/vf_maskedmerge: ignore SAR from all inputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
a28e70beab
avfilter/vf_lut2: ignore SAR from all inputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
79aa9d8aee
avfilter/vf_blend: ignore SAR from all inputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
19d2108a98
avfilter/vf_hysteresis: ignore SAR from all inputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
2afeb3f8ab
avfilter/vf_maskedclamp: ignore SAR from all inputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Carl Eugen Hoyos
da99b3f0c9
lavfi/scale2ref: Set output frame rate to main input frame rate.
...
Fixes ticket #6817 .
7 years ago
Ashish Pratap Singh
4c38aa79ec
avfilter/vf_libvmaf: fix errors while running with psnr=1.
...
This patch fixes the seg fault which ocuured while running libvmaf filter
with option psnr=1.
Signed-off-by: ashk43712 <ashk43712@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years ago
Paul B Mahol
1f24b33d9a
avfilter/vf_tile: remove limit of max tile size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Nicolas George
d5995c531d
lavfi/framepool: use av_image_check_size2().
...
Allow filters to handle larger frames.
7 years ago
Nicolas George
345e7072ab
lavfi: check links properties after configuring them.
...
For now, check the image size.
Inspired by a patch from Paul B Mahol.
Invalid sizes would be detected later by allocation failures,
detecting problems earlier is cleaner.
7 years ago
Moritz Barsnick
a0560d0477
avfilter/vf_ocr: check ff_set_common_formats() return value
...
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
7 years ago
Paul B Mahol
d0920da029
avfilter/af_join: switch to activate
...
Fixes #6780 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
e6055af025
avfilter: pass correct argument to helper function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Nicolas George
a8305b0ea3
lavfi/testsrc2: fix hang with very small sizes.
...
Move a subtraction to the other side of the equal to avoid overflows.
7 years ago
Carl Eugen Hoyos
8b43039fe1
lavfi/palettegen: Fix compilation after 1da8c4e
.
...
Found-by: James Almer
7 years ago
Carl Eugen Hoyos
1da8c4ec85
lavfi/palettegen: Allow setting the background colour.
7 years ago