定义码流信息结构体, 暂不支持。
typedef struct { hi_venc_ref_type ref_type; // R;Type of encoded frames in advanced frame skipping reference mode hi_u32 pic_bytes; // R;the coded picture stream byte number hi_u32 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 hi_u32 start_qp; // R;the start Qp of encoded frames hi_u32 mean_qp; // R;the mean Qp of encoded frames hi_bool is_p_skip; hi_u32 residual_bits; // R;residual hi_u32 head_bits; // R;head information hi_u32 madi_val; // R;madi hi_u32 madp_val; // R;madp hi_u64 sse_sum; // R;Sum of MSE(sum of squared errors ) value hi_u32 sse_lcu_cnt; // R;Sum of LCU number hi_double psnr_val; // R;PSNR } hi_venc_stream_info;
成员名称 |
描述 |
---|---|
ref_type |
高级跳帧参考下的编码帧类型。 |
pic_bytes |
已编码码流的字节数。 |
pic_cnt |
当通道属性is_by_frame == 1时,表示帧数;当is_by_frame == 0时,表示包数。 |
start_qp |
编码帧的起始QP。 |
mean_qp |
编码帧的平均QP。 |
is_p_skip |
是否P帧是skip帧。 |
residual_bits |
编码当前帧残差bit数。 |
head_bits |
编码当前帧头信息bit数。 |
madi_val |
编码当前帧空域纹理复杂度Madi值。 |
madp_val |
编码当前帧时域运动复杂度Madp值。 |
sse_sum |
编码当前帧中SSE(和方差)值。 |
sse_lcu_cnt |
编码当前帧中LCU个数。 |
psnr_val |
编码当前帧的PSNR(峰值信噪比)值。 |