Lines Matching refs:p2ts
207 static void dvb_filter_pes2ts_init(struct dvb_filter_pes2ts *p2ts, in dvb_filter_pes2ts_init() argument
211 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts_init()
216 p2ts->cc=0; in dvb_filter_pes2ts_init()
217 p2ts->cb=cb; in dvb_filter_pes2ts_init()
218 p2ts->priv=priv; in dvb_filter_pes2ts_init()
221 static int dvb_filter_pes2ts(struct dvb_filter_pes2ts *p2ts, in dvb_filter_pes2ts() argument
224 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts()
234 buf[3]=0x10|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
236 if ((ret=p2ts->cb(p2ts->priv, buf))) in dvb_filter_pes2ts()
243 buf[3]=0x30|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
252 return p2ts->cb(p2ts->priv, buf); in dvb_filter_pes2ts()