pub extern "C-unwind" fn CVPixelBufferGetBaseAddress(
pixel_buffer: &CVPixelBuffer,
) -> *mut c_voidAvailable on crate features
CVBuffer and CVImageBuffer and CVPixelBuffer only.Expand description
Returns the base address of the PixelBuffer.
Retrieving the base address for a PixelBuffer requires that the buffer base address be locked via a successful call to CVPixelBufferLockBaseAddress.
Parameter pixelBuffer: Target PixelBuffer.
Returns: Base address of the pixels. For chunky buffers, this will return a pointer to the pixel at 0,0 in the buffer For planar buffers this will return a pointer to a PlanarComponentInfo struct (defined in QuickTime).