hi_mpi_vo_enable
Applicability
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Description
Enables a VO device to use the VO function.
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
dev |
Input |
VO device ID. Value range: [0, 2) |
Returns
- 0: success
- Other values: failure. For details, see VO Return Codes.
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.
Parent topic: VO