linux_dsm_epyc7002/drivers/media/platform/vivid
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
..
Kconfig [media] vivid: Add an option to configure the maximum number of devices 2015-10-03 11:36:24 -03:00
Makefile [media] vivid: enable the vivid driver 2014-09-02 17:54:12 -03:00
vivid-core.c [media] vivid: Add an option to configure the maximum number of devices 2015-10-03 11:36:24 -03:00
vivid-core.h [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-ctrls.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-ctrls.h [media] vivid: add the control handling code 2014-09-02 17:07:44 -03:00
vivid-kthread-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-kthread-cap.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-kthread-out.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-kthread-out.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-osd.c [media] media/vivid-osd: fix info leak in ioctl 2015-10-20 15:34:29 -02:00
vivid-osd.h [media] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03:00
vivid-radio-common.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-common.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-rx.c [media] vivid-radio-rx: Don't go past buffer 2015-04-30 14:28:58 -03:00
vivid-radio-rx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-rds-gen.c [media] vivid: add missing includes 2014-09-08 10:00:58 -03:00
vivid-rds-gen.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-sdr-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-sdr-cap.h [media] vivid: SDR cap add 'CU08' Complex U8 format 2015-05-30 11:40:38 -03:00
vivid-tpg-colors.c [media] vivid-tpg: add support for SMPTE 2084 transfer function 2015-09-30 19:49:16 -03:00
vivid-tpg-colors.h [media] vivid-tpg: add support for SMPTE 2084 transfer function 2015-09-30 19:49:16 -03:00
vivid-tpg.c [media] vivid: add 10 and 12 bit Bayer formats 2015-10-01 07:49:45 -03:00
vivid-tpg.h [media] vivid: fix broken Bayer text rendering 2016-02-01 08:16:28 -02:00
vivid-vbi-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-vbi-cap.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vbi-gen.c [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-gen.h [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-out.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vbi-out.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vid-cap.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vid-cap.h [media] vivid: add the video capture and output parts 2014-09-02 17:15:26 -03:00
vivid-vid-common.c [media] vivid: add 10 and 12 bit Bayer formats 2015-10-01 07:49:45 -03:00
vivid-vid-common.h [media] vivid: Don't mess with namespace adding a "get_format" function 2014-09-02 17:54:07 -03:00
vivid-vid-out.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vid-out.h [media] vivid: remove duplicate and unused g/s_edid functions 2014-09-08 10:00:57 -03:00