hi_venc_h265_adv_stream_info

Description

Defines the advanced features of the H.265 stream.

Prototype

hi_venc_h265_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_scene32x32_num": move_scene32x32_num, # R; the 32x32 cu num of the move scene
                                "move_scene_bits": move_scene_bits} # R; the stream bit num of the move scene

Members

Member

Description

residual_bits

Int, number of residuals (bits) of the current frame.

head_bits

Int, number of bits in the header of the current frame.

madi_val

Int, MADi value of the spatial texture complexity of the current frame.

madp_val

Int, MADp value of the temporal motion complexity of the current frame.

psnr_val

Int, PSNR of the current frame.

The formula for calculating the PSNR varies according to the software. Therefore, the PSNR also varies.

The psnr_val value can be obtained only when the resolution of the input image is less than or equal to 3840 x 2160.

sse_lcu_cnt

Int, number of the LCUs in the current frame.

sse_sum

SSE of the current frame.

The formula for calculating the SSE varies according to the software. Therefore, the SSE also varies.

sse_info

List, SSE of eight regions in the current frame.

The formula for calculating the SSE varies according to the software. Therefore, the SSE also varies.

qp_hist

List, QP histogram of the current frame.

move_scene32x32_num

Int, number of 32 x 32 foreground blocks in the current frame. The foreground macroblock-level bit rate control needs to be enabled.

move_scene_bits

Int, number of foreground bits in the current frame. The foreground macroblock-level bit rate control needs to be enabled.