---
title: hi_vdec_protocol_param
description: 定义与协议相关的内存分配参数。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0586.html"
---

# hi_vdec_protocol_param

#### 说明

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


#### 定义

```
hi_vdec_protocol_param = {"type": type,             # RW; video type to be decoded, only h264 and h265 supported
"h264_param":
hi_h264_protocol_param
, # protocol param structure for h264
hi_vdec_protocol_param = {"type": type,             # RW; video type to be decoded, only h264 and h265 supported
"h265_param":
hi_h265_protocol_param
} # protocol param structure for h265
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| type | 整型，解码通道支持的协议。 |
| h264\_param | 字典，H.264 协议参数。 |
| h265\_param | 字典，H.265 协议参数。 |
