Skip to main content

OH_DecodingOptions_GetPixelFormat

Function OH_DecodingOptions_GetPixelFormat 

Source
pub unsafe extern "C" fn OH_DecodingOptions_GetPixelFormat(
    options: *mut OH_DecodingOptions,
    pixelFormat: *mut i32,
) -> Image_ErrorCode
Expand description

@brief Get pixelFormat number for OH_DecodingOptions struct.

@param options The OH_DecodingOptions pointer will be operated. @param pixelFormat the number of image pixelFormat. @return Returns one of the following result codes: {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} options is nullptr, or pixelFormat is nullptr. @since 12