]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/media/video/em28xx/em28xx-video.c
V4L/DVB (12171): em28xx: fix webcam usage with different output formats
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 3 Jul 2009 05:54:18 +0000 (02:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 5 Jul 2009 22:21:22 +0000 (19:21 -0300)
commit58fc1ce37aba8e6371e1ec8a90d650b1965ee6c8
tree7acb827b4e839ceb3023d4e110b16335d8be86da
parented5f1431ebeeba8cc6739e9cd905a7895b66184c
V4L/DVB (12171): em28xx: fix webcam usage with different output formats

Discovered the bug that were limiting the output format to just RGB565.
Now, it is possible to output image at Bayer format (the original one,
as generated by Silvercrest sensor, and two others), and also on YUY.

Adds Bayer formats also to the driver.

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