0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef IVTV_FILEOPS_H
0010 #define IVTV_FILEOPS_H
0011
0012
0013 int ivtv_v4l2_open(struct file *filp);
0014 ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count,
0015 loff_t * pos);
0016 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *buf, size_t count,
0017 loff_t * pos);
0018 int ivtv_v4l2_close(struct file *filp);
0019 __poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table * wait);
0020 __poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table * wait);
0021 int ivtv_start_capture(struct ivtv_open_id *id);
0022 void ivtv_stop_capture(struct ivtv_open_id *id, int gop_end);
0023 int ivtv_start_decoding(struct ivtv_open_id *id, int speed);
0024 void ivtv_mute(struct ivtv *itv);
0025 void ivtv_unmute(struct ivtv *itv);
0026
0027
0028
0029 int ivtv_claim_stream(struct ivtv_open_id *id, int type);
0030 void ivtv_release_stream(struct ivtv_stream *s);
0031
0032 #endif