]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (12406): em28xx: fix: don't do image interlacing on webcams
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 8 Aug 2009 06:14:55 +0000 (03:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:09 +0000 (20:39 -0300)
commitc2a6b54a9cf08d4ffeb75d70603c4a5d03ac97ad
tree3f263afdb14fb8226b0d0f60b026f8e3fc29bf85
parentd594317bdc716ccd8c8cf711e3827f9b6e0b766b
V4L/DVB (12406): em28xx: fix: don't do image interlacing on webcams

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.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx.h