hi_venc_stream_info
Description
Defines the stream information.
Prototype
hi_venc_stream_info = {"ref_type": hi_venc_ref_type, # R;Type of encoded frames in advanced frame skipping reference mode
"pic_bytes": pic_bytes, # R;the coded picture stream byte number
"pic_cnt": pic_cnt,# R;When channel attributes 'is_by_frame == 1', it means count of frames.
# When channel attributes 'is_by_frame == 0', it means count of packets
"start_qp": start_qp, # R;the start Qp of encoded frames
"mean_qp": mean_qp, # R;the mean Qp of encoded frames
"is_p_skip": is_p_skip,
"residual_bits": residual_bits, # R;residual
"head_bits": head_bits, # R;head information
"madi_val": madi_val, # R;madi
"madp_val": madp_val, # R;madp
"sse_sum": sse_sum, # R;Sum of MSE value
"sse_lcu_cnt": sse_lcu_cnt, # R;Sum of LCU number
"psnr_val": psnr_val} # R;PSNR
Members
Member |
Description |
|---|---|
ref_type |
Int, type of the encoded frame in advanced frame skipping reference mode. |
pic_bytes |
Int, number of bytes of an encoded stream. |
pic_cnt |
Int, number of frames if is_by_frame == 1, or number of packets if is_by_frame == 0. |
start_qp |
Int, start QP value of an encoded frame. |
mean_qp |
Int, mean QP value of an encoded frame. |
is_p_skip |
Int, flag indicating whether a P-frame is a skip frame. |
residual_bits |
Int, number of residual 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. |
sse_sum |
Int, SSE of the current frame. The formula for calculating the SSE varies according to the software. Therefore, the SSE also varies. |
sse_lcu_cnt |
Int, number of the LCUs in 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.
|