vf_tonemap: Update hdr metadata with the new peak value
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 25 Jul 2018 15:45:46 +0000 (17:45 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 6 Aug 2018 16:35:52 +0000 (18:35 +0200)
commitaa8e5eecac97dd3c87518e0accfb96dea05066c8
tree7460185df9aad4bc18b1ab2ab5519c275e7d7e70
parent572ef567a5288d36b8bc2531309710a0e891d35c
vf_tonemap: Update hdr metadata with the new peak value

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.
libavfilter/vf_tonemap.c