av7110_av.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef _AV7110_AV_H_
  2. #define _AV7110_AV_H_
  3. struct av7110;
  4. extern int av7110_set_vidmode(struct av7110 *av7110,
  5. enum av7110_video_mode mode);
  6. extern int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len);
  7. extern int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen);
  8. extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
  9. extern int av7110_set_volume(struct av7110 *av7110, int volleft, int volright);
  10. extern int av7110_av_stop(struct av7110 *av7110, int av);
  11. extern int av7110_av_start_record(struct av7110 *av7110, int av,
  12. struct dvb_demux_feed *dvbdmxfeed);
  13. extern int av7110_av_start_play(struct av7110 *av7110, int av);
  14. extern void dvb_video_add_event(struct av7110 *av7110, struct video_event *event);
  15. extern void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
  16. extern void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p);
  17. extern int av7110_av_register(struct av7110 *av7110);
  18. extern void av7110_av_unregister(struct av7110 *av7110);
  19. extern int av7110_av_init(struct av7110 *av7110);
  20. extern void av7110_av_exit(struct av7110 *av7110);
  21. #endif /* _AV7110_AV_H_ */