summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* Adds TensorFlow backend for dnn inference module.Sergey Lavrushkin2018-06-05
| | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/drawtext: present 'hms' formatted 'pts' in 24h formatVishwanath Dixit2018-06-04
| | | | | | | | | | | | HMS is formatted as HH:MM:SS.mmm, but, HH part is not limited to 24 hours. For example, the the drawn text may look like this: 243029:20:30.342. To present the timestamp in more readable and user friendly format, this patch provides an additional option to limit the hour part in the range 0-23. Note: Actually the above required format can be obtained with format options 'localtime' and 'gmtime', but, milliseconds part is not supported in those formats.
* avfilter/f_drawgraph: fix drawing of first point for non-first metadata keyPaul B Mahol2018-06-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_zoompan: do not increase VAR_IN twice, also count from 0Paul B Mahol2018-06-03
| | | | | | Fixes #7242. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: also show sample rate and channel layoutPaul B Mahol2018-06-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: avoid overwritting textPaul B Mahol2018-06-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: improve axes drawingPaul B Mahol2018-06-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_lut3d: unbreak haldclut with planar rgb formatsPaul B Mahol2018-06-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/Makefile: move dnn_*.o under vf_srcnnJan Ekström2018-06-02
| | | | | | | | | | | These files depend on libavformat, and the vf_srcnn filter currently is the only thing utilizing these dnn_* files and already happens to have a dependency on libavformat. This fixes compilation in cases where libavformat is not a dependency for libavfilter. Reported by Kam_ on IRC.
* avfilter: add adeclick and adeclip audio filtersPaul B Mahol2018-06-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: use av_clip_uintp2_c where clip is variableJohn Cox2018-05-31
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_aiir: draw IR frequency responsePaul B Mahol2018-05-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_afir: fix picking of IR channelPaul B Mahol2018-05-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_afir: draw IR frequency responsePaul B Mahol2018-05-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Adds dnn inference module for simple convolutional networks. Reimplements ↵Sergey Lavrushkin2018-05-29
| | | | | | srcnn filter based on it. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/vsrc_testsrc: fix a preprocessor checkJames Almer2018-05-18
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vsrc_testsrc: add pal75bars and pal100bars video filter sourcesTobias Rapp2018-05-18
| | | | | | | Generates color bar test patterns based on EBU PAL recommendations. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* avfilter/vf_waveform: add slice threadingPaul B Mahol2018-05-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add aderivative and aintegral filterPaul B Mahol2018-05-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_lut2: add timeline support to tlut2 filterPaul B Mahol2018-05-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add timeline support to tblend filterPaul B Mahol2018-05-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_srcnn: use function to get number of threadsPaul B Mahol2018-05-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_amplify: check if array is availabe before using itPaul B Mahol2018-05-14
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_maskedmerge: add slice threadingPaul B Mahol2018-05-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_deblock: add timeline supportPaul B Mahol2018-05-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add fftdnoiz filterPaul B Mahol2018-05-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/tests/filtfmts: fix the build warning.Jun Zhao2018-05-10
| | | | | | fix the build warning: ignoring return value. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* avfilter/vf_hwupload_cuda: update supported pix_fmtsTimo Rothenpieler2018-05-10
|
* lavfi/vf_srcnn: use avio_check instead of accessHendrik Leppkes2018-05-08
| | | | | | | The filter uses avio for file access already, and avio_check is portable. Fixes trac #7192.
* lavfi/swaprect: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFTClément Bœsch2018-05-08
|
* lavfi/nlmeans: use AV_CEIL_RSHIFT instead of deprecated FF_CEIL_RSHIFTClément Bœsch2018-05-08
|
* lavfi/nlmeans: inline integral patch value functionClément Bœsch2018-05-08
| | | | | This prevents redundant position computation and make the code faster (1.1x faster overall).
* lavfi/nlmeans: use unsigned for the integral patch valueClément Bœsch2018-05-08
| | | | This value can not be negative.
* lavfi/nlmeans: reorder memory accesses in get_integral_patch_valueClément Bœsch2018-05-08
| | | | This doesn't seem to make much of a difference but it can't hurt.
* lavfi/nlmeans: move final weighted averaging out of nlmeans_planeClément Bœsch2018-05-08
| | | | | | | | | | | | | | | | This helps figuring out where the filter is slow: 70.53% ffmpeg_g ffmpeg_g [.] nlmeans_slice 25.73% ffmpeg_g ffmpeg_g [.] compute_safe_ssd_integral_image_c 1.74% ffmpeg_g ffmpeg_g [.] compute_unsafe_ssd_integral_image 0.82% ffmpeg_g ffmpeg_g [.] ff_mjpeg_decode_sos 0.51% ffmpeg_g [unknown] [k] 0xffffffff91800a80 0.24% ffmpeg_g ffmpeg_g [.] weight_averages (Tested with a large image that takes several seconds to process) Since this function is irrelevant speed wise, the file's TODO is updated.
* lavfi/nlmeans: switch from double to floatClément Bœsch2018-05-08
| | | | | Overall speed appears to be 1.1x faster with no noticeable quality impact.
* lavfi/nlmeans: make compute_safe_ssd_integral_image_c fasterClément Bœsch2018-05-08
| | | | | | | | | | | before: ssd_integral_image_c: 49204.6 after: ssd_integral_image_c: 44272.8 Unrolling by 4 made the biggest difference on odroid-c2 (aarch64); unrolling by 2 or 8 both raised 46k cycles vs 44k for 4. Additionally, this is a much better reference when writing SIMD (SIMD vectorization will just target 16 instead of 4).
* lavfi/nlmeans: add AArch64 SIMD for compute_safe_ssd_integral_imageClément Bœsch2018-05-08
| | | | | ssd_integral_image_c: 49204.6 ssd_integral_image_neon: 28346.8
* lavfi/nlmeans: use ptrdiff_t for linesizesClément Bœsch2018-05-08
| | | | | Similarly to previous commit, this will help writing SIMD code by not having manual zero-extension in SIMD code
* lavfi/nlmeans: add SIMD-friendly assumptions for compute_safe_ssd_integral_imageClément Bœsch2018-05-08
| | | | | | | | | SIMD code will not have to deal with padding itself. Overwriting in that function may have been possible but involve large overreading of the sources. Instead, we simply make sure the width to process is always a multiple of 16. Additionally, there must be some actual area to process so the SIMD code can have its boundary checks after processing the first pixels.
* lavfi/nlmeans: random code shuffling to help compilerClément Bœsch2018-05-08
| | | | This makes nlmeans_slice() slightly faster at least on GCC 7.3.
* fate: update fate-sws-pixdesc-query reference fileJames Almer2018-05-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/drawutils: support gray14Paul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: add support for extracting planes with 14 depthPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: forward status back in some filters that missed itPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_amerge: port to activate APIPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorchannelmixer: add planar rgb supportPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorchannelmixer: refactor codePaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorbalance: fix off by one overflowPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_colorchannelmixer: add slice threadingPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>