1
2
3
4
5
6
7
8
9#ifndef IVTV_FILEOPS_H
10#define IVTV_FILEOPS_H
11
12
13int ivtv_v4l2_open(struct file *filp);
14ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count,
15 loff_t * pos);
16ssize_t ivtv_v4l2_write(struct file *filp, const char __user *buf, size_t count,
17 loff_t * pos);
18int ivtv_v4l2_close(struct file *filp);
19__poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table * wait);
20__poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table * wait);
21int ivtv_start_capture(struct ivtv_open_id *id);
22void ivtv_stop_capture(struct ivtv_open_id *id, int gop_end);
23int ivtv_start_decoding(struct ivtv_open_id *id, int speed);
24void ivtv_mute(struct ivtv *itv);
25void ivtv_unmute(struct ivtv *itv);
26
27
28
29int ivtv_claim_stream(struct ivtv_open_id *id, int type);
30void ivtv_release_stream(struct ivtv_stream *s);
31
32#endif
33