Class

AVVideoCompositionRenderContext

An object that defines the context within which custom compositors render new output pixel buffers.

Declaration

@interface AVVideoCompositionRenderContext : NSObject

Overview

An instance of AVVideoCompositionRenderContext provides size and scaling information and offers a service for efficiently providing pixel buffers from a managed pool of buffers.

Topics

Creating the Pixel Buffer

- newPixelBuffer

Returns a pixel buffer to use for rendering.

Getting the Render Settings

videoComposition

The video composition being rendered.

highQualityRendering

The rendering quality to use.

renderScale

A scaling ratio that is applied when rendering frames.

renderTransform

A transform to apply to the source image.

size

The width and height for the rendering frames.

Getting Pixel and Edge Width Information

edgeWidths

The thickness of the edge processing region on the left, top, right, and bottom edges, in pixels.

AVEdgeWidths

An edge processing region thickness.

pixelAspectRatio

The pixel aspect ratio for rendered frames.

AVPixelAspectRatio

A pixel aspect ratio for the rendering context.

Relationships

Inherits From

See Also

Video Composition

AVVideoComposition

An object that represents an immutable video composition.

AVMutableVideoComposition

An object that represents a mutable video composition.

AVAsynchronousCIImageFilteringRequest

An object that supprts using Core Image filters to process an individual video frame in a video composition.

AVAsynchronousVideoCompositionRequest

An object that contains the information necessary for a video compositor to render an output pixel buffer.

AVMutableVideoCompositionInstruction

An operation performed by a compositor.

AVMutableVideoCompositionLayerInstruction

An object used to modify the transform, cropping, and opacity ramps applied to a given track in a mutable composition.

AVVideoCompositionCoreAnimationTool

An object used to incorporate Core Animation into a video composition.

AVVideoCompositionInstruction

An operation performed by a compositor.

AVVideoCompositionLayerInstruction

An object used to modify the transform, cropping, and opacity ramps applied to a given track in a composition.