typedef struct H264Aux H264Aux; struct H264Aux { SPictReoderingStatus; SPictInfo pics[16]; SWelsDecoderContext ctx; SLogContext logctx; SBufferInfo info; SWelsLastDecPicInfo pic; SVlcTable vlctbl; SDecoderStatistics stat; uint8_t *data[3]; }; int h264decode(H264Aux *a, u8int *buf, int sz, uvlong *timestamp); void h264flush(H264Aux *a); char *h264err2s(int err);