---
title: hi_venc_gop_dual_p
description: 定义编码双参考帧P帧GOP属性结构体。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1165.html"
---

# hi_venc_gop_dual_p

#### 说明

定义编码双参考帧P帧GOP属性结构体。

Atlas 350 加速卡不支持该结构体。

Atlas A3 训练系列产品 / Atlas A3 推理系列产品 不支持该结构体。

Atlas A2 训练系列产品 / Atlas A2 推理系列产品 不支持该结构体。

Atlas 推理系列产品 ，预留结构体，暂不支持。


#### 定义

```
typedef struct {
hi_u32
sp_interval;
hi_s32
sp_qp_delta;
hi_s32
ip_qp_delta;
}hi_venc_gop_dual_p;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| sp\_interval | Special P帧的间隔。 取值范围：[0, 1) U (1, gop\-1]，gop是I帧间隔。 |
| sp\_qp\_delta | Special P帧相对普通P帧的QP差值。 取值范围：[\-10, 30]。 |
| ip\_qp\_delta | I帧相对普通P帧的QP差值。 取值范围：[\-10, 30]。 |
