hi_hdmi_avi_infoframe

Description

Defines the audio video interleave (AVI) information frame output by HDMI.

Prototype

typedef struct {
    hi_hdmi_video_format timing_mode;
    hi_hdmi_color_space color_space;
    hi_bool active_info_present;
    hi_hdmi_bar_info bar_info;
    hi_hdmi_scan_info scan_info;
    hi_hdmi_colorimetry colorimetry;
    hi_hdmi_ex_colorimetry ex_colorimetry;
    hi_pic_aspect_ratio aspect_ratio;
    hi_hdmi_active_aspect_ratio active_aspect_ratio;
    hi_hdmi_pic_scaline pic_scaling;
    hi_hdmi_rgb_quant_range rgb_quant;
    hi_bool is_it_content;
    hi_hdmi_pixel_repetition pixel_repetition;
    hi_hdmi_content_type content_type;
    hi_hdmi_ycc_quant_range ycc_quant;
    hi_u16 line_n_end_of_top_bar;
    hi_u16 line_n_start_of_bot_bar;
    hi_u16 pixel_n_end_of_left_bar;
    hi_u16 pixel_n_start_of_right_bar;
} hi_hdmi_avi_infoframe;

Members

Member

Description

timing_mode

Video timing, which must correspond to the VO input timing. Otherwise, undefined behavior may occur, affecting the display.

color_space

Color space, which must correspond to the VO input color space. Set this parameter to HI_HDMI_COLOR_SPACE_YCBCR444 when sending images.

active_info_present

Whether the information is valid. In the current version, this parameter can only be set to HI_FALSE.

bar_info

Panel information. In the current version, this parameter can only be set to HI_HDMI_BAR_INFO_NOT_VALID.

scan_info

Scanning information. In the current version, this parameter can only be set to HI_HDMI_SCAN_INFO_NO_DATA.

colorimetry

Color gamut. In the current version, this parameter can only be set to HI_HDMI_COMMON_COLORIMETRY_ITU601.

ex_colorimetry

Color gamut extension. In the current version, this parameter can only be set to HI_HDMI_COMMON_COLORIMETRY_XVYCC_601.

aspect_ratio;

Image aspect ratio. In the current version, this parameter can only be set to HI_HDMI_PIC_ASPECT_RATIO_4TO3 or HI_HDMI_PIC_ASPECT_RATIO_16TO9.

active_aspect_ratio

Actual valid image aspect ratio. In the current version, this parameter can only be set to HI_HDMI_ACTIVE_ASPECT_RATIO_SAME_PIC.

pic_scaling

Image scanning. In the current version, this parameter can only be set to HI_HDMI_PIC_NON_UNIFORM_SCALING.

rgb_quant

RGB quantization. In the current version, this parameter can only be set to HI_HDMI_RGB_QUANT_FULL_RANGE.

is_it_content

Valid content determination. In the current version, this parameter can only be set to HI_FALSE.

pixel_repetition

Pixel repetition. In the current version, this parameter can only be set to HI_HDMI_PIXEL_REPET_NO.

content_type

Content information type. In the current version, this parameter can only be set to HI_HDMI_CONTNET_PHOTO.

ycc_quant

YUV quantization. In the current version, this parameter can only be set to HI_HDMI_YCC_QUANT_FULL_RANGE.

line_n_end_of_top_bar

Top end lines. In the current version, this parameter can only be set to 0.

line_n_start_of_bot_bar

Bottom start lines. In the current version, this parameter can only be set to 0.

pixel_n_end_of_left_bar

Left end pixels. In the current version, this parameter can only be set to 0.

pixel_n_start_of_right_bar

Right start pixels. In the current version, this parameter can only be set to 0.