]> git.baikalelectronics.ru Git - kernel.git/commit
media: mb86a20s: make the bit rate estimation function more generic
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 Oct 2019 11:42:47 +0000 (08:42 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Oct 2019 15:24:03 +0000 (12:24 -0300)
commite2917d2532b9922e125e8aa0a388227a15ac3ec7
tree4925c3265ff660c4de03a539386948846cceed89
parent856edff0a22003231d96082905a27ac894454935
media: mb86a20s: make the bit rate estimation function more generic

While 99% of the implementation of the bitrate estimation
routine for ISDB-T is generic, the current approach mangles it
with some mb86a20s-specific thing.

Split the calculus from the specific stuff, in order to make
easier to use the same approach on other drivers requiring
a similar formula.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
drivers/media/dvb-frontends/mb86a20s.c