hi_mpi_vi_get_pipe_vc_number

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

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