CMSampleBufferGetOutputDecodeTimeStamp(_:)
Returns the output decode timestamp of a sample buffer.
Declaration
func CMSampleBufferGetOutputDecodeTimeStamp(_ sbuf: CMSampleBuffer) -> CMTimeParameters
- sbuf:
The
CMSampleBufferbeing interrogated.
Return Value
The output decode timestamp of the CMSampleBuffer or kCMTimeInvalid if there is an error.
Discussion
For consistency with CMSampleBufferGetOutputPresentationTimeStamp(_:), this function calculates the returned value as:
OutputPresentationTimeStamp + ((DecodeTimeStamp - PresentationTimeStamp) / SpeedMultiplier)
See Also
Inspecting Duration and Timing
CMSampleBufferGetDuration(_:)CMSampleBufferGetDecodeTimeStamp(_:)CMSampleBufferGetPresentationTimeStamp(_:)CMSampleBufferGetOutputDuration(_:)CMSampleBufferGetOutputPresentationTimeStamp(_:)CMSampleBufferSetOutputPresentationTimeStamp(_:newValue:)CMSampleBufferGetSampleTimingInfo(_:at:timingInfoOut:)CMSampleBufferGetSampleTimingInfoArray(_:entryCount:arrayToFill:entriesNeededOut:)CMSampleBufferGetOutputSampleTimingInfoArray(_:entryCount:arrayToFill:entriesNeededOut:)