Contents

registerCustomPixelFormat(_:)

Declaration

func registerCustomPixelFormat(_ customPixelFormat: [String : Any])

Parameters

Discussion

This property is appropriate for decoders which produce output in a custom pixel format. This will generally only be used by decoders which produce RAW output, where the decoder’s output buffers will only be consumed by an MERAWProcessor extension which registers the same pixel format. The MERAWProcessor needs to manually register the custom pixel format using CVPixelFormatDescriptionCreateWithPixelFormatType(_:_:).