Author | SHA1 | Message | Date |
---|---|---|---|
|
96451477b9 |
lavfi/tonemap: make use of AVFILTER_DEFINE_CLASS
use AVFILTER_DEFINE_CLASS for defining the filter classes Signed-off-by: Jun Zhao <barryjzhao@tencent.com> |
6 years ago |
|
aa8e5eecac |
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. |
6 years ago |
|
e467179cfb |
vf_tonemap[_opencl]: Move determine_signal_peak() to a shared file
The two functions are identical. Use the shared LumaCoeffients type too. |
6 years ago |
|
ce7ca726b2 |
vf_tonemap: Fix logic for detecting the maximum peak of untagged sources
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. |
6 years ago |
|
62dfa2ba14 |
Add tonemap filter
Based off mpv automatic tonemapping capabilities. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> |
8 years ago |