linux/drivers/media/platform/vivid
Hans Verkuil 5d7c539e19 [media] vivid-tpg: precalculate downsampled lines
When dealing with vertical downsampling two successive lines have to be
averaged. In the case of the test pattern generator that only happens
if the two lines are using different patterns. So precalculate the average
between two pattern lines: one of pattern P and one of pattern P + 1.

That way there is no need to do any on-the-fly downsampling: it's all done
in the precalculate phase.

This patch also implements horizontal downsampling in the precalculate phase.
The only thing that needs to be done is to half the width since the actual
downsampling happens when two pixels at a time are generated.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-02 20:39:07 -03:00
..
Kconfig [media] vivid: fix Kconfig FB dependency 2014-10-21 08:49:52 -02:00
Makefile [media] vivid: enable the vivid driver 2014-09-02 17:54:12 -03:00
vivid-core.c [media] vivid: enable vb2_expbuf support 2014-11-25 09:07:35 -02:00
vivid-core.h [media] vivid: use TPG_MAX_PLANES instead of hardcoding plane-arrays 2015-04-02 20:30:16 -03:00
vivid-ctrls.c [media] vivid: use consistent colorspace/Y'CbCr Encoding strings 2015-02-02 11:08:28 -02:00
vivid-ctrls.h
vivid-kthread-cap.c [media] vivid: fix test pattern movement for V4L2_FIELD_ALTERNATE 2015-04-02 20:30:57 -03: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] vivid: add some missing headers 2014-09-02 17:57:34 -03: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] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03: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: add support for radio receivers and transmitters 2014-09-02 17:47:03 -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] vivid sdr: fix broken sine tone generated for sdr FM 2015-03-02 14:53:04 -03:00
vivid-sdr-cap.h [media] vivid: add support for software defined radio 2014-09-02 17:48:13 -03:00
vivid-tpg-colors.c [media] vivid-tpg-colors: add AdobeRGB and BT.2020 support 2014-12-02 11:18:07 -02:00
vivid-tpg-colors.h [media] vivid-tpg-colors: add AdobeRGB and BT.2020 support 2014-12-02 11:18:07 -02:00
vivid-tpg.c [media] vivid-tpg: precalculate downsampled lines 2015-04-02 20:39:07 -03:00
vivid-tpg.h [media] vivid-tpg: precalculate downsampled lines 2015-04-02 20:39:07 -03:00
vivid-vbi-cap.c [media] media: vivid: use vb2_ops_wait_prepare/finish helper 2014-11-25 08:12:30 -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] media: vivid: use vb2_ops_wait_prepare/finish helper 2014-11-25 08:12:30 -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] vivid: fix test pattern movement for V4L2_FIELD_ALTERNATE 2015-04-02 20:30:57 -03: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: do not allow video loopback for SEQ_TB/BT 2015-04-02 20:33:37 -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] drivers: media: platform: vivid: Fix possible null derefrence 2015-04-02 18:10:38 -03:00
vivid-vid-out.h [media] vivid: remove duplicate and unused g/s_edid functions 2014-09-08 10:00:57 -03:00