pub unsafe extern "C-unwind" fn CVPixelBufferGetExtendedPixels(
pixel_buffer: &CVPixelBuffer,
extra_columns_on_left: *mut usize,
extra_columns_on_right: *mut usize,
extra_rows_on_top: *mut usize,
extra_rows_on_bottom: *mut usize,
)Available on crate features
CVBuffer and CVImageBuffer and CVPixelBuffer only.Expand description
Returns the size of extended pixels of the PixelBuffer.
On OSX 10.10 and earlier, or iOS 8 and earlier, calling this function with a non-planar buffer will have undefined behavior.
Parameter pixelBuffer: Target PixelBuffer.
Parameter extraColumnsOnLeft: Returns the pixel row padding to the left. May be NULL.
Parameter extraRowsOnTop: Returns the pixel row padding to the top. May be NULL.
Parameter extraColumnsOnRight: Returns the pixel row padding to the right. May be NULL.
Parameter extraRowsOnBottom: Returns the pixel row padding to the bottom. May be NULL.
ยงSafety
extra_columns_on_leftmust be a valid pointer or null.extra_columns_on_rightmust be a valid pointer or null.extra_rows_on_topmust be a valid pointer or null.extra_rows_on_bottommust be a valid pointer or null.