hi_mpi_vo_enable

Applicability

Product

Supported

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

Description

Enables a VO device to use the VO function.

Prototype

hi_s32 hi_mpi_vo_enable(hi_vo_dev dev)

Parameters

Parameter

Input/Output

Description

dev

Input

VO device ID.

Value range: [0, 2)

Returns

Restrictions

  • Configure the public attributes of a VO device before calling this API. Otherwise, an error is returned, indicating that the VO device is not configured.
  • If the device is enabled, calling this API returns an error indicating that the device is not disabled. The device cannot be enabled repeatedly.
  • To ensure smooth switching between the startup screen and the operation GUI, check whether the VO hardware is enabled. If yes, a success message is returned, and the existing API and timing configuration are used.
  • To change the VO API or timing configuration, call hi_mpi_vo_disable to forcibly disable the VO hardware and then enable it.
  • Currently, this API does not support multiple processes.

See Also

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