Defines the image information.
typedef struct {
hi_u32 width;
hi_u32 height;
hi_u32 width_stride;
hi_u32 height_stride;
hi_u32 img_buf_size;
union {
hi_jpeg_raw_format pixel_format;
hi_png_color_format png_pixel_format;
};
hi_u32 reserved[4];
} hi_img_info;
Member |
Description |
|---|---|
width |
Image width. |
height |
Image height. |
width_stride |
Image width stride. |
height_stride |
Image height stride. |
img_buf_size |
Image buffer size, in bytes. |
pixel_format |
Image format. |
png_pixel_format |
Format of the PNG source image. |
reserved |
Reserved. |