# hi_stitching_lut_param

```
typedef struct{
hi_u32
src_pic_width;
hi_u32
src_pic_height;
hi_u32
dest_pic_width;
hi_u32
dest_pic_height;
hi_u32
lut_table_len;
void *lut;
hi_u32
mask_len;
hi_u8
*mask;
hi_u32
blend_table_len;
hi_u8
*blend_table;
hi_u32
reserved[8];
} hi_stitching_lut_param;
```

| 成员名称 | 描述 |
| --- | --- |
| src\_pic\_width | 输入图片宽。 4张输入图片的宽保持一致。 |
| src\_pic\_height | 输入图片高。 4张输入图片的高保持一致。 |
| dest\_pic\_width | 输出图片宽。 |
| dest\_pic\_height | 输出图片高。 |
| lut\_table\_len | 表示lut表内存大小。 |
| lut | 表示lut表地址。 此处的内存大小可能比较大，如果直接使用C标准库中的malloc接口申请内存，会导致内存碎片化，大页个数减少，进而影响使用hi\_mpi\_dvpp\_malloc接口申请DVPP各功能的输入/输出内存。因此推荐直接使用hi\_mpi\_dvpp\_malloc接口申请存放lut的内存。 |
| mask\_len | 预留参数。当前固定配置为0。 |
| mask | 预留参数。当前固定配置为NULL。 |
| blend\_table\_len | 表示融合表内存大小。 环视拼接：blend\_table\_len参数值 = dest\_pic\_height \* dest\_pic\_width。 环视拼接+透明底盘：blend\_table\_len参数值 = dest\_pic\_height \* dest\_pic\_width \*（1+1/4+1/16+1/64+1/256+1/1024），共计六张blend表，每张表为前一张经过高斯金字塔下采样后得到，宽高均为前一张的1/2。 |
| blend\_table | 表示融合表地址。 |
| reserved | 预留参数。当前固定配置为0。 |
