Skip to main content

OH_ImageProcessing_IsDecompositionSupported

Function OH_ImageProcessing_IsDecompositionSupported 

Source
pub unsafe extern "C" fn OH_ImageProcessing_IsDecompositionSupported(
    sourceImageInfo: *const ImageProcessing_ColorSpaceInfo,
    destinationImageInfo: *const ImageProcessing_ColorSpaceInfo,
    destinationGainmapInfo: *const ImageProcessing_ColorSpaceInfo,
) -> bool
Available on crate features api-13 and image-processing only.
Expand description

Query whether the image decomposition is supported.

§Arguments

  • sourceImageInfo - Input image color space information pointer.

  • destinationImageInfo - Output image color space information pointer.

  • destinationGainmapInfo - Output gainmap information pointer.

§Returns

  • true if the image decomposition is supported.

false if the image decomposition is unsupported.

Available since API-level: 13