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)
commite11206e67f738b04d0c508795adc9bff504bc875
tree6a458ff33772ed21112628bb147a2ccaeed427d9
parent5569996421fa1cfc1fc0d9e683ac1def46ea985d
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