hi_mpi_vo_disable_chn

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

Disables a specified VO channel.

Prototype

hi_s32 hi_mpi_vo_disable_chn(hi_vo_layer layer, hi_vo_chn chn)

Parameters

Parameter

Input/Output

Description

layer

Input

VO layer ID.

Value range: [0, 9)

Graphics layers and cascade video layers are not supported.

chn

Input

VO channel ID.

Value range: [0, 64)

Returns

Restrictions

  • A VO channel can be disabled repeatedly, and no failure is returned.
  • If an HD device channel is bound to the VPSS, you are advised to call this API to disable the channel, and then unbind the VO channel from the VPSS channel. Otherwise, a timeout error HI_ERR_VO_BUSY occurs.
  • Currently, this API does not support multiple processes.

See Also

For details about the API call sequence, see Video Decoding, Processing, and Display (NVR Scenario).