aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-11-25 13:52:30 +0100
committerNiklas Haas <git@haasn.dev>2024-12-05 12:27:32 +0100
commit06f084468e034ecb0bfbe522953c1efd77595454 (patch)
tree8f5bdbe94922d22fbf0289c84aa524c5960afa6b /doc/APIchanges
parentbf0a6c4111184ffab9f157db7ee7c8a0f59df077 (diff)
downloadffmpeg-06f084468e034ecb0bfbe522953c1efd77595454.tar.gz
avutil/csp: add EOTF function definitions
The existing av_csp_trc_func_from_id() mostly implements the OETF, except for PQ. As such, we are currently missing a precise definition of an ITU-R EOTF. Introduce the new functions av_csp_itu_eotf() and av_csp_itu_eotf_inv(), to fill this void. Note that this is not possible in all cases, e.g. AVCOL_TRC_LOG which has no corresponding EOTF definition in any ITU-R standard. Note that we cannot implement the proper HLG and SMPTE 428 OOTFs without access to all three color channels, because they are not independent per channel. As a result, we need to define them on double[3] instead of double (*func)(double).
Diffstat (limited to 'doc/APIchanges')
-rw-r--r--doc/APIchanges3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index cdd2afb851..b9af3de933 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
API changes, most recent first:
+2024-12-05 - xxxxxxxxxx - lavu 59.49.100 - csp.h
+ Add av_csp_itu_eotf() and av_csp_itu_eotf_inv().
+
2024-12-05 - xxxxxxxxxx - lavu 59.48.100 - csp.h
Add av_csp_trc_func_inv_from_id().