Function av_csp_trc_func_from_id
pub unsafe extern "C" fn av_csp_trc_func_from_id(
trc: u32,
) -> Option<unsafe extern "C" fn(f64) -> f64>
Expand description
Determine the function needed to apply the given AVColorTransferCharacteristic to linear input.
The function returned should expect a nominal domain and range of [0.0-1.0] values outside of this range maybe valid depending on the chosen characteristic function.
@return Will return pointer to the function matching the supplied Transfer Characteristic. If unspecified will return NULL: