<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVImageChromaField/SampleLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo18CVImageChromaFieldV14SampleLocationO"
  },
  "title" : "CVImageChromaField.SampleLocation"
}
-->

# CVImageChromaField.SampleLocation

Indicates the locations of the chroma sample in the image buffer.

```
enum SampleLocation
```

## Topics

### Enumeration Cases

[`case bottom`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/bottom)

Chroma sample is horizontally centered, but is co-sited with the bottom row of luma samples.

[`case bottomLeft`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/bottomLeft)

Chroma sample is co-sited with the bottom-left luma sample.

[`case center`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/center)

Chroma sample is fully centered.

[`case dv420`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/dv420)

The Cr and Cb samples are alternatingly co-sited with the left luma samples of the same field.

[`case left`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/left)

Chroma sample is horizontally co-sited with the left column of luma samples, but centered vertically.

[`case top`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/top)

Chroma sample is horizontally centered, but is co-sited with the top row of luma samples.

[`case topLeft`](/documentation/CoreVideo/CVImageChromaField/SampleLocation/topLeft)

Chroma sample is co-sited with the top-left luma sample.

## Relationships

### Conforms To

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

[`CVAttachmentValueRepresentable`](/documentation/CoreVideo/CVAttachmentValueRepresentable)

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

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

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

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

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

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

---

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)