diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-14 17:33:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-24 19:03:26 +0200 |
commit | 579d315218e8a3f696e375c5f6917da6488bec8a (patch) | |
tree | c72d128308c801311cdf79638cbfbe453824411a /drivers/media/video/em28xx/em28xx.h | |
parent | V4L/DVB (12243): em28xx: allow specifying sensor xtal frequency (diff) | |
download | linux-579d315218e8a3f696e375c5f6917da6488bec8a.tar.xz linux-579d315218e8a3f696e375c5f6917da6488bec8a.zip |
V4L/DVB (12244): em28xx: adjust vinmode/vinctl based on the stream input format
Depending on the video input format, vinmode/vinctl needs adjustments.
For TV, this is not relevant, since the supported decoders output data
at the same format. However, webcam sensors may have different formats,
so, this needs to be adjusted based on the device.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index ce76633786c8..766ab59b8d59 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h @@ -483,6 +483,9 @@ struct em28xx { int sensor_xres, sensor_yres; int sensor_xtal; + /* Vinmode/Vinctl used at the driver */ + int vinmode, vinctl; + unsigned int stream_on:1; /* Locks streams */ unsigned int has_audio_class:1; unsigned int has_alsa_audio:1; |