linux-stable/drivers/media
Hans Verkuil 3541e349e1 [media] vivid: fix broken Bayer text rendering
Sometimes when a Bayer pixelformat is selected the rendering of the OSD text
by vivid was all wrong: every other line of the text was shifted by half the width
or more.

It turned out that to render Bayer formats the interleaved boolean is set to true
in the tpg. This mode indicates a semi-biplanar mode where two interleaved planes
are used to render the frame. From outside the tpg it looks like a single plane,
but internally it is two planes.

However, in the tpg_s_bytesperline() function the interleaved bool wasn't checked
and only the bytesperline value for plane 0 was updated. But for the interleaved
mode the same value has to be copied to bytesperline[1] as well.

The effect was that whatever old value was left in bytesperline[1] was used, which
caused all sorts of weird and seemingly unpredictable shifts.

Reported-by: Ove Brynestad <ovebryne@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-01 08:16:28 -02:00
..
common [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb-core [media] tuner.h: rename TUNER_PAD_IF_OUTPUT to TUNER_PAD_OUTPUT 2016-02-01 07:19:08 -02:00
dvb-frontends [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] media: adv7604: implement get_selection 2016-02-01 08:03:32 -02:00
mmc
pci [media] media: bt8xx: constify sp887x_config structure 2016-02-01 07:58:47 -02:00
platform [media] vivid: fix broken Bayer text rendering 2016-02-01 08:16:28 -02:00
radio [media] radio-si476x: add return value check to avoid dead code 2016-02-01 08:01:15 -02:00
rc [media] nuvoton-cir: fix setting ioport base address 2016-01-25 15:45:42 -02:00
tuners [media] xc2028: avoid use after free 2016-02-01 07:16:18 -02:00
usb [media] cx231xx: Fix memory leak 2016-02-01 08:00:47 -02:00
v4l2-core [media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32 2016-02-01 08:15:21 -02:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile
media-device.c Revert "[media] Postpone the addition of MEDIA_IOC_G_TOPOLOGY" 2016-01-25 07:29:43 -02:00
media-devnode.c [media] media-devnode: move kernel-doc documentation to the header 2016-01-11 12:19:13 -02:00
media-entity.c [media] media-entitiy: add a function to create multiple links 2016-01-11 12:19:26 -02:00