---
title: hi_pic_buf_attr
description: "定义图片缓冲区信息的结构体。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_1106.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_1106.html
indexId: aeafeeac9b43193970d48b82c14b748e3fa08d34d52045b60d48aab13ee7c3a1105
---
# hi_pic_buf_attr

#### 说明

定义图片缓冲区信息的结构体。


#### 定义

```
typedef struct {
hi_u32
width;
hi_u32
height;
hi_u32
align;
hi_data_bit_width
bit_width;
hi_pixel_format
pixel_format;
hi_compress_mode
compress_mode;
} hi_pic_buf_attr;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| width | 图片宽。 |
| height | 图片高。 |
| align | 对齐参数，预留参数，暂不支持。 |
| bit\_width | 图片位宽。 |
| pixel\_format | 图片格式。 VDEC视频解码时，暂不使用该参数；JPEGD图像解码时，表示解码输出图像格式，当前支持的输出图像格式请参见JPEGD功能及约束说明。 |
| compress\_mode | 压缩模式。 |
