Documentation Archive Developer
Search

VideoDecodeAcceleration Changes

VideoDecodeAcceleration

Modified VDADecoderCreate(CFDictionary!, CFDictionary!, UnsafeMutablePointer<VDADecoderOutputCallback>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<VDADecoder>) -> OSStatus
Declaration
From
func VDADecoderCreate(_ decoderConfiguration: CFDictionary!, _ destinationImageBufferAttributes: CFDictionary!, _ outputCallback: UnsafePointer<VDADecoderOutputCallback>, _ decoderOutputCallbackRefcon: UnsafePointer<()>, _ decoderOut: UnsafePointer<VDADecoder>) -> OSStatus
To
func VDADecoderCreate(_ decoderConfiguration: CFDictionary!, _ destinationImageBufferAttributes: CFDictionary!, _ outputCallback: UnsafeMutablePointer<VDADecoderOutputCallback>, _ decoderOutputCallbackRefcon: UnsafeMutablePointer<Void>, _ decoderOut: UnsafeMutablePointer<VDADecoder>) -> OSStatus

Modified VDADecoderOutputCallback
Declaration
From
typealias VDADecoderOutputCallback = CFunctionPointer<((UnsafePointer<()>, CFDictionary!, OSStatus, UInt32, CVImageBuffer!) -> Void)>
To
typealias VDADecoderOutputCallback = CFunctionPointer<((UnsafeMutablePointer<Void>, CFDictionary!, OSStatus, UInt32, CVImageBuffer!) -> Void)>