#ifndef _AV7110_AV_H_ #define _AV7110_AV_H_ struct av7110; extern void SetMode(struct av7110 *av7110, int mode); extern int record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len); extern int pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen); extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len); extern int SetVolume(struct av7110 *av7110, int volleft, int volright); extern void AV_Stop(struct av7110 *av7110, int av); extern int AV_StartRecord(struct av7110 *av7110, int av, struct dvb_demux_feed *dvbdmxfeed); extern int AV_StartPlay(struct av7110 *av7110, int av); extern void dvb_video_add_event (struct av7110 *av7110, struct video_event *event); extern void init_p2t(struct av7110_p2t *p, struct dvb_demux_feed *feed); extern void pes_to_ts(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p); extern int av7110_av_register(struct av7110 *av7110); extern void av7110_av_unregister(struct av7110 *av7110); extern int av7110_av_init(struct av7110 *av7110); extern int av7110_av_exit(struct av7110 *av7110); #endif /* _AV7110_AV_H_ */