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.
Unified · Split
| @@ -81,8 +81,12 @@ typedef struct AVColorPrimariesDesc { · 80 unmodified lines | |||
| 81 | } AVColorPrimariesDesc; | 81 | } AVColorPrimariesDesc; |
| 82 | 82 | ||
| 83 | /** | 83 | /** |
| 84 | * Function pointer representing a double -> double transfer function that performs | 84 | * Function pointer representing a double -> double transfer function that |
| 85 | * an EOTF transfer inversion. This function outputs linear light. | 85 | * performs either an OETF transfer function, or alternatively an inverse EOTF |
| 86 | * function (in particular, for SMPTE ST 2084 / PQ). This function inputs | ||
| 87 | * linear light, and outputs gamma encoded light. | ||
| 88 | * | ||
| 89 | * See ITU-T H.273 for more information. | ||
| 86 | */ | 90 | */ |
| 87 | typedef double (*av_csp_trc_function)(double); | 91 | typedef double (*av_csp_trc_function)(double); |
| 88 | 92 | ||