]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12240): mt9v011: add a function to calculate frames per second rate
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Jul 2009 05:38:18 +0000 (02:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:25 +0000 (14:03 -0300)
commitc91f1ff2b7c6ff28cc7ff1393c61fc0fb077d77a
tree6a458ff33772ed21112628bb147a2ccaeed427d9
parent017c6ad00c9caa62cf1c6f0885caf12fbe83649e
V4L/DVB (12240): mt9v011: add a function to calculate frames per second rate

It is possible to adjust the fps rate by changing some register values.
This is function of the connected Xtal at the camera sensor, being a 27
MHz cristal needed, in order to support 640x480 at 30 fps.

For now, it will only calculate the values for fps. Later patches may
introduce V4L2 ioctls, to allow frequency rate adjustments.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9v011.c