pub unsafe extern "C" fn OH_NativeBuffer_MapPlanes(
buffer: *mut OH_NativeBuffer,
virAddr: *mut *mut c_void,
outPlanes: *mut OH_NativeBuffer_Planes,
) -> i32Expand description
@brief Provide direct cpu access to the potentially multi-planar OH_NativeBuffer in the process’s address space.\n This interface is a non-thread-safe type interface.\n
@syscap SystemCapability.Graphic.Graphic2D.NativeBuffer @param buffer Indicates the pointer to a OH_NativeBuffer instance. @param virAddr Indicates the address of the OH_NativeBuffer in virtual memory. @param outPlanes Indicates all image planes that contain the pixel data. @return Returns an error code, 0 is success, otherwise, failed. @since 12 @version 1.0