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