summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_core.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-05-30 17:45:46 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2009-05-30 17:45:46 -0700
commited377dd0de1bcd6b8df32c6ad057d9e0fc0def29 (patch)
treef5a22cf2badd3b975816ec0f909aba4597264752 /linux/drivers/media/common/saa7146_core.c
parent89238d5360d8f8530addc8728b8681f05921fbb0 (diff)
downloadmediapointer-dvb-s2-ed377dd0de1bcd6b8df32c6ad057d9e0fc0def29.tar.gz
mediapointer-dvb-s2-ed377dd0de1bcd6b8df32c6ad057d9e0fc0def29.tar.bz2
em28xx: Use v4l bounding/alignment function
From: Trent Piepho <xyzzy@speakeasy.org> 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. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/common/saa7146_core.c')
0 files changed, 0 insertions, 0 deletions