Share via


CoreVideo Namespace

The CoreVideo namespace provides low-level support for capturing and manipulating video streams.

Classes

Name Description
CVBuffer

A Core Video data buffer, containing video, audio, or other type of data.

CVDisplayLink
CVImageBuffer

A CVBuffer that stores image data.

CVImageBufferAlphaChannelModeExtensions

Extension methods for the CVImageBufferAlphaChannelMode enumeration.

CVImageBufferColorPrimariesExtensions

Extension methods for the CVImageBufferColorPrimaries enumeration.

CVImageBufferDisplayMaskRectangle
CVImageBufferDisplayMaskRectangleKeys
CVImageBufferTransferFunctionExtensions

Extension methods for the CVImageBufferTransferFunction enumeration.

CVImageBufferYCbCrMatrixExtensions

Extension methods for the CVImageBufferYCbCrMatrix enumeration.

CVMetalBuffer

A CVPixelBuffer wrapped in a Metal based buffer.

CVMetalBufferCache

A cache used to manage CVMetalBuffer instances.

CVMetalBufferCacheAttributes
CVMetalTexture

This type exposes a CoreVideo buffer as a Metal texture.

CVMetalTextureAttributes
CVMetalTextureCache

Cache to manage CVMetalTexture objects.

CVOpenGLESTexture
CVOpenGLESTextureCache
CVPixelBuffer

A CVImageBuffer that holds pixels.

CVPixelBufferAttributes

Manages the attributes associated with CVPixelBuffer.

CVPixelBufferPool

A reusable set of CVPixelBuffers.

CVPixelBufferPoolAllocationSettings

Manages pixel buffer pool allocation settings.

CVPixelBufferPoolSettings

Manages pixel buffer settings.

CVPixelFormatComponentRange
CVPixelFormatComponentRangeKeys
CVPixelFormatComponentRangeValuesExtensions

Extension methods for the CVPixelFormatComponentRangeValues enumeration.

CVPixelFormatDescription

A class that supports the definition of customer pixel formats.

CVPixelFormatKeys
CVPixelFormatTypeExtensions

Structs

Name Description
CVFillExtendedPixelsCallBackData

Encapsulates the description of a custom extended-pixel fill algorithm.

CVFillExtendedPixelsCallBackDataStruct
CVPlanarComponentInfo

A struct that describes planar components.

CVPlanarPixelBufferInfo

A struct that holds the CVPlanarComponentInfos of a planar buffer.

CVPlanarPixelBufferInfo_YCbCrBiPlanar

Implements a YCbCr biplanar buffer description.

CVPlanarPixelBufferInfo_YCbCrPlanar

A struct that defines the CVPlanarComponentInfos of a YCbCr planar buffer.

CVSMPTETime

Encodes an SMPTE timestamp.

CVTime

CoreVideo time representation.

CVTimeStamp

A struct that describes a display timestamp.

Enums

Name Description
CVAttachmentMode

An enumeration whose values specify whether a buffer attachment should or should not propagate.

CVImageBufferAlphaChannelMode
CVImageBufferColorPrimaries
CVImageBufferTransferFunction
CVImageBufferYCbCrMatrix
CVOptionFlags

A flagging enumeration. Currently only contains a None value of 0.

CVPixelBufferLock

An enumeration that flags whether a CVPixelBuffer is read-only or not.

CVPixelBufferPoolFlushFlags

Defines an option for Flush(CVPixelBufferPoolFlushFlags).

CVPixelFormatComponentRangeValues
CVPixelFormatType

An enumeration of known pixel formats.

CVReturn

Possible status codes for CoreVideo functions.

CVSMPTETimeFlags

An enumeration whose values specify the SMPTE time state.

CVSMPTETimeType

An enumeration whose values specify SMPTE timecode types.

CVTimeFlags

An enumeration that can flag whether a CVTime is unknown.

CVTimeStampFlags

An enumeration whose values can flag validity of a timestamp or field in a CVTimeStamp.

CVVersatileBayerPattern

Delegates

Name Description
CVDisplayLink.DisplayLinkOutputCallback
CVFillExtendedPixelsCallBack

A delegate that defines the function used to pad buffers that use a custom pixel format.

Remarks

CoreVideo provides a pipeline model for digital video. It defines types for representing pixel buffers, display links, and time stamps, enabling efficient handling of video data throughout the system.

Key types in this namespace include CVPixelBuffer for managing pixel data, CVDisplayLink for synchronizing rendering with display refresh rates, and various buffer pool and texture cache types for optimizing video memory management.