summaryrefslogtreecommitdiff
path: root/drivers/media/pci/cx18/cx18-fileops.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-01-31 11:34:54 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-03-19 22:11:14 +0100
commit643e83501461763032ae51e4d540176e6a887d31 (patch)
tree9852c1ded347e56beb8a21505d9a99d7667348c1 /drivers/media/pci/cx18/cx18-fileops.h
parent5f225889f23db9ddabf6eca82bebb760b283705b (diff)
media: cx18: convert to vb2
This patch converts cx18 from the old deprecated videobuf framework to the 'new' vb2 framework. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-fileops.h')
-rw-r--r--drivers/media/pci/cx18/cx18-fileops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/cx18/cx18-fileops.h b/drivers/media/pci/cx18/cx18-fileops.h
index 1985d6422347..943057b83d94 100644
--- a/drivers/media/pci/cx18/cx18-fileops.h
+++ b/drivers/media/pci/cx18/cx18-fileops.h
@@ -16,10 +16,11 @@ ssize_t cx18_v4l2_write(struct file *filp, const char __user *buf, size_t count,
int cx18_v4l2_close(struct file *filp);
__poll_t cx18_v4l2_enc_poll(struct file *filp, poll_table *wait);
int cx18_start_capture(struct cx18_open_id *id);
-void cx18_stop_capture(struct cx18_open_id *id, int gop_end);
+void cx18_stop_capture(struct cx18_stream *s, int gop_end);
void cx18_mute(struct cx18 *cx);
void cx18_unmute(struct cx18 *cx);
int cx18_v4l2_mmap(struct file *file, struct vm_area_struct *vma);
+void cx18_clear_queue(struct cx18_stream *s, enum vb2_buffer_state state);
void cx18_vb_timeout(struct timer_list *t);
/* Shared with cx18-alsa module */