<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImageYpCbCrType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@EA@vImageYpCbCrType"
  },
  "title" : "vImageYpCbCrType"
}
-->

# vImageYpCbCrType

Constants that describe the encoding of a YpCbCr image for conversions between RGB and YpCbCr.

```
struct vImageYpCbCrType
```

## Topics

### Raw values

### Constants

[`init(_:)`](/documentation/Accelerate/vImageYpCbCrType/init(_:))

Creates a new YpCbCr type.

[`init(rawValue:)`](/documentation/Accelerate/vImageYpCbCrType/init(rawValue:))

Creates a new YpCbCr type with an unsigned integer value.

[`rawValue`](/documentation/Accelerate/vImageYpCbCrType/rawValue)

The unsigned integer raw value.

[`kvImage420Yp8_Cb8_Cr8`](/documentation/Accelerate/kvImage420Yp8_Cb8_Cr8)

Any y420 or f420 (planar component Y’CbCr 8-bit 4:2:0) buffer.

[`kvImage420Yp8_CbCr8`](/documentation/Accelerate/kvImage420Yp8_CbCr8)

Any 420v or 420f (biplanar component Y’CbCr 8-bit 4:2:0, video-range) buffer.

[`kvImage422CbYpCrYp16`](/documentation/Accelerate/kvImage422CbYpCrYp16)

Any v216 (component Y’CbCr 10,12,14,16-bit 4:2:2) buffer.

[`kvImage422CbYpCrYp8`](/documentation/Accelerate/kvImage422CbYpCrYp8)

Any 2vuy (component Y’CbCr 8-bit 4:2:2) buffer.

[`kvImage422CbYpCrYp8_AA8`](/documentation/Accelerate/kvImage422CbYpCrYp8_AA8)

Any a2vy (first plane: video-range component Y’CbCr 8-bit 4:2:2, ordered Cb Y’0 Cr Y’1; second plane: alpha 8-bit) buffer.

[`kvImage422CrYpCbYpCbYpCbYpCrYpCrYp10`](/documentation/Accelerate/kvImage422CrYpCbYpCbYpCbYpCrYpCrYp10)

Any v210 (component Y’CbCr 10-bit 4:2:2) buffer.

[`kvImage422YpCbYpCr8`](/documentation/Accelerate/kvImage422YpCbYpCr8)

Any yuvs or yuvf (component Y’CbCr 8-bit 4:2:2, ordered Y’0 Cb Y’1 Cr) buffer.

[`kvImage444AYpCbCr16`](/documentation/Accelerate/kvImage444AYpCbCr16)

Any y416 (component Y’CbCrA 16-bit 4:4:4:4, ordered A Y’ Cb Cr, full range alpha, video range Y’CbCr) buffer.

[`kvImage444AYpCbCr8`](/documentation/Accelerate/kvImage444AYpCbCr8)

Any r408 or y408 (component Y’CbCrA 8-bit 4:4:4:4, ordered A Y’ Cb Cr, full range alpha, video range Y’CbCr) buffer.

[`kvImage444CbYpCrA8`](/documentation/Accelerate/kvImage444CbYpCrA8)

Any v408 (component Y’CbCrA 8-bit 4:4:4:4) buffer.

[`kvImage444CrYpCb10`](/documentation/Accelerate/kvImage444CrYpCb10)

Any v410 (component Y’CbCr 10-bit 4:4:4) buffer.

[`kvImage444CrYpCb8`](/documentation/Accelerate/kvImage444CrYpCb8)

Any v308 (component Y’CbCr 8-bit 4:4:4) buffer.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)