# hi_tde_surface

#### 说明

位图信息结构体。


#### 定义

```
typedef struct {
hi_u64
phys_addr;
hi_u32
phys_len;
hi_tde_color_format
color_format;
hi_u32
height;
hi_u32
width;
hi_u32
stride;
hi_bool
is_ycbcr_clut;
hi_bool
alpha_max_is_255;
hi_u8
alpha0;
hi_u8
alpha1;
hi_u64
cbcr_phys_addr;
hi_u32
cbcr_phys_len;
hi_u32
cbcr_stride;
hi_u64
clut_phys_addr;
hi_u32
clut_phys_len;
} hi_tde_surface;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| phys\_addr | 位图或Y分量的起始地址。 |
| phys\_len | 物理地址长度。 |
| color\_format | 颜色格式。 |
| height | 位图高度。 |
| width | 位图宽度。 |
| stride | 位图或Y分量的步长。 |
| is\_ycbcr\_clut | CLUT是否在YCbCr空间中。Atlas 200/500 A2推理产品不支持。 |
| alpha\_max\_is\_255 | alpha最大值是128还是255。Atlas 200/500 A2推理产品不支持。 |
| support\_alpha\_ex\_1555 | ARGB1555位图中是否支持alpha扩展。Atlas 200/500 A2推理产品不支持。 |
| alpha0 | alpha0，用于ARGB1555 format。Atlas 200/500 A2推理产品不支持。 |
| alpha1 | alpha1，用于ARGB1555 format。Atlas 200/500 A2推理产品不支持。 |
| cbcr\_phys\_addr | CbCr分量的地址。Atlas 200/500 A2推理产品不支持。 |
| cbcr\_phys\_len | CbCr分量的地址长度。Atlas 200/500 A2推理产品不支持。 |
| cbcr\_stride | CbCr分量的步长。Atlas 200/500 A2推理产品不支持。 |
| clut\_phys\_addr | Clut表的地址。Atlas 200/500 A2推理产品不支持。 |
| clut\_phys\_len | Clut表的地址长度。Atlas 200/500 A2推理产品不支持。 |
