跳到主要内容

hi_hdmi_vendorspec_infoframe

hi_hdmi_vendorspec_infoframe

说明

定义HDMI定制化信息帧单元结构体。

定义

typedef struct {
hi_u8 data_len;
hi_u8 user_data[HI_HDMI_VENDOR_USER_DATA_MAX_LEN];
} hi_hdmi_vendorspec_infoframe;

成员

成员名称描述
data_lenIEEE(Institute of Electrical and Electronics Engineers)注册码数组长度,最大值为22。
user_dataIEEE注册码,当前版本暂不支持使用。
text<br>#define HI_HDMI_VENDOR_USER_DATA_MAX_LEN 22<br>

:::note 说明 当前版本中该结构体暂未使用,不可赋值,否则属于未定义行为。 :::

父主题: HDMI外设

hi_hdmi_infoframe_unit

说明

定义HDMI信息帧类型结构。

定义

typedef union &#123;
hi_hdmi_avi_infoframe avi_infoframe;
hi_hdmi_audio_infoframe audio_infoframe;
hi_hdmi_vendorspec_infoframe vendor_spec_infoframe;
&#125; hi_hdmi_infoframe_unit;

成员

成员名称描述
avi_infoframe显示信息帧单元。
audio_infoframe音频信息帧单元。
vendor_spec_infoframe供应商定制信息帧单元。当前版本不支持。

父主题: HDMI外设

hi_hdmi_infoframe

说明

定义HDMI输出信息帧结构体。

定义

typedef struct &#123;
hi_hdmi_infoframe_type infoframe_type;
hi_hdmi_infoframe_unit infoframe_unit;
&#125; hi_hdmi_infoframe;

成员

成员名称描述
infoframe_type信息帧类型,仅支持HI_INFOFRAME_TYPE_AUDIO和HI_INFOFRAME_TYPE_AVI信息帧。
infoframe_unit信息帧单元(内容)结构体。

父主题: HDMI外设

hi_vpc_chn

说明

描述图片处理通道号。

定义

typedef hi_s32 hi_vpc_chn;

父主题: VPC图像处理

hi_vpc_pic_info

说明

图像信息结构体,用来描述VPC功能输入和输出图片信息。

定义

typedef struct &#123;
hi_void* picture_address;
hi_u32 picture_buffer_size;
hi_u32 picture_width;
hi_u32 picture_height;
hi_u32 picture_width_stride;
hi_u32 picture_height_stride;
hi_pixel_format picture_format;
&#125; hi_vpc_pic_info;

成员

成员名称描述
picture_address存放图片数据的Device地址。
picture_buffer_size存放图片数据的缓冲区大小。
picture_width图片真实宽。
picture_height图片真实高。
picture_width_stride图片宽stride。
picture_height_stride图片高stride。
picture_format目标图片的格式。

父主题: VPC图像处理

hi_vpc_crop_region

说明

VPC抠图功能需要的参数。

定义

typedef struct &#123;
hi_u32 top_offset;
hi_u32 left_offset;
hi_u32 crop_width;
hi_u32 crop_height;
&#125; hi_vpc_crop_region;

成员

成员名称描述
top_offset上偏移。
left_offset左偏移。
crop_width抠图区域宽。
crop_height抠图区域高。

父主题: VPC图像处理

hi_vpc_resize_info

说明

VPC缩放功能需要的参数。

定义

typedef struct &#123;
hi_u32 resize_width;
hi_u32 resize_height;
hi_u32 interpolation;
&#125; hi_vpc_resize_info;

成员

成员名称描述
resize_width缩放之后的宽。
resize_height缩放之后的高。
interpolation缩放算法。 Atlas 200/500 A2推理产品,支持如下缩放算法:
- 0:业界通用的Bilinear算法(与OpenCV-3.4.2版本算法的计算结果相同)
- 1:业界通用的Nearest neighbor 算法(与OpenCV-3.4.2版本算法的计算结果相同)

父主题: VPC图像处理

在线提单