hi_venc_h264_adv_stream_info

Description

Defines the advanced features of the H.264 stream.

For the Atlas inference products, this dictionary is reserved.

For the Atlas A2 products, this dictionary is reserved.

For the Atlas A3 products, this dictionary is reserved.

Prototype

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

Members

Member

Description

residual_bits

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

The Atlas 200I/500 A2 inference products does not support this parameter.

head_bits

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

The Atlas 200I/500 A2 inference products does not support this parameter.

madi_val

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

The Atlas 200I/500 A2 inference products does not support this parameter.

madp_val

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

The Atlas 200I/500 A2 inference products does not support this parameter.

psnr_val

Int, peak signal-to-noise ratio (PSNR) value 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 largest coding units (LCUs) in the current frame.

sse_sum

Int, sum of squared errors (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.

The Atlas 200I/500 A2 inference products does not support this parameter.

move_scene16x16_num

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

The Atlas 200I/500 A2 inference products does not support this parameter.

move_scene_bits

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

The Atlas 200I/500 A2 inference products does not support this parameter.