hi_mpi_vi_get_pipe_frame_source
The
The
Description
Obtains the frame source of a VI pipe.
Restrictions
- This API can be called only after a VI pipe is created by calling hi_mpi_vi_create_pipe.
Prototype
hi_s32 hi_mpi_vi_get_pipe_frame_source(hi_vi_pipe vi_pipe, hi_vi_pipe_frame_source *source)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vi_pipe |
Input |
Pipe ID. Value range: [0, 12) |
source |
Output |
Frame source of a pipe. |
Returns
- 0: success
- Other values: failure. For details, see VI Return Codes.
Parent topic: VI