summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
| * qsv: Error out if getting session handle failed in avfilterZhong Li2018-08-23
| | | | | | | | | | | | | | | | | | Solve some issues found by an automated code scansion. Suppress the complain "variables 'handle' is used but maybe uninitialized". Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * w32pthreads: always use Vista+ API, drop XP supportwm42018-04-09
| | | | | | | | | | | | | | | | | | | | | | | | This removes the XP compatibility code, and switches entirely to SRW locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avfilter/vf_datascope: reduce block heightPaul B Mahol2018-09-11
| | | | | | | | So it match minimal input video size requirement.
* | avfilter/vf_limiter: add slice threadingPaul B Mahol2018-09-11
| |
* | avfilter: add nvidia NPP based transpose filterRoman Arzumanyan2018-09-10
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | avfilter/vf_framerate: switch to activateMarton Balint2018-09-09
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/f_cue: add cue and acue filtersMarton Balint2018-09-09
| | | | | | | | | | | | To delay filtering until a given wallclock timestamp. Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/vf_remap: add slice threadingDaniel Oberhoff2018-09-09
| | | | | | | | | | Signed-off-by: Daniel Oberhoff <daniel@danieloberhoff.de> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: add support for gray14 formatPaul B Mahol2018-09-09
| |
* | avfilter/vf_premultiply: add gray14 formatPaul B Mahol2018-09-09
| |
* | avfilter/vf_extractplanes: define higher depth formats with macroPaul B Mahol2018-09-09
| |
* | avfilter/vf_extractplanes: define common 8-bit pixel formatsPaul B Mahol2018-09-09
| |
* | avfilter/vf_extractplanes: fix 14bit format extractionPaul B Mahol2018-09-09
| |
* | avfilter: add lut1d filterPaul B Mahol2018-09-07
| |
* | avfilter/vf_interlace: fix numerical optionsThomas Mundt2018-09-07
| | | | | | | | | | | | Regression since 9c01cdb94e24aaf50f867a0a5c42b097c17c42b1 Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
* | avfilter/vf_frei0r: Remove duplicate }, fix buildMichael Niedermayer2018-08-30
| | | | | | | | | | | | | | Fixes regression from a3c6b7ff5903b8a044e30edaaa0de00e70517538 Reported-by: qq2225936589 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | frei0r: handle string paramsRaphael Graf2018-08-30
| | | | | | | | | | | | | | | | | | This is needed for some of the frei0r filters (facebl0r and facedetect) which accept string parameters. Fixes the issue described here: http://www.ffmpeg-archive.org/Unable-to-set-ffmpeg-frei0r-facedetect-filter-parameter-td4680190.html Signed-off-by: Raphael Graf <r@undefined.ch>
* | lavfi/avf_concat: switch to activate.Nicolas George2018-08-26
| | | | | | | | Fix trac ticket #7351.
* | avfilter/buffersrc.h: fix typo of the commentSteven Liu2018-08-21
| |
* | lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h full"Jun Zhao2018-08-16
| | | | | | | | | | | | | | fix can't dispaly "slice" sub-option in "ffmpeg -h full" for AVFilter options. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | avfilter/vf_hue: 10bit supportMichael Niedermayer2018-08-16
| | | | | | | | | | | | Tested-by: Tobias Rapp <t.rapp@noa-archive.com> Tested-by: Reto Kromer <lists@reto.ch> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | 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