Skip to main content

OH_ImageProcessing_GetParameter

Function OH_ImageProcessing_GetParameter 

Source
pub unsafe extern "C" fn OH_ImageProcessing_GetParameter(
    imageProcessor: *mut OH_ImageProcessing,
    parameter: *mut OH_AVFormat,
) -> ImageProcessing_ErrorCode
Available on crate features api-13 and image-processing only.
Expand description

Get parameter of image processing.

Get parameter identified by the specified parameter key.

§Arguments

  • imageProcessor - An image processing instance pointer.

  • parameter - The parameter used by the image processing instance.

§Returns

  • [IMAGE_PROCESSING_SUCCESS] if getting parameter is successful.

[IMAGE_PROCESSING_ERROR_INVALID_INSTANCE] if instance is null or not an image processing instance.

[IMAGE_PROCESSING_ERROR_INVALID_PARAMETER] if the parameter is null.

Available since API-level: 13