Commit 2efe2cc4 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] cx25821: move vidq from cx25821_fh to cx25821_channel

This is not a per-filehandle object, it's a per-channel object.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 11f095aa
This diff is collapsed.
......@@ -123,10 +123,7 @@ struct cx25821_fh {
enum v4l2_priority prio;
/* video capture */
const struct cx25821_fmt *fmt;
unsigned int width, height;
int channel_id;
struct videobuf_queue vidq;
};
enum cx25821_itype {
......@@ -217,12 +214,15 @@ struct cx25821_channel {
struct cx25821_data timeout_data;
struct video_device vdev;
struct cx25821_dmaqueue vidq;
struct cx25821_dmaqueue dma_vidq;
struct videobuf_queue vidq;
const struct sram_channel *sram_channels;
int resources;
const struct cx25821_fmt *fmt;
unsigned int width, height;
int pixel_formats;
int use_cif_resolution;
int cif_width;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment