summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* 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.
* avfilter/avf_avectorscope: set time_base to outlinkPaul B Mahol2022-04-18
| | | | And rescale timestamps.
* avfilter/avf_showvolume: set time_base to outlinkPaul B Mahol2022-04-18
| | | | And rescale timestamps.
* avfilter/vf_feedback: add missing .process_commandPaul B Mahol2022-04-15
|
* avfilter: add pixelize video filterPaul B Mahol2022-04-14
|
* avfilter: add feedback video filterPaul B Mahol2022-04-14
|
* avfilter/avf_showspectrum: fix pts offset by onePaul B Mahol2022-04-14
|
* avfilter/avf_showspectrum: add alpha pixel format supportPaul B Mahol2022-04-14
|
* avfilter/af_adenorm: simplify handling of commandsPaul B Mahol2022-04-13
|
* avfilter/avf_showvolume: check for allocation error and stop leaksPaul B Mahol2022-04-13
|
* avfilter/vf_deblock: fix posible overreadsPaul B Mahol2022-04-13
|
* avfilter/vf_xmedian: simplify changing index variablePaul B Mahol2022-04-13
|
* avfilter/af_crystalizer: remove no longer needed wrapper functionPaul B Mahol2022-04-13
|
* avfilter/vf_chromashift: simplify handling of commandsPaul B Mahol2022-04-13
|
* avfilter/af_asetnsamples: fix excessive frames queueing at startPaul B Mahol2022-04-12
|
* avfilter/vf_drawbox: remove redefinition of DrawBoxContext typedefJames Almer2022-04-12
| | | | | | | | It's forbidden in C99. Should fix compilation with old non C11 compilers. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/lensfun: add option db_pathGyan Doshi2022-04-12
| | | | | | | The lensfun filter, at present, loads its database from a path hardcoded at build time. This may not be known or available to end users. Added option db_path allows custom path.
* avfilter: add Audio Video Sync Test filterPaul B Mahol2022-04-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/f_ebur128: fix typos for swr chlayoutsPaul B Mahol2022-04-11
|
* avfilter: let single output frame A->V filters set reasonable frame ratePaul B Mahol2022-04-10
|
* avfilter/vf_waveform: copy props from input framePaul B Mahol2022-04-08
|
* avfilter/vf_waveform: add some support for commandsPaul B Mahol2022-04-08
|
* avfilter/vf_vectorscope: add some commands supportPaul B Mahol2022-04-08
|
* avfilter/vf_drawbox: add packed rgb supportPaul B Mahol2022-04-08
|
* avfilter/vf_colorkey: use multiplication instead of divisionPaul B Mahol2022-04-08
|
* avfilter/vf_colorkey: add >8 depth supportPaul B Mahol2022-04-08
|
* avfilter/f_ebur128: multiply in integer first, before dividing in floatHendrik Leppkes2022-04-07
| | | | | Restores the order of operations from before 15a1104, which reduces errors from floating point calculations, and fixes FATE on mingw64.