hi_mpi_vi_get_pipe_vc_number
The
The
Description
Obtains the VC ID of a physical VI pipe to connect to the front-end sensor.
Restrictions
- This API must be called after a pipe is created and before the pipe is enabled.
- This API does not support virtual pipes.
Prototype
hi_s32 hi_mpi_vi_get_pipe_vc_number(hi_vi_pipe vi_pipe, hi_u32 *vc_number)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vi_pipe |
Input |
Physical pipe ID. Value range: [0, 4) |
vc_number |
Output |
VC ID. |
Returns
- 0: success
- Other values: failure. For details, see VI Return Codes.
Parent topic: VI