hi_mpi_isp_exit
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function Description
Exits the ISP firmware.
Prototype
hi_s32 hi_mpi_isp_exit(hi_vi_pipe vi_pipe)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
vi_pipe |
Input |
Pipe ID. Value range: [0, 12) |
Returns
- 0: success
- Other values: failure. For details, see ISP Return Codes.
Restrictions
- Call this API to exit the ISP firmware after hi_mpi_isp_run is called.
- Multi-process is not supported. This API must be called in the same process as the hi_mpi_isp_sensor_reg_callback, hi_mpi_isp_init, hi_mpi_isp_run, hi_mpi_ae_register, and hi_mpi_awb_register APIs.
- This API can be called repeatedly.
- When the same VI pipe is used, multiple threads cannot be used to create and destroy the ISP (that is, multiple threads call the hi_mpi_isp_sensor_reg_callback, hi_mpi_isp_run, hi_mpi_isp_exit, hi_mpi_ae_register, and hi_mpi_awb_register APIs at the same time).
Parent topic: ISP System Control and 3A Algorithm Registration