hi_mpi_isp_get_dp_calibrate

Applicable Products

Product

Supported

Ascend 950PR&950DT products

×

Atlas A3 products

×

Atlas A2 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 generally used to calibrate Defect Pixel algorithm parameters in debugging scenarios. You are not advised to use this MPI in production environments because it may cause problems such as memory exceptions and abnormal image effects.

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.