---
title: CVImageChromaField.SampleLocation
framework: corevideo
role: symbol
role_heading: Enumeration
path: corevideo/cvimagechromafield/samplelocation
---

# CVImageChromaField.SampleLocation

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

## Declaration

```swift
enum SampleLocation
```

## Topics

### Enumeration Cases

- [CVImageChromaField.SampleLocation.bottom](corevideo/cvimagechromafield/samplelocation/bottom.md)
- [CVImageChromaField.SampleLocation.bottomLeft](corevideo/cvimagechromafield/samplelocation/bottomleft.md)
- [CVImageChromaField.SampleLocation.center](corevideo/cvimagechromafield/samplelocation/center.md)
- [CVImageChromaField.SampleLocation.dv420](corevideo/cvimagechromafield/samplelocation/dv420.md)
- [CVImageChromaField.SampleLocation.left](corevideo/cvimagechromafield/samplelocation/left.md)
- [CVImageChromaField.SampleLocation.top](corevideo/cvimagechromafield/samplelocation/top.md)
- [CVImageChromaField.SampleLocation.topLeft](corevideo/cvimagechromafield/samplelocation/topleft.md)

## Relationships

### Conforms To

- [CVAttachmentValueRepresentable](corevideo/cvattachmentvaluerepresentable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
