Commit 813cfb4
committed
meson: bump API for input ICC frame luminance fix
Now input frame.hdr.max_luma is now respected by when frame has ICC
profile. Previously regardless of max_luma value, if ICC profile was
attached, internally max_luma were always replaced by
PL_COLOR_SDR_WHITE. That's no longer the case and you can render SDR at
any requested luminance level, for example when doing SDR->PQ
conversion. There is no behaviour change when input max_luma==0, in
which case default PL_COLOR_SDR_WHITE will be used.
Note that by design we never use ICC reported luminance for SDR content,
as we render by default at PL_COLOR_SDR_WHITE (203) nits or at level
requested in max_luma filed.
This was changed in 50a7571 and
subsequently adjusted in next commits, to avoid SDR->SDR luminance
mismatch.
This API bump is to allow users decide if this fix is present and it
can be used. For example in mpv we need to know if libplecebo will
respect max_luma or use 203 nits.1 parent 08c2177 commit 813cfb4
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
978 | | - | |
| 978 | + | |
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| |||
0 commit comments