linux/drivers/media/pci
Hans de Goede 3c26bcd82a bttv: Width must be a multiple of 16 when capturing planar formats
commit 5c915c6876 upstream.

On my bttv card "Hauppauge WinTV [card=10]" capturing in YV12 fmt at max
size results in a solid green rectangle being captured (all colors 0 in
YUV).

This turns out to be caused by max-width (924) not being a multiple of 16.

We've likely never hit this problem before since normally xawtv / tvtime,
etc. will prefer packed pixel formats. But when using a video card which
is using xf86-video-modesetting + glamor, only planar XVideo fmts are
available, and xawtv will chose a matching capture format to avoid needing
to do conversion, triggering the solid green window problem.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2016-04-12 09:08:50 -07:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx bttv: Width must be a multiple of 16 when capturing planar formats 2016-04-12 09:08:50 -07:00
cobalt [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
cx18 [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
cx88 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
cx23885 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
cx25821 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
ddbridge [media] ddbridge: Do not free_irq() if request_irq() failed 2015-06-09 19:40:33 -03:00
dm1105 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dt3155 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
ivtv [media] Revert "[media] ivtv: avoid going past input/audio array" 2015-12-18 15:25:29 -02: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 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
ngene [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03: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] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
saa7134 saa7134: Fix bytesperline not being set correctly for planar formats 2016-04-12 09:08:50 -07:00
saa7146 [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
saa7164 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
smipcie [media] SMI PCIe IR driver for DVBSky cards 2015-07-06 08:26:16 -03:00
solo6x10 mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd 2015-11-06 17:50:42 -08:00
sta2x11 [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
ttpci [media] dvb: get rid of enum dmx_success 2015-10-06 19:53:02 -03:00
tw68 various: fix pci_set_dma_mask return value checking 2015-11-20 16:17:32 -08:00
zoran [media] zoran: Use monotonic time 2015-08-16 13:29:31 -03:00
Kconfig [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver 2015-08-11 15:16:40 -03:00
Makefile [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver 2015-08-11 15:16:40 -03:00