| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
So it match minimal input video size requirement.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
|
| |
| |
| |
| | |
Signed-off-by: Marton Balint <cus@passwd.hu>
|
| |
| |
| |
| |
| |
| | |
To delay filtering until a given wallclock timestamp.
Signed-off-by: Marton Balint <cus@passwd.hu>
|
| |
| |
| |
| |
| | |
Signed-off-by: Daniel Oberhoff <daniel@danieloberhoff.de>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Regression since 9c01cdb94e24aaf50f867a0a5c42b097c17c42b1
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Fixes regression from a3c6b7ff5903b8a044e30edaaa0de00e70517538
Reported-by: qq2225936589
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Fix trac ticket #7351.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
fix can't dispaly "slice" sub-option in "ffmpeg -h full" for
AVFilter options.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Tested-by: Tobias Rapp <t.rapp@noa-archive.com>
Tested-by: Reto Kromer <lists@reto.ch>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| | |
Add erosion_opencl, dilation_opencl filters. Behave like existing erosion and dilation filters.
|
| |
| |
| |
| | |
Signed-off-by: Kyle Swanson <kswanson@netflix.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
dnn_espcn.h, dnn_backend_tf.c.
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| |
| |
| | |
backend instead of storing binary model.
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
The two functions are identical. Use the shared LumaCoeffients type too.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Clang is more strict about some things.
|
| |
| |
| |
| | |
Signed-off-by: Mina <minasamy_@hotmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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;
~~~~~~~~~~~~^~~~
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Switch to use CL_FAIL_ON_ERROR for error handling
|
| |
| |
| |
| |
| |
| | |
Fixed using uninitialized value "global_work[0]" when calling "av_log".
Fixes CID #1437471.
|
| |
| |
| |
| |
| |
| |
| | |
The very last clFinish() should be ok.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Danil Iashchenko <danyaschenko@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
|
| |
| |
| |
| |
| |
| |
| | |
the right blending calc is:
(alpha * Frame_2 + (MAX - alpha) * Frame_1 + 512) >> 10
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| | |
The changes contained in this patch are hereby placed under the Expat licence.
Reviewed-by: Paul B Mahol
|