Skip to main content

OH_ImageSourceInfo_GetDynamicRange

Function OH_ImageSourceInfo_GetDynamicRange 

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

@brief Obtains the dynamic range of an image.

@param info Pointer to an OH_ImageSource_Info object. @param isHdr Pointer to a Boolean that specifies whether the HDR is used. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} info is nullptr, or isHdr is nullptr. @since 12