hi_vo_pub_attr

Description

Defines the public attributes of a VO device.

Prototype

typedef struct {
    hi_u32 bg_color;
    hi_vo_intf_type intf_type;
    hi_vo_intf_sync intf_sync;
    hi_vo_sync_info sync_info;
} hi_vo_pub_attr;

Members

Member

Description

bg_color

Device background color, in RGB888 format.

intf_type

Interface type. You can select one type or a combination of multiple types.

intf_sync

Interface timing.

sync_info

Interface timing information.

This struct takes effect when intf_sync is set to HI_VO_OUT_USER.

The current version supports the following scenarios:

HI_VO_INTF_HDMI binds with DHD0. HI_VO_INTF_HDMI, HI_VO_INTF_HDMI1, HI_VO_INTF_VGA, and HI_VO_INTF_MIPI cannot be sent for display at the same time.

HI_VO_INTF_VGA binds with DHD0. HI_VO_INTF_VGA, HI_VO_INTF_HDMI, HI_VO_INTF_HDMI1, and HI_VO_INTF_MIPI cannot be sent for display at the same time.

HI_VO_INTF_MIPI binds with DHD0. HI_VO_INTF_MIPI, HI_VO_INTF_HDMI, HI_VO_INTF_HDMI1, and HI_VO_INTF_VGA cannot be sent for display at the same time.

HI_VO_INTF_HDMI1 binds with DHD1. HI_VO_INTF_HDMI1, HI_VO_INTF_HDMI, HI_VO_INTF_VGA, and HI_VO_INTF_MIPI cannot be sent for display at the same time.