# hi_venc_cu_prediction

#### 说明

定义CU模式选择的倾向性配置字典。


#### 定义

```
hi_venc_cu_prediction = {"pred_mode":
hi_op_mode
,
"intra32_cost": intra32_cost,
"intra16_cost": intra16_cost,
"intra8_cost": intra8_cost,
"intra4_cost": intra4_cost,
"inter64_cost": inter64_cost,
"inter32_cost": inter32_cost,
"inter16_cost": inter16_cost,
"inter8_cost": inter8_cost}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| pred\_mode | 整型，倾向性选择模式，支持自动模式、手动模式两种。 |
| intra32\_cost | 整型，Intra32倾向性调节，对应帧内预测32 \* 32像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 H.264该值无效。 |
| intra16\_cost | 整型，Intra16倾向性调节，对应帧内预测16 \* 16像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 |
| intra8\_cost | 整型，Intra8倾向性调节，对应帧内预测8 \* 8像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 |
| intra4\_cost | 整型，Intra4倾向性调节，对应帧内预测4 \* 4像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 |
| inter64\_cost | 整型，Inter64倾向性调节，对应帧间预测64 \* 64像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 H.264该值无效。 |
| inter32\_cost | 整型，Inter32倾向性调节，对应帧间预测32 \* 32像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 H.264该值无效。 |
| inter16\_cost | 整型，Inter16倾向性调节，对应帧间预测16 \* 16像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 |
| inter8\_cost | 整型，Inter8倾向性调节，对应帧间预测8 \* 8像素块尺寸模式，该值增大表示选择该模式的倾向性越小。 取值范围：[0, 15]。 默认值：8。 |
