summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* | lavfi/vf_colorconstancy: cosmetic updateMina2018-08-14
| |
* | lavfi/vf_colorconstancy: change option rangesMina2018-08-14
| |
* | libavfilter: Adds proper file descriptions to dnn_srcnn.h and dnn_espcn.h.Sergey Lavrushkin2018-08-14
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.Sergey Lavrushkin2018-08-14
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | libavfilter/dnn_backend_tf.c: Fixes ff_dnn_free_model_tf.Sergey Lavrushkin2018-08-14
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | lavfi: add erosion_opencl, dilation_opencl filtersDanil Iashchenko2018-08-12
| | | | | | | | Add erosion_opencl, dilation_opencl filters. Behave like existing erosion and dilation filters.
* | lavfi/vf_libvmaf: update to use libvmaf v1.3.9Kyle Swanson2018-08-10
| | | | | | | | Signed-off-by: Kyle Swanson <kswanson@netflix.com>
* | lavfi/selectivecolor: fix neutral color filteringClément Bœsch2018-08-09
| | | | | | | | | | | | | | | | | | | | Neutrals are supposed to be anything not black (0,0,0) and not white (N,N,N). Previous neutral filtering code was too strict by excluding colors with any of its RGB component maxed instead of just the white color. Reported-by: Royi Avital <royiavital@yahoo.com>
* | lavfi/xbr: update filter urlMina2018-08-09
| | | | | | | | | | | | | | | | Existing link is broken. This patch updates the existing url with a working one. Signed-off-by: Mina <minasamy_@hotmail.com> Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
* | libavfilter: Fixes warnings for unused variables in dnn_srcnn.h, ↵Sergey Lavrushkin2018-08-07
| | | | | | | | | | | | dnn_espcn.h, dnn_backend_tf.c. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | libavfilter: Code style fixes for pointers in DNN module and sr filter.Sergey Lavrushkin2018-08-07
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | libavfilter: Adds on the fly generation of default DNN models for tensorflow ↵Sergey Lavrushkin2018-08-07
| | | | | | | | | | | | backend instead of storing binary model. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | vf_tonemap: Update hdr metadata with the new peak valueVittorio Giovara2018-08-06
| | | | | | | | | | Less effective than the approach in vf_tonemap_opencl because there is no peak detection, but it's still a good idea to implement this.
* | vf_tonemap_opencl: Move update_metadata() to a shared fileVittorio Giovara2018-08-06
| |
* | vf_tonemap[_opencl]: Move determine_signal_peak() to a shared fileVittorio Giovara2018-08-06
| | | | | | | | The two functions are identical. Use the shared LumaCoeffients type too.
* | vf_tonemap: Fix logic for detecting the maximum peak of untagged sourcesVittorio Giovara2018-08-06
| | | | | | | | | | | | | | | | | | | | When there is no metadata attached to a frame, take into account both the PQ and HLG transfers, and change the HLG default value to 10: the value of 12 is the maximum range in scene referred light, but the reference OOTF maps this from 0 to 1000 cd/m² on the ideal HLG monitor. This matches what vf_tonemap_opencl does.
* | lavfi/nlmeans: fix aarch64 assembly with clangJan Ekström2018-07-28
| | | | | | | | Clang is more strict about some things.
* | avfilter: Add colorconstancy filterMina2018-07-23
| | | | | | | | Signed-off-by: Mina <minasamy_@hotmail.com>
* | lavfi/af_afir,af_aiir: Remove a variable that is always -1.Carl Eugen Hoyos2018-07-19
| | | | | | | | | | | | | | | | | | | | Fixes two warnings: libavfilter/af_afir.c:194:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1; ~~~~~~~~~~~~^~~~ libavfilter/af_aiir.c:689:45: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1; ~~~~~~~~~~~~^~~~
* | Update Changelog for lensfun addition and bump minorPaul B Mahol2018-07-15
| |
* | Add lensfun filterStephen Seo2018-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lensfun is a library that applies lens correction to an image using a database of cameras/lenses (you provide the camera and lens models, and it uses the corresponding database entry's parameters to apply lens correction). It is licensed under LGPL3. The lensfun filter utilizes the lensfun library to apply lens correction to videos as well as images. This filter was created out of necessity since I wanted to apply lens correction to a video and the lenscorrection filter did not work for me. While this filter requires little info from the user to apply lens correction, the flaw is that lensfun is intended to be used on indvidual images. When used on a video, the parameters such as focal length is constant, so lens correction may fail on videos where the camera's focal length changes (zooming in or out via zoom lens). To use this filter correctly on videos where such parameters change, timeline editing may be used since this filter supports it. Note that valgrind shows a small memory leak which is not from this filter but from the lensfun library (memory is allocated when loading the lensfun database but it somehow isn't deallocated even during cleanup; it is briefly created in the init function of the filter, and destroyed before the init function returns). This may have been fixed by the latest commit in the lensfun repository; the current latest release of lensfun is almost 3 years ago. Bi-Linear interpolation is used by default as lanczos interpolation shows more artifacts in the corrected image in my tests. The lanczos interpolation is derived from lenstool's implementation of lanczos interpolation. Lenstool is an app within the lensfun repository which is licensed under GPL3. v2 of this patch fixes license notice in libavfilter/vf_lensfun.c v3 of this patch fixes code style and dependency to gplv3 (thanks to Paul B Mahol for pointing out the mentioned issues). v4 of this patch fixes more code style issues that were missed in v3. v5 of this patch adds line breaks to some of the documentation in doc/filters.texi (thanks to Gyan Doshi for pointing out the issue). v6 of this patch fixes more problems (thanks to Moritz Barsnick for pointing them out). v7 of this patch fixes use of sqrt() (changed to sqrtf(); thanks to Moritz Barsnick for pointing this out). Also should be rebased off of latest master branch commits at this point. Signed-off-by: Stephen Seo <seo.disparate@gmail.com>
* | avfilter/drawtext: fix box sizingGyan Doshi2018-07-13
| | | | | | | | | | | | | | | | | | At present, box size is clipped to frame size before being drawn, which can lead to the box not fully covering animated text which is longer than one or both frame dimensions. Since ff_blend_rectangle correctly takes care of clipping, it is skipped here which results in correct box sizing
* | lavfi/convolution_opencl: use CL_FAIL_ON_ERROR for error handlingDanil Iashchenko2018-07-12
| | | | | | | | Switch to use CL_FAIL_ON_ERROR for error handling
* | lavfi/avgblur_opencl: fix using uninitialized valueDanil Iashchenko2018-07-11
| | | | | | | | | | | | Fixed using uninitialized value "global_work[0]" when calling "av_log". Fixes CID #1437471.
* | lavfi/vf_avgblur_opencl: remove useless clFinish().Ruiling Song2018-07-11
| | | | | | | | | | | | | | The very last clFinish() should be ok. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: Danil Iashchenko <danyaschenko@gmail.com>
* | lavfi/opencl: add macro for opencl error handling.Ruiling Song2018-07-11
| | | | | | | | Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi/minterpolate: fix blending calc issue.Jun Zhao2018-07-08
| | | | | | | | | | | | | | the right blending calc is: (alpha * Frame_2 + (MAX - alpha) * Frame_1 + 512) >> 10 Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | avfilter/setpts: add FR shorthand for FRAME_RATEGyan Doshi2018-07-07
| |
* | lavfi/weave: Refactor two near-identical clauses.Shlomi Fish2018-07-04
| | | | | | | | | | | | The changes contained in this patch are hereby placed under the Expat licence. Reviewed-by: Paul B Mahol
* | lavfi: add sobel, prewitt, roberts filtersDanil Iashchenko2018-07-03
| | | | | | | | Add opencl version of sobel, prewitt, roberts filters.
* | libavfilter: vf_sr.c remove warningsPedro Arthur2018-07-02
| |
* | Adds ESPCN super resolution filter merged with SRCNN filter.Sergey Lavrushkin2018-07-02
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | lavfi/colorspace: Add namespace prefix to global functionsMark Thompson2018-06-28
| |
* | lavfi/vf_tonemap_opencl: Mark local tables staticMark Thompson2018-06-25
| |
* | lavfi/framesync: Add namespace prefix to framesync_get_classMark Thompson2018-06-24
| |
* | lavfi: make vf_colorspace use functions from colorspace.cRuiling Song2018-06-21
| | | | | | | | | | | | These functions are shared among colorspace related filters. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi: add opencl tonemap filterRuiling Song2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. An example command to use this filter with vaapi codecs: FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \ opencl=ocl@va -hwaccel vaapi -hwaccel_device va -hwaccel_output_format \ vaapi -i INPUT -filter_hw_device ocl -filter_complex \ '[0:v]hwmap,tonemap_opencl=t=bt2020:tonemap=linear:format=p010[x1]; \ [x1]hwmap=derive_device=vaapi:reverse=1' -c:v hevc_vaapi -profile 2 OUTPUT Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* | lavfi: Add boxblur_opencl filterDanil Iashchenko2018-06-21
| | | | | | | | Behaves like existing boxblur filter.
* | libavfilter/opencl: Add macro for setting opencl kernel argumentsDanil Iashchenko2018-06-17
| |
* | lavfi/graphdump: Replace the number by macro for bprint initJun Zhao2018-06-17
| | | | | | | | | | | | Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | lavfi/af_amerge: Replace the number by macro for bprint initJun Zhao2018-06-17
| | | | | | | | | | | | Replace the number by macro for bprint init. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | lavfi/atempo: raise max tempo limit (v2)Pavel Koshevoy2018-06-14
| |
* | libavfilter/dnn_interface.c: fix av_freep dnn_module.Sergey Lavrushkin2018-06-08
| | | | | | | | Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | libavfilter/vf_srcnn.c: adds DNN module backend AVOption, changes ↵Sergey Lavrushkin2018-06-08
| | | | | | | | | | | | AV_LOG_INFO message to AV_LOG_VERBOSE. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* | lavfi/opencl: remove redundant header.Jun Zhao2018-06-07
| | | | | | | | | | | | remove redundant header Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | 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>