开发者
下载

hi_img_base_info

说明

定义图片基本信息。

定义

typedef struct {
    hi_u32 width;
    hi_u32 height;
    hi_pixel_format pixel_format;
    hi_u64 reserved[2];
} hi_img_base_info;

hi_u32、hi_u64基础数据类型定义请参见基本数据类型说明

成员

成员名称

描述

width

图片宽度。

height

图片高度。

pixel_format

图片格式。类型定义请参见hi_pixel_format

reserved

预留参数,为保证后续版本兼容性,请务必使用memset结构体方式进行清零初始化,在代码中必须避免显式对reserved字段进行访问。