Skip to main content

OH_DecodingOptions_GetDesiredDynamicRange

Function OH_DecodingOptions_GetDesiredDynamicRange 

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

@brief Obtains the desired dynamic range configured during decoding.

@param options Pointer to an OH_DecodingOptions object. @param desiredDynamicRange Pointer to the desired dynamic range. For details about the available options, see {@link IMAGE_DYNAMIC_RANGE}. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr, or desiredDynamicRange is nullptr. @since 12