CVPixelBufferGetBytesPerRow

Function CVPixelBufferGetBytesPerRow 

Source
pub extern "C-unwind" fn CVPixelBufferGetBytesPerRow(
    pixel_buffer: &CVPixelBuffer,
) -> usize
Available on crate features CVBuffer and CVImageBuffer and CVPixelBuffer only.
Expand description

Returns the rowBytes of the PixelBuffer.

Parameter pixelBuffer: Target PixelBuffer.

Returns: Bytes per row of the image data. For planar buffers this will return a rowBytes value such that bytesPerRow * height will cover the entire image including all planes.