pub unsafe extern "C" fn OH_DecodingOptions_SetDesiredDynamicRange(
options: *mut OH_DecodingOptions,
desiredDynamicRange: i32,
) -> ImageResultAvailable on crate features
api-12 and image-source only.Expand description
Set desiredDynamicRange number for OH_DecodingOptions struct.
§Arguments
-
options- The OH_DecodingOptions pointer will be operated. Pointer connot be null. -
desiredDynamicRange- the number of desired dynamic rangeIMAGE_DYNAMIC_RANGE.
§Returns
- Returns [
Image_ErrorCode] IMAGE_SUCCESS - The operation is successful. returns [Image_ErrorCode] IMAGE_BAD_PARAMETER - Parameter error.Possible causes:Parameter verification failed.
Available since API-level: 12