hi_mpi_isp_get_dp_static_attr

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 static defect pixel attribute.

Prototype

hi_s32 hi_mpi_isp_get_dp_static_attr(hi_vi_pipe vi_pipe, hi_isp_dp_static_attr *dp_static_attr)

Constraints

When configuring the static defect pixel attribute, note that the bright defect pixel LUT stores the coordinates of bright defect pixels, and the dark defect pixel LUT stores the coordinates of dark defect pixels. When obtaining the static defect pixel attribute, note that the bright defect pixel LUT stores the coordinates of all defect pixels.

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

dp_static_attr

Input

Attribute of the static defect pixel

Returns

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