android_kernel_samsung_msm8976/drivers/media/pci/bt8xx
Hans de Goede d2d7a79a63 bttv: Width must be a multiple of 16 when capturing planar formats
commit 5c915c68763889f0183a1cc61c84bb228b60124a 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.

Cc: stable@vger.kernel.org
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: Willy Tarreau <w@1wt.eu>
2016-06-07 10:42:46 +02:00
..
Kconfig
Makefile
bt848.h
bt878.c
bt878.h
bttv-audio-hook.c
bttv-audio-hook.h
bttv-cards.c [media] bttv: rename field 'audio' in struct 'bttv' to 'audio_input' 2013-03-23 11:31:13 -03:00
bttv-driver.c bttv: Width must be a multiple of 16 when capturing planar formats 2016-06-07 10:42:46 +02:00
bttv-gpio.c
bttv-i2c.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-05-02 14:38:53 -07:00
bttv-if.c
bttv-input.c i2c: Ignore return value of i2c_del_adapter() 2013-04-02 07:06:03 +02:00
bttv-risc.c
bttv-vbi.c
bttv.h
bttvp.h [media] bttv: rename field 'audio' in struct 'bttv' to 'audio_input' 2013-03-23 11:31:13 -03:00
dst.c
dst_ca.c
dst_ca.h
dst_common.h
dst_priv.h
dvb-bt8xx.c
dvb-bt8xx.h