[Cin] libavutil/csp.h reading
Andrew Randrianasulu
randrianasulu at gmail.com
Sun Apr 27 15:15:06 CEST 2025
===
/**
* Returns the ITU EOTF corresponding to a given TRC. This converts from the
* signal level [0,1] to the raw output display luminance in nits
(cd/m^2).
* This is done per channel in RGB space, except for AVCOL_TRC_SMPTE428,
which
* assumes CIE XYZ in- and output.
*
* @return A pointer to the function implementing
the given TRC, or NULL if no
* such function is defined.
*
* @note In general, the resulting function is defined (wherever possible)
for
* out-of-range values, even though these values do not have a
physical
* meaning on the given display. Users should clamp inputs (or
outputs)
* if this behavior is not desired.
*
* This is also the case for functions like PQ, which are defined
over an
* absolute signal range independent of the target display
capabilities.
*/
av_csp_eotf_function av_csp_itu_eotf(enum
AVColorTransferCharacteristic trc);
I guess this can be used for potential HDR waveform scope display?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250427/7e133720/attachment.htm>
More information about the Cin
mailing list