hi_mpi_isp_get_dp_static_attr
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, 8) |
dp_static_attr |
Input |
Attribute of the static defect pixel |
Returns
- 0: success
- Other values: failure. For details, see Error Codes.
Parent topic: Defect Pixel