hi_aspect_ratio

Description

Defines the coordinate information.

Prototype

typedef struct {
    hi_aspect_ratio_type mode;    /* aspect ratio mode: none/auto/manual */
    hi_u32         bg_color;      /* background color, RGB 888 */
    hi_rect        video_rect;    /* valid in ASPECT_RATIO_MANUAL mode */
} hi_aspect_ratio;

Members

Member

Description

mode

Aspect ratio mode.

bg_color

Background color defined by the aspect ratio.

video_rect

Video region defined by the aspect ratio.