History

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.

Niklas Haas committed 1 year ago

Commit ec0489e1 parent 2f95bc31 file · +6 −2Browse files

Unified · Split

libavutil/csp.h+6−2
@@ -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 performs84 * 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 */
87typedef double (*av_csp_trc_function)(double);91typedef double (*av_csp_trc_function)(double);
88 92

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t