hi_mpi_vo_disable

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

☓

Atlas A3 training products / Atlas A3 inference products

☓

Atlas A2 training products / Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Disables a VO device.

Prototype

hi_s32 hi_mpi_vo_disable(hi_vo_dev dev)

Parameters

Parameter

Input/Output

Description

dev

Input

VO device ID.

Value range: [0, 2)

Returns

Restrictions

  • The video layer of a device must be disabled before the device is disabled.
  • Before disabling a device, disable the write-back function if available.
  • After a device is disabled, call hi_mpi_vo_set_pub_attr again to set the public attributes of the device before enabling it.
  • Currently, this API does not support multiple processes.

Reference

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