Function CVImageBufferGetDisplaySize

Source
pub unsafe extern "C-unwind" fn CVImageBufferGetDisplaySize(
    image_buffer: &CVImageBuffer,
) -> CGSize
Available on crate features CVImageBuffer and CVBuffer only.
Expand description

Returns the nominal output display size (in square pixels) of a CVImageBuffer. For example, for an NTSC DV frame this would be 640x480

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 size if called with a non-CVImageBufferRef type or NULL.