Go to the source code of this file.
out_primaries. More... Definition at line 24 of file fflcms2.c.
Referenced by ff_icc_context_init(), and libplacebo_init().
Initializes an FFIccContext.
This must be done prior to using it.
Returns 0 on success, or a negative error code.
Definition at line 30 of file fflcms2.c.
Referenced by iccdetect_init(), and iccgen_init().
Definition at line 42 of file fflcms2.c.
Referenced by ff_codec_close(), iccdetect_uninit(), and iccgen_uninit().
Definition at line 50 of file fflcms2.c.
Referenced by ff_icc_profile_detect_transfer(), and ff_icc_profile_generate().
Generate an ICC profile for a given combination of color primaries and transfer function.
Both values must be set to valid entries (not "undefined") for this function to work.
Returns 0 on success, or a negative error code.
Definition at line 143 of file fflcms2.c.
Referenced by iccgen_filter_frame().
Attach an ICC profile to a frame.
Helper wrapper around cmsSaveProfileToMem and av_frame_new_side_data_from_buf.
Returns 0 on success, or a negative error code.
Definition at line 170 of file fflcms2.c.
Referenced by iccgen_filter_frame().
Definition at line 195 of file fflcms2.c.
Referenced by ff_icc_profile_read_primaries(), and ff_icc_profile_sanitize().
Definition at line 202 of file fflcms2.c.
Referenced by ff_icc_profile_sanitize().
Sanitize an ICC profile to try and fix badly broken values.
Returns 0 on success, or a negative error code.
Definition at line 211 of file fflcms2.c.
Referenced by iccdetect_filter_frame().
Read the color primaries and white point coefficients encoded by an ICC profile, and return the raw values in out_primaries.
Returns 0 on success, or a negative error code.
Definition at line 253 of file fflcms2.c.
Referenced by iccdetect_filter_frame().
Attempt detecting the transfer characteristic that best approximates the transfer function encoded by an ICC profile.
Sets out_trc to AVCOL_TRC_UNSPECIFIED if no clear match can be identified.
Returns 0 on success (including no match), or a negative error code.
Definition at line 300 of file fflcms2.c.
Referenced by iccdetect_filter_frame().
Definition at line 209 of file fflcms2.c.
Referenced by ff_icc_profile_sanitize().