ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary
Returns a copy of a profile with an HAGC tag synthesized from an info dictionary.
Declaration
extern ColorSyncProfileRef ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary(ColorSyncProfileRef profile, CFDictionaryRef info);Parameters
- profile:
A profile whose CICP tag indicates a PQ, HLG, or linear transfer function. (Use linear for extended-range data.) Passing an SDR profile returns
NULL. - info:
A dictionary describing the gain curve. See the key constants declared below for its structure.
Return Value
A new profile that the caller must release with CFRelease, or NULL on failure.