hi_venc_vui_aspect_ratio

Function

Defines the AspectRatio information in the VUI of an H.264/H.265 encoding channel. This structure is reserved and cannot be configured by users currently.

Definition

typedef struct {
    hi_u8  aspect_ratio_info_present_flag;
    hi_u8  aspect_ratio_idc;
    hi_u8  overscan_info_present_flag;
    hi_u8  overscan_appropriate_flag;
    hi_u16 sar_width;
    hi_u16 sar_height;
} hi_venc_vui_aspect_ratio;

For details about basic data types hi_u8 and hi_u16, see Basic Data Types.

Members

Member

Description

aspect_ratio_info_present_flag

For details, see the H.264/H.265 protocol. The default value is 0.

aspect_ratio_idc

For details, see the H.264/H.265 protocol. The default value is 1.

overscan_info_present_flag

For details, see the H.264/H.265 protocol. The default value is 0.

overscan_appropriate_flag

For details, see the H.264/H.265 protocol. The default value is 0.

sar_width

For details, see the H.264/H.265 protocol. The default value is 1.

sar_height

For details, see the H.264/H.265 protocol. The default value is 1.