]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vivid: add support for reduced fps in video out
authorPrashant Laddha <prladdha@cisco.com>
Tue, 22 Sep 2015 14:27:29 +0000 (11:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 17:05:40 +0000 (15:05 -0200)
commitbfc8c43c02d150a19e1171e6a06b0d1e9ef2160f
treeae9b87ad5e774a3e16fd4ab0f64fc8be64843afd
parentc41c020419050021d07683d63b3e3733e4dedd40
[media] vivid: add support for reduced fps in video out

If reduced fps flag is set then check if other necessary conditions
are true for the given bt timing. If yes, then reduce the frame rate.
For vivid transmitter, timeperframe_vid_out controls the frame rate.
Adjusting the timeperframe_vid_out by scaling down pixel clock by
factor of 1000 / 1001.

Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-vid-out.c