summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* avfilter/avf_showvolume: request new frames only when neededPaul B Mahol2022-04-30
|
* avfilter/avf_avectorscope: request new frames only when neededPaul B Mahol2022-04-30
|
* avfilter/af_aspectralstats: request new frames only when neededPaul B Mahol2022-04-30
|
* avfilter/af_surround: request new frames only when neededPaul B Mahol2022-04-30
|
* avfilter/avf_showfreqs: add rate optionPaul B Mahol2022-04-30
| | | | Fix possible buffer overflow.
* avfilter/vf_estdif: set frame_rate only when neededPaul B Mahol2022-04-30
|
* avfilter/vf_w3fdif: set frame_rate only when neededPaul B Mahol2022-04-30
|
* avfilter/vf_nnedi: set frame_rate only when neededPaul B Mahol2022-04-30
|
* avfilter/vf_mix: output same number of frames from input for tmixPaul B Mahol2022-04-29
|
* avfilter/vf_xmedian: fix multiple threads usagePaul B Mahol2022-04-29
|
* avfilter/vf_mix: fix multiple threads usagePaul B Mahol2022-04-29
|
* avfilter/vf_fftdnoiz: small improvementsPaul B Mahol2022-04-29
| | | | | Stop using log() for block size. Fix possible buffer overflow in export path.
* avfilter/af_adynamicequalizer: remove unused headerPaul B Mahol2022-04-29
|
* avfilter/vf_colormap: Avoid allocation of small arrayAndreas Rheinhardt2022-04-29
| | | | | | | The number of elements is always two or three. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_colormap: Remove unnecessary headersAndreas Rheinhardt2022-04-29
| | | | | | | | In particular remove config_components.h in order to avoid unnecessary rebuilds. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_colormap: Fix declaration-after-statementAndreas Rheinhardt2022-04-29
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_colormap: Properly uninit FFFrameSync, fix leakAndreas Rheinhardt2022-04-29
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/Makefile: Add fflcms2.h to SKIPHEADERS- if necessaryAndreas Rheinhardt2022-04-29
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_adynamicequalizer: set target filter typePaul B Mahol2022-04-28
|
* avfilter/af_adynamicequalizer: improve threshold usagePaul B Mahol2022-04-28
|
* avfilter/af_anlms: add timeline supportPaul B Mahol2022-04-27
|
* avfilter/vf_blurdetect: fix uninitialized variables and possible div by zeroThilo Borgmann2022-04-27
| | | | Found-by: Coverity
* avfilter/vsrc_testsrc: fix typo for yellow patchPaul B Mahol2022-04-26
|
* avfilter/vf_blurdetect: remove set but not used variablesPaul B Mahol2022-04-26
|
* avfilter/vf_lut3d: allow to control when to upload CLUT for haldclutPaul B Mahol2022-04-26
|
* avfilter/vf_blurdetect: cleanup headers, remove unused variables, fix type ↵Thilo Borgmann2022-04-26
| | | | of variable
* avfilter/vf_colormap: avoid reallocating memory to build mapPaul B Mahol2022-04-26
|
* avfilter/vf_colormap: change default nb_patchesPaul B Mahol2022-04-26
|
* lavfi: Add blurdetect filterThilo Borgmann2022-04-25
|
* lafi/vf_edgedetect: Move some common functions into seperate fileThilo Borgmann2022-04-25
|
* avfilter/af_afftdn: use better approach for gain smoothingPaul B Mahol2022-04-23
|
* libavfilter/version: bump minor version for icc{gen,detect}Jan Ekström2022-04-23
| | | | Missed during that patch set's life time.
* lavfi: add vf_iccdetect for parsing ICC profilesNiklas Haas2022-04-23
| | | | | | | | | | | | | | | This filter is designed to parse embedded ICC profiles and attempt extracting colorspace tags from them, updating the AVFrame metadata accordingly. This is intentionally made a separate filter, rather than being part of libavcodec itself, so that it's an opt-in behavior for the time being. This also gives the user more flexibility to e.g. first attach an ICC profile and then also set the colorspace tags from it. This makes #9673 possible, though not automatic. Signed-off-by: Niklas Haas <git@haasn.dev>
* lavfi: add vf_iccgen for generating ICC profilesNiklas Haas2022-04-23
| | | | | | | | | This filter is designed to specifically cover the task of generating ICC profiles (and attaching them to output frames) on demand. Other tasks, such as ICC profile loading/stripping, or ICC profile application, are better left to separate filters (or included into e.g. vf_setparams). Signed-off-by: Niklas Haas <git@haasn.dev>
* lavfi: add ICC profile support via lcms2Niklas Haas2022-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces an optional dependency on lcms2 into FFmpeg. lcms2 is a widely used library for ICC profile handling, which apart from being used in almost all major image processing programs and video players, has also been deployed in browsers. As such, it's both widely available and well-tested. Add a few helpers to cover our major use cases. This commit merely introduces the helpers (and configure check), even though nothing uses them yet. It's worth pointing out that the reason the cmsToneCurves for each AVCOL_TRC are cached inside the context, is because constructing a cmsToneCurve requires evaluating the curve at 4096 (by default) grid points and constructing a LUT. So, we ideally only want to do this once per curve. This matters for e.g. ff_icc_profile_detect_transfer, which essentially compares a profile against all of these generated LUTs. Re-generating the LUTs for every iteration would be unnecessarily wasteful. The same consideration does not apply to e.g. cmsCreate*Profile, which is a very lightweight operation just involving struct allocation and setting a few pointers. The cutoff value of 0.01 was determined by experimentation. The lowest "false positive" delta I saw in practice was 0.13, and the largest "false negative" delta was 0.0008. So a value of 0.01 sits comfortaby almost exactly in the middle. Signed-off-by: Niklas Haas <git@haasn.dev>
* lavfi: add ff_detect_color_primaries helperNiklas Haas2022-04-23
| | | | | | | | | | | | Related to #9673, this helper exists to facilitate "guessing" the right primary tags from a given set of raw primary coefficients. The cutoff value of 0.001 was chosen by experimentation. The smallest "false positive" delta observed in practice was 0.023329, while the largest "false negative" delta was 0.00016. So, a value of 0.001 sits comfortably in the middle. Signed-off-by: Niklas Haas <git@haasn.dev>
* lavfi: generalize colorspace coefficent helpersNiklas Haas2022-04-23
| | | | | | | | | | | | | | | These are needed beyond just vf_colorspace, so give them a new home in colorspace.h. In addition to moving code around, also merge the white point and primary coefficients into a single struct to slightly increase the convenience and shrink the size of the new API by avoiding the need to introduce an extra function just to look up the white point as well. The only place the distinction matters is in a single enum comparison, which can just as well be a single memcpy - the difference is negligible. Signed-off-by: Niklas Haas <git@haasn.dev>
* avfilter/avf_showspectrum: filter support all channel countsPaul B Mahol2022-04-23
|
* avfilter/af_afftdn: add gain_smooth optionPaul B Mahol2022-04-23
|
* avfilter: add colorchart video filterPaul B Mahol2022-04-23
|
* avfilter: add colormap video filterPaul B Mahol2022-04-23
|
* avfilter/vf_lagfun: small speed-upPaul B Mahol2022-04-23
|
* avfilter/vsrc_mandelbrot: Check for malloc failureMichael Niedermayer2022-04-22
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/avf_showfreqs: add option to draw subset of channelsPaul B Mahol2022-04-22
|
* avfilter/avf_showfreqs: filter support all channel countsPaul B Mahol2022-04-22
|
* avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirementsMichael Niedermayer2022-04-21
| | | | | | | Fixes: issues with non trivial linesize Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/video: Add ff_default_get_video_buffer2() to set specific alignmentMichael Niedermayer2022-04-21
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_ciescope: add option to disable CIE tongue fillingPaul B Mahol2022-04-19
|
* avfilter/vf_ciescope: little optimizationsPaul B Mahol2022-04-19
|
* avfilter/avf_ahistogram: set time_base to outlinkPaul B Mahol2022-04-19
| | | | And rescale timestamps.