summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx231xx/cx231xx.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-05-31 00:45:46 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 06:21:19 (GMT)
commitccb83408b258f7e9f9fe763f9a7d06ebcc21134f (patch)
tree49144494f537303767e9f0ca32c4fb50730413c5 /drivers/media/video/cx231xx/cx231xx.h
parent9bd0e8d7d1bf0dc586bad905c7878b611da3acdc (diff)
downloadlinux-fsl-qoriq-ccb83408b258f7e9f9fe763f9a7d06ebcc21134f.tar.xz
V4L/DVB (11912): em28xx: Use v4l bounding/alignment function
The v4l function has a better algorithm for aligning image size. It appears that the em2800 can only scale by 50% or 100%, i.e. the only heights supported might be 240 and 480. In that case the old code would set any height other than 240 to 480. Request 240 get 240, but request 239 and then you get 480. Change it to round to the nearest supported value. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx.h')
0 files changed, 0 insertions, 0 deletions