pub unsafe extern "C-unwind" fn CMVideoFormatDescriptionMatchesImageBuffer(
desc: &CMVideoFormatDescription,
image_buffer: &CVImageBuffer,
) -> boolAvailable on crate features
CMFormatDescription and objc2-core-video only.Expand description
Checks to see if a given format description matches an image buffer.
This function uses the keys returned by CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers to compares the extensions of the given format description to the attachments of the given image buffer (if an attachment is absent in either it must be absent in both). It also checks kCMFormatDescriptionExtension_BytesPerRow against CVPixelBufferGetBytesPerRow, if applicable.