<!--
{
  "documentType" : "article",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/core-video-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Core Video Functions"
}
-->

# Core Video Functions

## Topics

### Converting between strings and integer code points

[`func CVColorPrimariesGetIntegerCodePointForString(CFString?) -> Int32`](/documentation/CoreVideo/CVColorPrimariesGetIntegerCodePointForString(_:))

Returns the standard integer code point corresponding to the Core Video color primaries constant string that you specify.

[`func CVColorPrimariesGetStringForIntegerCodePoint(Int32) -> Unmanaged<CFString>?`](/documentation/CoreVideo/CVColorPrimariesGetStringForIntegerCodePoint(_:))

Returns the Core Video color primaries string corresponding to the standard integer code point that you specify.

[`func CVTransferFunctionGetIntegerCodePointForString(CFString?) -> Int32`](/documentation/CoreVideo/CVTransferFunctionGetIntegerCodePointForString(_:))

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

[`func CVTransferFunctionGetStringForIntegerCodePoint(Int32) -> Unmanaged<CFString>?`](/documentation/CoreVideo/CVTransferFunctionGetStringForIntegerCodePoint(_:))

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

[`func CVYCbCrMatrixGetIntegerCodePointForString(CFString?) -> Int32`](/documentation/CoreVideo/CVYCbCrMatrixGetIntegerCodePointForString(_:))

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

[`func CVYCbCrMatrixGetStringForIntegerCodePoint(Int32) -> Unmanaged<CFString>?`](/documentation/CoreVideo/CVYCbCrMatrixGetStringForIntegerCodePoint(_:))

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

### Functions

[`func CVIsCompressedPixelFormatAvailable(OSType) -> Bool`](/documentation/CoreVideo/CVIsCompressedPixelFormatAvailable(_:))

[`func CVPixelBufferCopyCreationAttributes(CVPixelBuffer) -> CFDictionary`](/documentation/CoreVideo/CVPixelBufferCopyCreationAttributes(_:))



---

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)