---
title: hi_pic_buf_attr
description: 定义图片缓冲区信息的结构体。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_0787.html"
---

# 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 | 压缩模式。 |
