hi_mpi_vo_enable

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Enables a VO device to use the VO function.

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.

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