---
title: hi_h265_protocol_param
description: "定义与 H.265 协议相关的内存分配参数。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_1435.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_1435.html
indexId: 6abcb5832e8e60c26fd02482b44b67635f3d9fd11c609eb11e965039fb36582e105
---
# hi_h265_protocol_param

#### 说明

定义与 H.265 协议相关的内存分配参数。


#### 定义

```
typedef struct {
hi_s32
max_slice_segment_num;
hi_s32
max_vps_num;
hi_s32
max_sps_num;
hi_s32
max_pps_num;
}hi_h265_protocol_param;
```


#### 成员

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