CVTransferFunctionGetIntegerCodePointForString(_:)
Returns the standard integer code point corresponding to the Core Video transfer function string that you specify.
Declaration
func CVTransferFunctionGetIntegerCodePointForString(_ transferFunctionString: CFString?) -> Int32Parameters
- transferFunctionString:
A Core Video transfer function string. See Image Buffer Transfer Function Constants for possible values.
Return Value
The code point corresponding to the transfer function string, or 2 (unknown) if the string is nil or the system doesn’t recognize it.