Home
last modified time | relevance | path

Searched refs:p2ts (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/staging/media/av7110/
H A Ddvb_filter.c70 void dvb_filter_pes2ts_init(struct dvb_filter_pes2ts *p2ts, unsigned short pid, in dvb_filter_pes2ts_init() argument
73 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts_init()
78 p2ts->cc=0; in dvb_filter_pes2ts_init()
79 p2ts->cb=cb; in dvb_filter_pes2ts_init()
80 p2ts->priv=priv; in dvb_filter_pes2ts_init()
83 int dvb_filter_pes2ts(struct dvb_filter_pes2ts *p2ts, unsigned char *pes, in dvb_filter_pes2ts() argument
86 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts()
96 buf[3]=0x10|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
98 if ((ret=p2ts->cb(p2ts->priv, buf))) in dvb_filter_pes2ts()
105 buf[3]=0x30|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
[all …]
H A Ddvb_filter.h33 void dvb_filter_pes2ts_init(struct dvb_filter_pes2ts *p2ts, unsigned short pid,
36 int dvb_filter_pes2ts(struct dvb_filter_pes2ts *p2ts, unsigned char *pes,
/openbmc/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c197 static void dvb_filter_pes2ts_init(struct dvb_filter_pes2ts *p2ts, in dvb_filter_pes2ts_init() argument
201 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts_init()
206 p2ts->cc=0; in dvb_filter_pes2ts_init()
207 p2ts->cb=cb; in dvb_filter_pes2ts_init()
208 p2ts->priv=priv; in dvb_filter_pes2ts_init()
211 static int dvb_filter_pes2ts(struct dvb_filter_pes2ts *p2ts, in dvb_filter_pes2ts() argument
214 unsigned char *buf=p2ts->buf; in dvb_filter_pes2ts()
224 buf[3]=0x10|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
226 if ((ret=p2ts->cb(p2ts->priv, buf))) in dvb_filter_pes2ts()
233 buf[3]=0x30|((p2ts->cc++)&0x0f); in dvb_filter_pes2ts()
[all …]