Skip to main content

OH_PixelmapImageInfo_GetDynamicRange

Function OH_PixelmapImageInfo_GetDynamicRange 

Source
pub unsafe extern "C" fn OH_PixelmapImageInfo_GetDynamicRange(
    info: *mut OH_Pixelmap_ImageInfo,
    isHdr: *mut bool,
) -> Image_ErrorCode
Expand description

@brief Get isHdr boolean for imageinfo struct.

@param info The imageinfo pointer will be operated. Pointer connot be null. @param isHdr Whether the image has a high dynamic range. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if info or isHdr is null. @since 12