hi_vdec_chn_status
说明
定义通道状态结构体。
定义
typedef struct {
    hi_payload_type type; 
    hi_u32 left_stream_bytes; 
    hi_u32 left_stream_frames; 
    hi_u32 left_decoded_frames; 
    hi_bool is_started; 
    hi_u32 recv_stream_frames; 
    hi_u32 dec_stream_frames; 
    hi_vdec_dec_err dec_err;  
    hi_u32 width;
    hi_u32 height;
    hi_u64 latest_frame_pts;
} hi_vdec_chn_status;
   成员
| 成员名称 | 描述 | 
|---|---|
| type | 解码协议。 | 
| left_stream_bytes | 码流buffer中待解码的byte数,包括正在解码的当前帧中未解码的byte数。 | 
| left_stream_frames | 码流buffer中待解码的帧数,不包括正在解码的当前帧。-1表示无效。仅按帧发送时有效。 | 
| left_decoded_frames | 图像buffer中剩余的图片数目。 | 
| is_started | 解码器是否已经启动接收码流。 | 
| recv_stream_frames | 码流buffer中已接收码流帧数。-1表示无效。仅按帧发送时有效。 | 
| dec_stream_frames | 码流buffer中已解码帧数。仅按帧发送时有效。 | 
| dec_err | 解码错误信息。 | 
| width | 解码后输出图片的宽。 | 
| height | 解码后输出图片的高。 | 
| latest_frame_pts | 最新解码图像的时间戳。预留参数,暂不支持。 | 
     父主题: VDEC视频/JPEGD图像解码