pub extern "C-unwind" fn CVImageBufferGetCleanRect(
image_buffer: &CVImageBuffer,
) -> CGRectAvailable on crate features
CVBuffer and CVImageBuffer only.Expand description
Returns the source rectangle of a CVImageBuffer that represents the clean aperture of the buffer in encoded pixels. For example, an NTSC DV frame would return a CGRect with an origin of 8,0 and a size of 704,480. Note that the origin of this rect always the lower left corner. This is the same coordinate system as used by CoreImage.
Parameter imageBuffer: A CVImageBuffer that you wish to retrieve the display size from.
Returns: A CGSize returning the nominal display size of the buffer Returns zero rect if called with a non-CVImageBufferRef type or NULL.