---
title: "CVTransferFunctionGetIntegerCodePointForString(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvtransferfunctiongetintegercodepointforstring(_:)"
---

# CVTransferFunctionGetIntegerCodePointForString(_:)

Returns the standard integer code point corresponding to the Core Video transfer function string that you specify.

## Declaration

```swift
func CVTransferFunctionGetIntegerCodePointForString(_ transferFunctionString: CFString?) -> Int32
```

## Parameters

- `transferFunctionString`: A Core Video transfer function string. See doc://com.apple.corevideo/documentation/CoreVideo/image-buffer-transfer-function-constants for possible values.

## Return Value

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.

## See Also

### Converting between strings and integer code points

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