hi_mpi_isp_set_fpn_attr
Description
Sets the FPN removal attribute.
Prototype
hi_s32 hi_mpi_isp_set_fpn_attr(hi_vi_pipe vi_pipe, const hi_isp_fpn_attr *fpn_attr)
Constraints
- Correction in block mode is not supported.
- FPN correction is not supported in WDR mode.
- FPN correction is not supported in compression mode and can be performed only in non-compressed mode.
- The minimum resolution of the black frame for correction is 120 x 120, and the maximum resolution is 4096 x 4096.
- During correction, you need to enter the black frame information, offset, and ISO saved during calibration.
- During calibration, hi_mpi_vi_pipe_get_buffer needs to be called to apply for memory. The length of the applied memory cannot be less than the length of the black frame saved during calibration.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vi_pipe |
Input |
VI pipe ID Value range: [0, 8) |
fpn_attr |
Input |
Pointer to the FPN removal attribute |
Returns
- 0: success
- Other values: failure. For details, see Error Codes.
Parent topic: FPN Removal