---
title: hi_v200_vpss_tfy
description: 定义3DNR时域滤波参数。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_0964.html"
---

# hi_v200_vpss_tfy

#### 说明

定义3DNR时域滤波参数。


#### 定义

```
typedef struct {
hi_u16
tfs0 : 4,   tdz0 : 10,  tdx0    : 2;
hi_u16
tfs1 : 4,   tdz1 : 10,  tdx1    : 2;
hi_u16
sdz0 : 10,  str0 : 5,   dz_mode0 : 1;
hi_u16
sdz1 : 10,  str1 : 5,   dz_mode1 : 1;
hi_u8
tss0 : 4,   tsi0 : 4,  tfr0[6];
hi_u8
tss1 : 4,   tsi1 : 4,  tfr1[6];
hi_u8
tfrs : 4,   ted  : 2,   ref    : 1,  reserved : 1;
} hi_v200_vpss_tfy;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| tfs0、tfs1 | 通路0，1中时域滤波绝对强度。 |
| dz\_mode0、dz\_mode1 | 通路0，1中tdz的模式选择。 取值范围[0,1] |
| tdz0、tdz1 | 当dz\_mode0， dz\_mode1为0时，保护运动区域的纹理不受时域滤波影响，将tdz调大时，运动区域的纹理可以得到保护，同时也会带来时域滤波强度的削弱；当dz\_mode0， dz\_mode1为1时，增加运动区域的时域滤波强度，将tdz调大时，运动区域时域去噪能力加强。 取值范围[0, 999]。 |
| tdx0、tdx1 | 该参数建议使用默认值为2，不推荐调试。 取值范围：[0, 3]。 |
| str0、str1 | 通路0，1中滤波器作用后叠加在结果的比例，值越大比例越高。 取值范围：[0, 31]。 |
| tfr0[6]、tfr1[6] | 通路0，1中静止区域时域滤波的相对强度。 取值范围[0, 31]。 |
| tss0、tss1 | 通路0，1中时域静止区域混入空域的比例。 取值范围[0, 15]。 |
| tsi0、tsi1 | 通路0，1中混入空域滤波器的选择。 取值范围[0, 1] |
| ref | 参考帧开关。 0：关闭 1：打开 |
| ted | 仅在时域生效时有效，用于控制运动后新内容的方法，0表示关闭，不做处理，1、2表示使用空域方法处理，3表示使用时域方法处理。 取值范围 [0,3]。 |
| tfrs | tfr强度控制模式。 取值范围 [0, 15]。 |
| sdz0、sdz1 | 通路0，1中约束滤波器作用强度，值越小，作用强度越低。 取值范围：[0, 999]。 |
| reserved | 预留参数，为保证后续版本兼容性，请务必使用memset结构体方式进行清零初始化，在代码中必须避免显式对reserved字段进行访问。 |
