---
title: "CVYCbCrMatrixGetIntegerCodePointForString(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvycbcrmatrixgetintegercodepointforstring(_:)"
---

# CVYCbCrMatrixGetIntegerCodePointForString(_:)

Returns the standard integer code point corresponding to the Core Video YCbCr matrix string that you specify.

## Declaration

```swift
func CVYCbCrMatrixGetIntegerCodePointForString(_ yCbCrMatrixString: CFString?) -> Int32
```

## Parameters

- `yCbCrMatrixString`: A Core Video YCbCr matrix string. See doc://com.apple.corevideo/documentation/CoreVideo/image-buffer-ycbcr-matrix-constants for possible values.

## Return Value

Return Value The code point corresponding to the YCbCr matrix string, or 2 (unknown) if the string is nil or the system doesn’t recognize it.

## See Also

### Converting between strings and integer code points

- [CVColorPrimariesGetIntegerCodePointForString(_:)](corevideo/cvcolorprimariesgetintegercodepointforstring(_:).md)
- [CVColorPrimariesGetStringForIntegerCodePoint(_:)](corevideo/cvcolorprimariesgetstringforintegercodepoint(_:).md)
- [CVTransferFunctionGetIntegerCodePointForString(_:)](corevideo/cvtransferfunctiongetintegercodepointforstring(_:).md)
- [CVTransferFunctionGetStringForIntegerCodePoint(_:)](corevideo/cvtransferfunctiongetstringforintegercodepoint(_:).md)
- [CVYCbCrMatrixGetStringForIntegerCodePoint(_:)](corevideo/cvycbcrmatrixgetstringforintegercodepoint(_:).md)
