[FFmpeg-devel] [PATCH 1/4] vf_tonemap: Update the default peak values

Vittorio Giovara vittorio.giovara at gmail.com
Tue Jul 31 11:21:55 EEST 2018


On Wed, Jul 25, 2018 at 5:46 PM, Vittorio Giovara <
vittorio.giovara at gmail.com> wrote:

> 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.
> ---
>  libavfilter/vf_tonemap.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

haasn was suggesting to change the title to `vf_tonemap: Fix the logic for
detecting the maximum peak of untagged sources` in order to better describe
the contents of this patch (and avoid having to split this simple change).
If no objections I'll amend the commit title and push soon.
-- 
Vittorio


More information about the ffmpeg-devel mailing list