kCMSampleBufferAttachmentKey_SampleReferenceByteOffset

Static kCMSampleBufferAttachmentKey_SampleReferenceByteOffset 

Source
pub unsafe static kCMSampleBufferAttachmentKey_SampleReferenceByteOffset: &'static CFString
Available on crate feature CMSampleBuffer only.
Expand description

Indicates the byte offset at which the sample data begins.

This key is only used for CMSampleBuffers representing sample references. Such CMSampleBuffers:

  • have dataBuffer == NULL and imageBuffer == NULL
  • have dataReady == true and no makeDataReadyCallback
  • have a non-NULL formatDescription
  • have numSamples > 0
  • have numSampleTimingEntries > 0 and numSampleSizeEntries > 0

See also Apple’s documentation