hi_img_align_info

说明

定义图片对齐信息。

定义

typedef struct {
    hi_u32 width_stride;
    hi_u32 height_stride;
    hi_u64 img_buf_size;
    hi_u64 reserved[2];
} hi_img_align_info;

成员

成员名称

描述

width_stride

图片宽度对齐后的值。

height_stride

图片高度对齐后的值。

img_buf_size

存放图片数据所需的内存大小,单位Byte。

reserved

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