<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVTransferFunctionGetIntegerCodePointForString(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVTransferFunctionGetIntegerCodePointForString"
  },
  "title" : "CVTransferFunctionGetIntegerCodePointForString(_:)"
}
-->

# CVTransferFunctionGetIntegerCodePointForString(_:)

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

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

## Parameters

`transferFunctionString`

A Core Video transfer function string. See [Image Buffer Transfer Function Constants](/documentation/CoreVideo/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 <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0> or the system doesn’t recognize it.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)