<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVImageBufferRepresentable",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo26CVImageBufferRepresentableP"
  },
  "title" : "CVImageBufferRepresentable"
}
-->

# CVImageBufferRepresentable

CVImageBufferRepresentable protocol is a sealed protocol intended to be implemented by the
types in CoreVideo framework. This protocol facilitates Swift types that wrap a value
of CVImageBuffer type.

```
protocol CVImageBufferRepresentable : CVBufferRepresentable, ~Copyable
```

## Topics

### Instance Properties

[`var cleanRect: CGRect`](/documentation/CoreVideo/CVImageBufferRepresentable/cleanRect)

Source rectangle of a CVImageBuffer that represents the clean aperture of the buffer in encoded pixels.
For example, an NTSC DV frame would return a CGRect with an origin of 8,0 and a size of 704,480.
Note that the origin of this rect is always the lower left corner. This is the same coordinate system as used by CoreImage.

[`var colorSpace: CGColorSpace?`](/documentation/CoreVideo/CVImageBufferRepresentable/colorSpace)

Color space of the image if specified

[`var displaySize: CGSize`](/documentation/CoreVideo/CVImageBufferRepresentable/displaySize)

Nominal output display size (in square pixels) of a CVImageBuffer. For example, for an NTSC DV frame this would be 640x480

[`var encodedSize: CGSize`](/documentation/CoreVideo/CVImageBufferRepresentable/encodedSize)

Full encoded dimensions of a CVImageBuffer.  For example, for an NTSC DV frame this would be 720x480

[`var originPosition: CVImageBufferOriginPosition`](/documentation/CoreVideo/CVImageBufferRepresentable/originPosition)

Position of {0, 0} coordinates in the image

## Relationships

### Inherits From

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

### Inherited By

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

### Conforming Types

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

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

---

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)