[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)
commitb883ba75e95790ab866d465381bb058776653ef5
treeae9b87ad5e774a3e16fd4ab0f64fc8be64843afd
parent8d7322f4f753644bd00d3a7a267c43f506a0b9c1
[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