hi_mpi_isp_set_sns_slave_attr
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
☓ |
|
☓ |
|
√ |
|
☓ |
|
☓ |
Function Description
Sets the horizontal/vertical synchronization signal of the slave mode sensor.
In slave mode, the sensor needs to provide the horizontal sync signal XHS and vertical sync signal XVS for exposure and data read under the control of the two signals. This interface is used to configure the sync signal generation module so that the horizontal and vertical timings required by the sensor are output. This API is generally called in the sensor library.
Prototype
hi_s32 hi_mpi_isp_set_sns_slave_attr(hi_slave_dev slave_dev, const hi_isp_slave_sns_sync* sns_sync)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
slave_dev |
Input |
ID of the slave signal device. |
sns_sync |
Input |
Synchronization signal configuration. |
Returns
- 0: success
- Other values: failure. For details, see ISP Return Codes.
Restrictions
Two binding relationships exist for the slave signal. First, the pipe is bound to the vsync. Second, different signal source slaves can be selected in the vsync. That is, different pipes or slave signal devices vsync can select different slave signal devices vsync or pipes.