makeProcessor(formatDescription:pixelBufferManager:)
A factory method to create a video RAW processor.
Declaration
func makeProcessor(formatDescription: CMVideoFormatDescription, pixelBufferManager extensionPixelBufferManager: MERAWProcessorPixelBufferManager) throws -> any MERAWProcessorParameters
- formatDescription:
A
CMVideoFormatDescriptiondescribing the video data that was decoded to produce the RAW input for the video RAW processor. - extensionPixelBufferManager:
An
MERAWProcessorPixelBufferManagerinstance that should be retained by the newMERAWProcessorinstance and used for output pixelBuffer configuration and allocation.
Discussion
Creates a new MERAWProcessor matching the given CMVideoFormatDescriptionRef. If these parameters are not compatible with the MERAWProcessor, the call should fail, returning MEErrorUnsupportedFeature.