diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-08 03:14:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-08 03:14:55 -0300 |
commit | 3f5d03feb375c275dac631a9d5819d4d2bc25c46 (patch) | |
tree | f5163e7e1453bf75064b952b3e6f0358e1cae9b6 /linux/drivers/media/video/em28xx/em28xx.h | |
parent | 32405a38daa6df56e36a1569031515af7a72f192 (diff) | |
download | mediapointer-dvb-s2-3f5d03feb375c275dac631a9d5819d4d2bc25c46.tar.gz mediapointer-dvb-s2-3f5d03feb375c275dac631a9d5819d4d2bc25c46.tar.bz2 |
em28xx: fix: don't do image interlacing on webcams
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Due to historical reasons, em28xx driver gets two consecutive frames and
fold them into an unique framing, doing interlacing. While this works
fine for TV images, this produces two bad effects with webcams:
1) webcam images are progressive. Merging two consecutive images produce
interlacing artifacts on the image;
2) since the driver needs to get two frames, it reduces the maximum
frame rate by two.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx.h')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx.h b/linux/drivers/media/video/em28xx/em28xx.h index 3c4cd00b2..c76da6985 100644 --- a/linux/drivers/media/video/em28xx/em28xx.h +++ b/linux/drivers/media/video/em28xx/em28xx.h @@ -494,6 +494,9 @@ struct em28xx { int sensor_xres, sensor_yres; int sensor_xtal; + /* Allows progressive (e. g. non-interlaced) mode */ + int progressive; + /* Vinmode/Vinctl used at the driver */ int vinmode, vinctl; |