hi_mpi_hdmi_open
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function Description
Enables a specified HDMI.
Prototype
hi_s32 hi_mpi_hdmi_open(hi_hdmi_id hdmi)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
hdmi |
Input |
HDMI ID. Value range: [0, 2) |
Returns
- 0: success
- Other values: failure. For details, see HDMI Peripheral Return Codes.
Restrictions
- Before calling hi_mpi_hdmi_open, call hi_mpi_hdmi_init to initialize the HDMI.
- Repeated HDMI enablement returns a success message.
- This API does not support the multi-process scenario.
- This API must be called in pairs with the hi_mpi_hdmi_close API. That is, after the hi_mpi_hdmi_open function is called, the hi_mpi_hdmi_close API needs to be called when the hi_mpi_hdmi_open function exits. In addition, the values of hi_hdmi_id in the input parameters of the two APIs must be the same.
Parent topic: HDMI Peripherals