hi_mpi_isp_sensor_unreg_callback
Applicability
|
Product |
Supported |
|---|---|
|
|
x |
|
|
x |
|
|
√ |
|
|
x |
|
|
x |
Description
Deregisters a sensor. This callback API is provided by the ISP library. This API does not support multiple processes.
Prototype
hi_s32 hi_mpi_isp_sensor_unreg_callback(hi_vi_pipe vi_pipe, hi_sensor_id sensor_id)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
vi_pipe |
Input |
VI pipe ID. Value range: [0, 12) |
|
sensor_id |
Input |
ID of the sensor that is registered with the ISP library. sensor_id can be configured in the sensor library and must be unique. It is used to ensure that the sensor deregistered from the ISP library is the same as that deregistered from the 3A algorithm library. |
Returns
- 0: success
- Other values: failure. For details, see ISP System Control Return Codes.