[media] coda: Use S_PARM to set nominal framerate for h.264 encoder
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 16 Jul 2015 16:13:24 +0000 (13:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:26:43 +0000 (11:26 -0300)
commitcde29ef313de391ec9a1e461458274623ab1eb87
tree59b9ffdf4d4520d66711b269e746154d5f00593e
parentda2b3b3e115d2793b5475039ca4d7f364135fcf4
[media] coda: Use S_PARM to set nominal framerate for h.264 encoder

The encoder needs to know the nominal framerate for the constant bitrate
control mechanism to work. Currently the only way to set the framerate is
by using VIDIOC_S_PARM on the output queue.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c
drivers/media/platform/coda/coda_regs.h