CVColorPrimariesGetIntegerCodePointForString(_:)
Returns the standard integer code point corresponding to the Core Video color primaries constant string that you specify.
Declaration
func CVColorPrimariesGetIntegerCodePointForString(_ colorPrimariesString: CFString?) -> Int32Parameters
- colorPrimariesString:
A Core Video color primaries string. See Image Buffer Color Primaries Constants for possible values.
Return Value
The code point corresponding to the color primaries string, or 2 (unknown) if the string is nil or the system doesn’t recognize it.