Skip to main content

OH_PackingOptions_SetDesiredDynamicRange

Function OH_PackingOptions_SetDesiredDynamicRange 

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

@brief Sets the desired dynamic range during encoding.

@param options Pointer to an OH_PackingOptions struct. @param desiredDynamicRange Desired dynamic range. For details about the available options, see {@link IMAGE_PACKER_DYNAMIC_RANGE}. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12