---
title: hi_h264_protocol_param
description: 与H.264协议相关的内存分配参数。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1123.html"
---

# hi_h264_protocol_param

#### 说明

与H.264协议相关的内存分配参数。


#### 定义

```
typedef struct {
hi_s32
max_slice_num;
hi_s32
max_sps_num;
hi_s32
max_pps_num;
}hi_h264_protocol_param;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| max\_slice\_num | 该通道解码支持的最大Slice个数。 取值范围：[1, 300]。 Default：16。 |
| max\_sps\_num | 该通道解码支持的最大SPS个数。 取值范围：[1, 32]。 Default：2。 |
| max\_pps\_num | 该通道解码支持的最大PPS个数。 取值范围：[1, 256]。 Default：2。 |
