One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVImageBufferRepresentable

protocol · iOS 26.0+ · SDK 27.1

protocol CVImageBufferRepresentable : CVBufferRepresentable, ~Copyable

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.

Members (5)

get · iOS 26.0+

colorSpace

Swift declaration
var colorSpace: CGColorSpace? { get }

Color space of the image if specified

get · iOS 26.0+

displaySize

Swift declaration
var displaySize: CGSize { get }

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

get · iOS 26.0+

encodedSize

Swift declaration
var encodedSize: CGSize { get }

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

get · iOS 26.0+

originPosition

Swift declaration
var originPosition: CVImageBufferOriginPosition { get }

Position of {0, 0} coordinates in the image

get · iOS 26.0+

cleanRect

Swift declaration
var cleanRect: CGRect { get }

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.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreVideo types →