VTDecompressionSessionWaitForAsynchronousFrames(_:)
Waits for any and all outstanding asynchronous and delayed frames to complete, then returns.
Declaration
func VTDecompressionSessionWaitForAsynchronousFrames(_ session: VTDecompressionSession) -> OSStatusParameters
- session:
The decompression session.
Return Value
An OSStatus value that indicates the result of the operation.
Discussion
This function automatically calls VTDecompressionSessionFinishDelayedFrames(_:), so clients don’t have to call both.
See Also
Decoding Frames
VTDecompressionSessionCanAcceptFormatDescription(_:formatDescription:)VTDecompressionSessionDecodeFrame(_:sampleBuffer:flags:frameRefcon:infoFlagsOut:)VTDecompressionSessionDecodeFrame(_:sampleBuffer:flags:frameOptions:frameRefcon:infoFlagsOut:)VTDecompressionSessionDecodeFrame(_:sampleBuffer:flags:infoFlagsOut:outputHandler:)VTDecompressionSessionDecodeFrame(_:sampleBuffer:flags:frameOptions:infoFlagsOut:outputHandler:)VTDecompressionSessionDecodeFrame(_:sampleBuffer:flags:infoFlagsOut:completionHandler:)VTDecompressionSessionFinishDelayedFrames(_:)VTDecompressionSessionCopyBlackPixelBuffer(_:pixelBufferOut:)