VTDecompressionSessionCopyBlackPixelBuffer(_:pixelBufferOut:)
Copies a black pixel buffer from the decompression session.
Declaration
func VTDecompressionSessionCopyBlackPixelBuffer(_ session: VTDecompressionSession, pixelBufferOut: UnsafeMutablePointer<CVPixelBuffer?>) -> OSStatusParameters
- session:
The decompression session.
- pixelBufferOut:
A pointer to receive the copied pixel buffer.
Return Value
An OSStatus value that indicates the result of the operation.
Discussion
The pixel buffer is in the same format as the decompression session.
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(_:)VTDecompressionSessionWaitForAsynchronousFrames(_:)