Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-18avfilter/vf_colorspace: fix memmory leaksPaul B Mahol
Fixes #8303
2019-10-10lavfi/colorspace: typedef ThreadData as all other filtersJun Zhao
typedef ThreadData as all other filters. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-10-03avfilter: add av_cold where it is missingPaul B Mahol
2019-09-02avfilter: Support EBU Tech. 3213-E primaries valuesRaphaël Zumer
Signed-off-by: Raphaël Zumer <rzumer@tebako.net> Signed-off-by: James Almer <jamrial@gmail.com>
2019-07-03libavfilter/vf_colorspace.c: fix demarcation point of gamma linearize functionYonglin Luo
The linearize function (usually refered to EOTF) is the inverse of delinearize function (usually referred to OETF). Demarcation point of EOTF should be beta*delta, but the actual value used now in the source code is beta. For ITU Rec.709, they are 0.081 (0.018*4.5) and 0.018 respectively (beta = 0.018 and delta = 4.5), and they correspond to pixel value 5 and 21 for an 8-bit image. Linearized result of pixel within that range (5-21) will be different, but this commit will make linearize function of the filter more accurate in the mathematical sense. Signed-off-by: Yonglin Luo <vincenluo@tencent.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2019-03-22lavfi/colorspace: move some functions to common fileRuiling Song
These functions can be reused by other colorspace filters, so move them to common file. No functional changes. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2018-09-17avfilter/vf_colorspace: fix typo in commentPaul B Mahol
2018-06-28lavfi/colorspace: Add namespace prefix to global functionsMark Thompson
2018-06-21lavfi: make vf_colorspace use functions from colorspace.cRuiling Song
These functions are shared among colorspace related filters. Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2017-06-09vf_colorspace: Add a pixdesc API alias name for bt2020nc color spaceVittorio Giovara
2017-06-08vf_colorspace: Add support for jedec p22 primariesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-06-08vf_colorspace: Add support for smpte248 color primariesVittorio Giovara
2017-06-06vf_colorspace: Add support for gbr color spaceVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-28vf_colorspace: Forbid odd dimensionsVittorio Giovara
This prevents writing past bounds. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-02vf_colorspace: Add support for film primariesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-11-02vf_colorspace: Add support for smpte 431/432 (dci/display p3) primariesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-11-02vf_colorspace: Add support for ycgco color spaceVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-10-31vf_colorspace: Add support for iec61966-2.4 (xvYCC) transferVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-24vf_colorspace: Add support for iec61966-2.1 (sRGB) transferVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-10-24vf_colorspace: don't spam console with warnings if range is unspecified.Ronald S. Bultje
2016-09-28avfilter/vf_colorspace: fix range for output colorspace optionJames Almer
Rreviewed-by: BBB Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-19vf_colorspace: Interpret unspecified color range as limited rangeVittorio Giovara
This is the assumption that is made in pixel format conversion do throughout the code (in particular swscale), and BT-specifications mandate. Add a warning to inform the user that an automatic selection is being made. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-09-15vf_colorspace: Add modern names for color range optionVittorio Giovara
Allows to use values returned from API and from ffprobe directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-09-13vf_colorspace: Add BT-names for gamma22/28 transfer optionVittorio Giovara
Allows to use values returned from API and from ffprobe directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-09-04vf_colorspace: Allow overriding input color propertiesVittorio Giovara
The filter needs input frames with color properties filled out by the decoder. Since this is not always possible, add input options to the filter so that user may override color space, color primaries, transfer characteristics, and color range, as well as a generic option to set all properties at once. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-08-29avfilter: make use of ff_filter_get_nb_threadsPaul B Mahol
2016-08-27vf_colorspace: Add support for full range yuvVittorio Giovara
Whenever a full range video is input, since the YUVJ* formats are not listed as supported for this filter, a range reduction takes place through the auto-inserted format filter, forcing the conversion to operate on a limited range, However the filter handles full range videos perfectly fine, so adding support to YUVJ* formats will allow skipping a conversion step, while providing completely identical results. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-27vf_colorspace: Check av_frame_copy_props() return valueVittorio Giovara
This function can potentially allocate memory. Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-10vf_colorspace: don't enable passthrough if bitdepth doesn't match.Ronald S. Bultje
Also check return value of av_frame_copy() in passthrough mode, so that if a copy fails (as it did here, because bitdepth didn't match), the filter doesn't return success, which would mean sending an uninitialized framebuffer further down the filtergraph.
2016-05-10vf_colorspace: fix range order.Ronald S. Bultje
2016-05-10vf_colorspace: make whitepoint adaptation mode configurable.Ronald S. Bultje
Also add von kries whitepoint adaptation, and add 'identity' to turn whitepoint adaptation off.
2016-05-10vf_colorspace: add floyd-steinberg dithering option to full conversion.Ronald S. Bultje
2016-04-12lavfi: new colorspace conversion filter.Ronald S. Bultje
The intent here is similar to colormatrix, but it's LGPLv2.1-or-later (instead of GPLv2.0) and supports gamma/chromaticity correction.