linux_dsm_epyc7002/drivers/media/pci
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
..
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
bt8xx [media] bt8xx: remove needless module refcounting 2016-07-08 16:16:53 -03:00
cobalt [media] ezkit/cobalt: drop unused op_656_range setting 2016-07-12 13:36:09 -03:00
cx18 [media] cx18: use v4l2_g/s_ctrl instead of the g/s_ctrl ops 2016-07-12 11:15:51 -03:00
cx88 [media] cx88: use wm8775_s_ctrl instead of the s_ctrl op 2016-07-12 11:15:04 -03:00
cx23885 [media] cx23885: Add support for Hauppauge WinTV quadHD DVB version 2016-07-12 13:39:37 -03:00
cx25821 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ddbridge [media] ddbridge: Replace vmalloc with vzalloc 2016-07-08 16:36:43 -03:00
dm1105 [media] dm1105: Remove unnecessary synchronize_irq() before free_irq() 2015-12-03 15:09:28 -02:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv [media] ivtv: use v4l2_g/s_ctrl instead of the g/s_ctrl ops 2016-07-12 11:16:44 -03:00
mantis [media] mantis: Fix error handling in mantis_dma_init() 2015-08-19 07:04:55 -03:00
meye [media] meye: embed video_device 2015-04-02 23:35:01 -03:00
netup_unidvb [media] netup_unidvb: trivial fix of spelling mistake "initizalize" -> "initialize" 2016-07-13 13:11:51 -03:00
ngene [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pt3 [media] pt3: fix device identification 2016-03-01 12:01:45 -03:00
saa7134 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
saa7146 [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
saa7164 [media] saa7164: drop unused saa7164_ctrl struct 2016-07-12 11:11:28 -03:00
smipcie [media] smipcie: add RC map into card configuration options 2016-05-07 10:27:18 -03:00
solo6x10 [media] media: solo6x10: increase FRAME_BUF_SIZE 2016-07-12 13:32:03 -03:00
sta2x11 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ttpci [media] ttpci: cleanup a bogus smatch warning 2016-02-23 07:26:22 -03:00
tw68 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
tw686x [media] tw686x: use a formula instead of two tables for div 2016-07-13 13:34:11 -03:00
zoran zr36016: remove some unused tables 2016-06-24 12:02:11 -03:00
Kconfig [media] media: Support Intersil/Techwell TW686x-based video capture cards 2016-04-20 13:37:32 -03:00
Makefile [media] media: Support Intersil/Techwell TW686x-based video capture cards 2016-04-20 13:37:32 -03:00