Contents

MEVideoDecoderExtension

A protocol that defines a factory to create new video decoders for a codec type that the extension implements.

Declaration

protocol MEVideoDecoderExtension : NSObjectProtocol

Discussion

This protocol provides a factory method to create a new MEVideoDecoder instance for a codecType implemented by the extension. A single MEVideoDecoderExtension is instantiated by the VideoToolbox, and will be called to create individual MEVideoDecoder instances as needed. If the codecType or FormatDescription passed to makeVideoDecoder(codecType:videoFormatDescription:videoDecoderSpecifications:pixelBufferManager:) is not compatible with the MEVideoDecoder implementation, the factory call should fail and return MEError.Code.unsupportedFeature.

Topics

Creating a video decoder

See Also

Video decoders