Lines Matching refs:p2ts
197 static void dvb_filter_pes2ts_init(struct dvb_filter_pes2ts *p2ts,
201 unsigned char *buf=p2ts->buf;
206 p2ts->cc=0;
207 p2ts->cb=cb;
208 p2ts->priv=priv;
211 static int dvb_filter_pes2ts(struct dvb_filter_pes2ts *p2ts,
214 unsigned char *buf=p2ts->buf;
224 buf[3]=0x10|((p2ts->cc++)&0x0f);
226 if ((ret=p2ts->cb(p2ts->priv, buf)))
233 buf[3]=0x30|((p2ts->cc++)&0x0f);
242 return p2ts->cb(p2ts->priv, buf);