定义视频/图像解码的码流字典。
hi_vdec_stream = {"end_of_frame": end_of_frame, # W; is the end of a frame. "end_of_stream": end_of_stream, # W; is the end of all stream. "need_display": need_display, # W; is the current frame displayed. only valid by HI_VDEC_SEND_MODE_FRAME. "pts": pts, # W; time stamp "private_data": private_data, # W; private data,reserved "len": len, # W; length of stream "addr": addr} # W; stream address
成员 |
描述 |
---|---|
end_of_frame |
整型,码流包的长度,以Byte为单位。 当前帧是否结束(此值目前暂无效)。 |
end_of_stream |
整型,码流包的时间戳,以us为单位。 是否发完所有码流。 |
need_display |
整型,当前帧是否输出显示。 0:不显示,输出Buffer无解码数据,允许输出Buffer设为None。 1:显示,设置为1,才能输出解码结果。 |
pts |
整型,码流包的时间戳,以us为单位。仅按帧发送时有效。 |
private_data |
私有数据。预留参数,暂不支持。 |
len |
整型,码流包的长度,以Byte为单位。 |
addr |
整型,码流包的地址。 |