summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter: bump version for the latest API changeJames Almer2018-04-01
| | | | | | And fix the entry in doc/APIchanges Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_amix: add weights optionPaul B Mahol2018-04-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/showvolume : indent after prev commit and add commentMartin Vignali2018-04-01
|
* avfilter/showvolume : move width test for draw volume to the start of the loopMartin Vignali2018-04-01
|
* avfilter/showvolume : move clear picture part to a funcMartin Vignali2018-04-01
| | | | and use it if fade == 0.
* vf_libvmaf: Fix memory leakenctac2018-03-31
| | | | Fixes ticket #6967
* avfilter/vf_signature: use av_strlcpy()Michael Niedermayer2018-04-01
| | | | | | | Fixes: out of array access Found-by: Kira <kira_cxy@foxmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi: add new iteration APIJosh de Kock2018-03-31
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* avfilter/avf_showvolume: let fade be also exactly 0Paul B Mahol2018-03-31
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/showvolume : indent after prev commitMartin Vignali2018-03-31
|
* avfilter/showvolume : calculate fade only if fade < 1.Martin Vignali2018-03-31
|
* avfilter/showvolume : add comment for orientation conditionMartin Vignali2018-03-31
|
* lavfi/silencedetect: Fix missing log at eosNicolas Gaullier2018-03-29
| | | | Fixes ticket #6968
* lavfi/silencedetect: Fix silence_end accuracyNicolas Gaullier2018-03-29
|
* lavfi/silencedetect: Fix silence_start accuracyNicolas Gaullier2018-03-29
|
* lavfi/silencedetect: Fix when silence_start=0Nicolas Gaullier2018-03-29
| | | | 0 is a valid value for silence_start
* lavfi/silencedetect: Add mono modeNicolas Gaullier2018-03-29
| | | | | In mono mode, silence is detected in any single channel instead of all of them simultaneously
* avfilter/af_pan: reject expressions referencing the same channel multiple timesMarton Balint2018-03-29
| | | | | | | | Fixes parsing of expressions like c0=c0+c0 or c0=c0|c0=c1. Previously no error was thrown and for input channels, only the last gain factor was used, for output channels the source channel gains were combined. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_avgblur_opencl: fix error when clSetKernelArg failsdrfer32018-03-26
| | | | Fixes Coverity CID 1430382.
* vf_avgblur_opencl: Don't run kernel on pixels outside the imageMark Thompson2018-03-26
| | | | | | | | The output frame size is larger than the image containing a subsampled plane - use the actual size of the image being written rather than the dimensions of the intended output frame. Reviewed-by: Dylan Fernando <dylanf123@gmail.com>
* libavfilter: Add OpenCL convolution filterDanil Iashchenko2018-03-26
| | | | | | Behaves like existing convolution filter. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avfilter/af_mcompand: make error message more helpfulPaul B Mahol2018-03-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showvolume: implement basic rms metering modePaul B Mahol2018-03-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showwaves: add draw mode which controls how single sample is drawnPaul B Mahol2018-03-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_convolution: disable fast path if rdiv/bias are different from ↵Paul B Mahol2018-03-23
| | | | | | defaults Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_channelsplit: add channels optionPaul B Mahol2018-03-23
| | | | | | So user can pick which channels to extract. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_scale_vaapi: Apply cropping rectangle to inputMark Thompson2018-03-22
|
* lavfi: Add OpenCL avgblur filterdrfer32018-03-22
| | | | | | | Behaves like the existing avgblur filter, except working on OpenCL hardware frames. Takes exactly the same options. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavfi/opencl: Avoid deprecation warnings when built with post-1.2 headersMark Thompson2018-03-22
| | | | | | | | | | The intended target is OpenCL 1.2, so disable warnings for APIs deprecated after that. This primarily applies to clCreateCommandQueue(), we can't use the replacement clCreateCommandQueueWithProperties() because it was introduced in OpenCL 2.0. Also remove some unnecessary includes from overlay and program filters so that the define is available at the right moment.
* lavfi/opencl: Derive global work size from plane image sizesMark Thompson2018-03-22
| | | | | | | Add a new function to find the global work size given the output image and the required block alignment, then use it in the overlay, program and unsharp filters. Fixes the overlay and unsharp filters applying the kernel to locations outside the frame when subsampled planes are present.
* avfilter/avf_showvolume: add background opacity optionPaul B Mahol2018-03-22
| | | | | | This makes output more visible when overlayed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: add orange graticulePaul B Mahol2018-03-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: add xflat modePaul B Mahol2018-03-21
| | | | | | Also use macros for xflat and aflat mode. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/deshake: Check alignment before calling asm init function.Carl Eugen Hoyos2018-03-20
| | | | | | | Do this for every frame to make sure dynamic filters do not cause crashes. Fixes ticket #7078.
* avfilter/vf_premultiply : fix unpremultiply_offset for rgb inputMartin Vignali2018-03-18
|
* avfilter/af_surround: drain input at EOFPaul B Mahol2018-03-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add drmeter audio filterPaul B Mahol2018-03-11
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/drawutils: Do not claim to support P016.Carl Eugen Hoyos2018-03-08
| | | | Fixes fate on big-endian.
* libavfilter/vf_fps: Minor cleanupsCalvin Walton2018-03-08
| | | | | | | | | | Since the config_props function now references both the input and output links, rename the 'link' variable to 'outlink'. Fix up some mismatching indentation. Don't bother setting the width and height on the outlink; the filter framework does that for us.
* libavfilter/vf_fps: Rewrite using activate callbackCalvin Walton2018-03-08
| | | | | | | | | | | | The old version of the filter had a problem where it would queue up all of the duplicate frames required to fill a timestamp gap in a single call to filter_frame. In problematic files - I've hit this in webcam streams with large gaps due to network issues - this will queue up a potentially huge number of frames. (I've seen it trigger the Linux OOM-killer on particularly large pts gaps.) This revised version of the filter using the activate callback will generate at most 1 frame each time it is called.
* avfilter/vf_vaguedenoiser: fix plane copy for >8 bit depth formatsPaul B Mahol2018-03-08
| | | | | | Fixes #7072. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_alimiter: check if buffer_size is validPaul B Mahol2018-03-07
| | | | | | Fixes #7050. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_*_vaapi: Add missing AV_OPT_FLAG_FILTERING_PARAMMichael Niedermayer2018-03-07
| | | | | Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/avf_concat: add next commandBodecs Bela2018-03-01
| | | | | | | | | | This patch makes it possible to dinamically close the current segment and step to the next one by introducing command handling capabilities into the filter. This new feature is very usefull when working with real-time sources or live streams as source. Combinig usage with zmqsend tool you can interactively end the current segment and step to next one. Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
* avfilter/x86/vf_blend : add 16 bit version for BLEND_SIMPLE, phoenix, ↵Martin Vignali2018-02-24
| | | | difference for SSE and AVX2 (x86_64)
* avfilter/x86/vf_blend : indentMartin Vignali2018-02-24
|
* avfilter/x86/vf_blend : reorganize init in order to add 16 bit versionMartin Vignali2018-02-24
|
* lavfi/vf_transpose: fix regression with semiplanar formatsRodger Combs2018-02-23
| | | | | | (e.g. nv12) Regression since 7b19e76aeb0ace57b99aaef156bbfe592e43e65e
* avfilter/avf_avectorscope: Fix ;;Michael Niedermayer2018-02-15
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_loudnorm: correctly initialize PTSNiklas Haas2018-02-14
| | | | | | | | Right now, the PTS always starts out as 0, which causes problems on a seek or when inserting this filter mid-stream. Initialize it instead to AV_NOPTS_VALUE and copy the PTS from the first frame instead if this is the case.