hi_mpi_vi_get_pipe_vc_number

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function 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.