# hi_venc_h264_adv_stream_info

#### 说明

定义H.264协议码流高级特征信息。

Atlas 推理系列产品 ，预留字典，暂不支持。

Atlas A2 训练系列产品 / Atlas A2 推理系列产品 ，预留字典，暂不支持。

Atlas A3 训练系列产品 / Atlas A3 推理系列产品 ，预留字典，暂不支持。


#### 定义

```
hi_venc_h264_adv_stream_info = {"residual_bits": residual_bits, # R; the residual num
"head_bits": head_bits, # R; the head bit num
"madi_val": madi_val, # R; the madi value
"madp_val": madp_val, # R; the madp value
"psnr_val": psnr_val, # R; the PSNR value
"sse_lcu_cnt": sse_lcu_cnt, # R; the lcu cnt of the sse
"sse_sum": sse_sum, R; the sum of the sse
"sse_info": [
hi_venc_sse_info
], # R; the information of the sse
"qp_hist": [qp_hist], # R; the Qp histogram value
"move_scene16x16_num": move_scene16x16_num, # R; the 16x16 cu num of the move scene
"move_scene_bits": move_scene_bits} # R; the stream bit num of the move scene
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| residual\_bits | 整型，编码当前帧残差（bit）数。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| head\_bits | 整型，编码当前帧头信息的（bit）数。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| madi\_val | 整型，编码当前帧空域纹理复杂度Madi值。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| madp\_val | 整型，编码当前帧时域运动复杂度Madp值。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| psnr\_val | 整型，编码当前帧的PSNR（Peak signal\-to\-noise ratio，峰值信噪比）值。 不同软件中关于峰值信噪比的计算公式略有不同，因此峰值信噪比值可能存在差异。 仅支持输入图片分辨率小于或等于3840 \* 2160分辨率时获取“psnr\_val”值，否则“psnr\_val”值无效。 |
| sse\_lcu\_cnt | 整型，编码当前帧中LCU（Largest Coding Unit）个数。 |
| sse\_sum | 整型，编码当前帧中SSE（Sum of Squared Errors，和方差）值。 不同软件中关于和方差的计算公式略有不同，因此和方差值可能存在差异。 |
| sse\_info | 列表，编码当前帧中 8个区域的SSE（和方差）值。 不同软件中关于和方差的计算公式略有不同，因此和方差值可能存在差异。 |
| qp\_hist | 列表，编码当前帧QP直方图。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| move\_scene16x16\_num | 整型，判断为图像前景的16\*16块的数目，需要开启前景宏块级码控制。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
| move\_scene\_bits | 整型，判断为图像前景区域编码bit数，需要开启前景宏块级码控制。 Atlas 200I/500 A2 推理产品 ，暂不支持该参数。 |
