hi_mpi_hdmi_open
The
The
Description
Enables a specified HDMI.
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 pair with hi_mpi_hdmi_close. Specifically, after hi_mpi_hdmi_open is called, call hi_mpi_hdmi_close to exit. In addition, ensure that the values of hi_hdmi_id in the two APIs are the same.
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.
Parent topic: HDMI Peripherals