blob: 5f02ef85e47deb28cd00fe5b5823d702a906528b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _AV7110_AV_H_
2#define _AV7110_AV_H_
3
4struct av7110;
5
Marco Schluessler58a44042007-10-31 01:20:42 -03006extern int av7110_set_vidmode(struct av7110 *av7110,
7 enum av7110_video_mode mode);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
9extern int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len);
10extern int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen);
11extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
12
13extern int av7110_set_volume(struct av7110 *av7110, int volleft, int volright);
Wolfgang Rohdewaldce18a222005-07-07 17:57:59 -070014extern int av7110_av_stop(struct av7110 *av7110, int av);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015extern int av7110_av_start_record(struct av7110 *av7110, int av,
16 struct dvb_demux_feed *dvbdmxfeed);
17extern int av7110_av_start_play(struct av7110 *av7110, int av);
18
19extern void dvb_video_add_event(struct av7110 *av7110, struct video_event *event);
20
21extern void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
22extern void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p);
23
24extern int av7110_av_register(struct av7110 *av7110);
25extern void av7110_av_unregister(struct av7110 *av7110);
26extern int av7110_av_init(struct av7110 *av7110);
27extern void av7110_av_exit(struct av7110 *av7110);
28
29
30#endif /* _AV7110_AV_H_ */