summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv6110x_priv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-06-29 04:17:34 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 18:34:11 +0200
commitfb66852d4c693d5159724aef2b0c5e956206940d (patch)
treeb074921d2a2c55da3f539a79dea5458c565a39a2 /drivers/media/dvb-frontends/stv6110x_priv.h
parent[media] dvb-usb: silence an uninitialized variable warning (diff)
downloadlinux-fb66852d4c693d5159724aef2b0c5e956206940d.tar.xz
linux-fb66852d4c693d5159724aef2b0c5e956206940d.zip
[media] tw686x: use a formula instead of two tables for div
Instead of using two tables to estimate the temporal decimation factor, use a formula. This allows to get the closest fps, which sounds better than the current tables. Also, the current code doesn't store the real framerate. This patch fixes the above issues. [Ezequiel: - introduce a TW686X_MAX_FPS macro for max_fps. - use hweight_long instead of open coding the set bits count.] Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv6110x_priv.h')
0 files changed, 0 insertions, 0 deletions