diff options
author | Niklas Haas <git@haasn.dev> | 2024-11-25 11:45:13 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-12-05 11:51:18 +0100 |
commit | ec0489e35c2b996ce70e13201bb44a545736d3b5 (patch) | |
tree | 2942ee587a70dda9a572e28b628a25a77c3e10f9 | |
parent | 2f95bc3cb3c0d2e88e33b219409e5ca2719f0c73 (diff) | |
download | ffmpeg-ec0489e35c2b996ce70e13201bb44a545736d3b5.tar.gz |
avutil/csp: fix documentation of av_csp_trc_function
This explanation was inaccurate and highly misleading. The new wording is taken
more or less directly from ITU-T H.273, and also matches my understanding of
these functions.
-rw-r--r-- | libavutil/csp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavutil/csp.h b/libavutil/csp.h index 73bce52bc0..bc8f3dc9f6 100644 --- a/libavutil/csp.h +++ b/libavutil/csp.h @@ -81,8 +81,12 @@ typedef struct AVColorPrimariesDesc { } AVColorPrimariesDesc; /** - * Function pointer representing a double -> double transfer function that performs - * an EOTF transfer inversion. This function outputs linear light. + * Function pointer representing a double -> double transfer function that + * performs either an OETF transfer function, or alternatively an inverse EOTF + * function (in particular, for SMPTE ST 2084 / PQ). This function inputs + * linear light, and outputs gamma encoded light. + * + * See ITU-T H.273 for more information. */ typedef double (*av_csp_trc_function)(double); |