hi_vo_chn_attr

Description

Defines the VO channel attributes.

Prototype

typedef struct {
    hi_u32 priority;
    hi_rect rect; 
    hi_bool deflicker_en; 
} hi_vo_chn_attr;

Members

Member

Description

priority

Overlay priority of a video channel. A larger value indicates a higher priority. The image in the channel with the highest priority is displayed on the top.

When hi_vo_video_layer_attr.partition_mode is set to HI_VO_PARTITION_MODE_SINGLE, priority is valid and its value range is [0, 64).

This is a dynamic attribute.

rect

Rectangular display region of a channel.

The upper left corner of the screen is the origin point, which must be 2-pixel aligned. The rectangular region must be within the screen range. The width and height of the rectangular region must be 2-pixel aligned and greater than or equal to 64.

This is a dynamic attribute.

deflicker_en

Whether to enable anti-flicker. This function is not supported currently.

  • HI_TRUE: enabled
  • HI_FALSE: disabled