media: allegro: make frame rate configurable
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:31 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:23:28 +0000 (09:23 +0100)
commit6179184020301c9e63fe37dab7e194b65ff0dfe0
treebf18ea9dd67da24ae2361f4cb56a69c601cf896c
parente74145c2334d857072731eaf6bd518406024a9d4
media: allegro: make frame rate configurable

The allegro dvt codec adjust the encoding speed according to a
configured frame rate. Furthermore, the frame rate is written into the
coded stream.

Ensure that the coded video data has the correct frame rate by
implementing s_parm for setting the frame rate from user space.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/allegro-dvt/allegro-core.c