hi_mpi_ae_sensor_unreg_callback

Applicable Products

Product

Supported

Ascend 950PR&950DT products

×

Atlas A3 products

×

Atlas A2 products

×

Atlas 200I/500 A2 inference products

√

Atlas inference products

×

Atlas training products

×

Description

Deregisters a sensor. This callback API is provided by the AE algorithm library.

This MPI does not support multi-process operations.

Prototype

hi_s32 hi_mpi_ae_sensor_unreg_callback(hi_vi_pipe vi_pipe, hi_isp_3a_alg_lib *ae_lib, hi_sensor_id sensor_id)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID

Value range: [0, 12)

ae_lib

Input

Pointer to the data structure of the AE algorithm library

sensor_id

Input

ID of the sensor that is deregistered from the AE algorithm library.

sensor_id can be configured in the sensor library. It is used to ensure that the sensor deregistered from the ISP is the same as that deregistered from the 3A algorithm library.

Returns

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