]> err.no Git - linux-2.6/commit
[PATCH] saa6752hs: resolutions handling
authorFrederic CAND <frederic.cand@anevia.com>
Thu, 5 May 2005 23:15:52 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:42 +0000 (16:36 -0700)
commit0a4c9c93c2fb5d09259136531d3e8e70fdcd6027
tree07f8f2723b9339a2246d32c1bcff4a96df5eec00
parentac5f34c028a043405de087e43699195ab3974dbf
[PATCH] saa6752hs: resolutions handling

This patch handles the VIDIOC_S_FMT and VIDIOC_G_FMT ioctls for the
saa6752hs.

As only 4 preset video formats are supported (SIF, 1/2D1, 2/3D1, D1), we
compute to which the asked resolution is the nearest and apply it.

Signed-off-by: Frederic Cand <frederic.cand@anevia.com>
Acked-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/saa7134/saa6752hs.c
drivers/media/video/saa7134/saa7134-empress.c