Skip to main content

OH_PackingOptions_GetDesiredDynamicRange

Function OH_PackingOptions_GetDesiredDynamicRange 

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

@brief Get desiredDynamicRange for PackingOptions struct.

@param options The PackingOptions pointer will be operated. Pointer connot be null. @param desiredDynamicRange The number of dynamic range {@link IMAGE_PACKER_DYNAMIC_RANGE}. Pointer connot be null. @return Image functions result code. {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} options is nullptr, or desiredDynamicRange is nullptr. @since 12