Skip to main content

OH_DecodingOptions_SetDesiredDynamicRange

Function OH_DecodingOptions_SetDesiredDynamicRange 

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

@brief Set desiredDynamicRange number for OH_DecodingOptions struct.

@param options The OH_DecodingOptions pointer will be operated. Pointer connot be null. @param desiredDynamicRange the number of desired dynamic range {@link IMAGE_DYNAMIC_RANGE}. @return Returns one of the following result codes: {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12