linux/drivers/media
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
..
common [media] drivers: media: b2c2: flexcop.h: Fix typo in include guard 2014-09-21 20:11:54 -03:00
dvb-core Merge remote-tracking branch 'linus/master' into patchwork 2014-09-21 16:40:04 -03:00
dvb-frontends [media] af9033: init DVBv5 statistics 2014-09-21 19:50:35 -03:00
firewire
i2c [media] adv7604/adv7842: fix il_vbackporch typo and zero the struct 2014-09-21 20:41:00 -03:00
mmc
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci [media] cx23885: fix size helper functions 2014-09-21 20:42:29 -03:00
platform [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
radio [media] radio-si470x-usb: use USB API functions rather than constants 2014-09-21 20:10:33 -03:00
rc [media] nuvoton-cir: just return 0 instead of using a var 2014-09-03 17:59:55 -03:00
tuners [media] tda18212: convert to RegMap API 2014-09-21 20:06:23 -03:00
usb [media] v4l2: uvcvideo: Allow using larger buffers 2014-09-21 20:37:55 -03:00
v4l2-core [media] v4l2-dv-timings: only check standards if non-zero 2014-09-21 20:40:33 -03:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c