文档
注册

hi_venc_h264_adv_stream_info

说明

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

Atlas 推理系列产品(Ascend 310P处理器),预留字典,暂不支持。

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

定义

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(Largist 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推理产品,暂不支持该参数。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词