hi_mpi_vi_get_pipe_vc_number

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Obtains the VC ID of a physical VI pipe to connect to the front-end sensor.

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

Restrictions

  • This API must be called after a pipe is created and before the pipe is enabled.
  • This API does not support virtual pipes.