]> git.baikalelectronics.ru Git - kernel.git/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)
commitd2170ccb4a4587ab33a5660d20d8c193b65f9d15
tree07f8f2723b9339a2246d32c1bcff4a96df5eec00
parentc3664e456e2ad70e84ab5754d8d79c68b1e9ad43
[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