hi_mpi_isp_get_dp_calibrate

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

×

Atlas A3 training products/Atlas A3 inference products

×

Atlas A2 training products/Atlas A2 inference products

×

Atlas 200I/500 A2 inference products

√

Atlas inference products

×

Atlas training products

×

Description

Obtains the result of static defect pixel calibration.

This MPI is used to calibrate the parameter of the defect pixel algorithm in debugging scenarios. You are not advised to use this MPI in commercial scenarios because it may cause memory exceptions and image exceptions.

Prototype

hi_s32 hi_mpi_isp_get_dp_calibrate(hi_vi_pipe vi_pipe, hi_isp_dp_static_calibrate *dp_calibrate)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

dp_calibrate

Input

Parameter of static defect pixel calibration

Returns

  • 0: success
  • Other values: failure. For details, see Error Codes.