linux/drivers/media/pci/tw686x
Mauro Carvalho Chehab fb66852d4c [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>
2016-07-13 13:34:11 -03:00
..
Kconfig [media] tw686x: Add support for DMA scatter-gather mode 2016-06-28 07:50:09 -03:00
Makefile [media] media: Support Intersil/Techwell TW686x-based video capture cards 2016-04-20 13:37:32 -03:00
tw686x-audio.c [media] tw686x: audio: Prevent hw param changes while busy 2016-06-28 07:53:05 -03:00
tw686x-core.c [media] tw686x: be explicit about the possible dma_mode options 2016-06-28 07:53:28 -03:00
tw686x-regs.h [media] tw686x: audio: Allow to configure the period size 2016-06-28 07:52:12 -03:00
tw686x-video.c [media] tw686x: use a formula instead of two tables for div 2016-07-13 13:34:11 -03:00
tw686x.h [media] media/pci/tw686x: convert driver to use the new vb2_queue dev field 2016-07-08 14:37:50 -03:00