linux/drivers/media/pci
Hans Verkuil 1c5eaa23d8 [media] cx23885: fix size helper functions
The norm_swidth function was unused and is dropped. It's not clear
what the purpose of that function was.

The norm_maxh function was changed so it tests for 60 Hz standards
rather than for 50 Hz standards. The is the preferred order.

The norm_maxw function was poorly written and used: it gives the maximum
allowed line width for the given standard. For 60 Hz that's 720, but
for 50 Hz that's 768 which allows for 768x576 which gives you square
pixels. For 60 Hz formats it is 640x480 that gives square pixels, so
there is no need to go beyond 720.

The initial width was set using norm_maxh(), which was wrong. Just set
to 720, that's what you normally use. Since the initial standard was
NTSC anyway the initial width was always 720 anyway.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-21 20:42:29 -03:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] bt8xx: just return 0 instead of using a var 2014-09-03 17:59:29 -03:00
cx18 Merge remote-tracking branch 'linus/master' into patchwork 2014-09-21 16:40:04 -03:00
cx88 [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
cx23885 [media] cx23885: fix size helper functions 2014-09-21 20:42:29 -03:00
cx25821 [media] cx25821: fix sparse warning 2014-09-03 10:32:02 -03:00
ddbridge [media] ddbridge: fix sparse warnings 2014-09-03 09:35:03 -03:00
dm1105 [media] dm1105: fix sparse warning 2014-09-03 10:32:59 -03:00
ivtv [media] ivtv: fix sparse warnings 2014-09-03 10:34:13 -03:00
mantis [media] mantis: fix sparse warnings 2014-09-03 09:38:44 -03:00
meye [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
ngene [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] pci: pt1: Remove redundant pci_set_drvdata 2013-10-17 06:01:59 -03:00
saa7134 [media] media: saa7134: remove if based on uninitialized variable 2014-07-26 12:30:41 -03:00
saa7146 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7164 [media] saa7164: just return 0 instead of using a var 2014-09-03 17:59:29 -03:00
solo6x10 [media] solo6x10: fix sparse warnings 2014-09-03 08:55:39 -03:00
sta2x11 [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -03:00
ttpci [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
tw68 [media] tw68: drop bogus cpu_to_le32() call 2014-09-08 16:40:54 -03:00
zoran [media] lm3560: simplify a boolean test 2014-09-03 17:59:24 -03:00
Kconfig [media] tw68: refactor and cleanup the tw68 driver 2014-09-04 11:30:53 -03:00
Makefile [media] tw68: refactor and cleanup the tw68 driver 2014-09-04 11:30:53 -03:00