media: allegro: rename codec specific functions
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 3 Dec 2020 11:01:03 +0000 (12:01 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 15:13:24 +0000 (16:13 +0100)
commit4132dcbf5ccd8857d0be3ef80d2a8b70662fbc40
treeb184c2b4d6fc5f08af497d1a6398c266f9765746
parent655ef9f9e87568aff031391712669b74d1b362f1
media: allegro: rename codec specific functions

The maximum bitrate and the size of the CPB are dependent on the level.
As the levels differ between the different codecs, the functions to get
the maximum bitrate and CPB must be codec specific, too.

Rename the functions to make it obvious that the function are only valid
for H.264.

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/media/platform/allegro-dvt/allegro-core.c