Skip to main content

OH_PixelmapInitializationOptions_GetSrcPixelFormat

Function OH_PixelmapInitializationOptions_GetSrcPixelFormat 

Source
pub unsafe extern "C" fn OH_PixelmapInitializationOptions_GetSrcPixelFormat(
    options: *mut OH_Pixelmap_InitializationOptions,
    srcpixelFormat: *mut i32,
) -> Image_ErrorCode
Expand description

@brief Get pixelFormat number for InitializationOptions struct.

@param options The InitializationOptions pointer will be operated. @param srcpixelFormat the number of image srcpixelFormat. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if options or srcpixelFormat is null. @since 12