summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9v011.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-14 01:15:02 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-24 19:03:24 +0200
commit5569996421fa1cfc1fc0d9e683ac1def46ea985d (patch)
tree552bf2fc87952018f5af8ae3653c535e599ffe90 /drivers/media/video/mt9v011.c
parentV4L/DVB (12238): em28xx: call sensor detection code for all webcam entries (diff)
downloadlinux-5569996421fa1cfc1fc0d9e683ac1def46ea985d.tar.xz
linux-5569996421fa1cfc1fc0d9e683ac1def46ea985d.zip
V4L/DVB (12239): em28xx: fix webcam scaling
While trying to fix an mt9v001 webcam, I noticed that HSCALE/VSCALE do work with em28xx + webcam. The issue is that the scaling setup depends on the number of visible rows/cols of the input image. With mt9v011 (Silvercrest), the resolution is 640x480. So, the scaling is different from a normal TV image (720x480 on NTSC). This were causing a wrong scaling and a previous patch disabled scaling. As each sensor have their different resolution setting, the xres/yres should be adjusted accordingly with the input sensor. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9v011.c')
0 files changed, 0 insertions, 0 deletions