]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2504f2dd70f327f60620dd57cce67d036532b774
tree59b9ffdf4d4520d66711b269e746154d5f00593e
parent00fca017b1292472224d35394ea33658b498ff66
[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