linux/drivers/media
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
..
common [media] saa7146: replace current->state by set_current_state() 2015-03-03 11:15:42 -03:00
dvb-core [media] use a function for DVB media controller register 2015-03-02 11:29:39 -03:00
dvb-frontends [media] rtl2832: fix compiler warning 2015-04-02 18:22:54 -03:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] media: ov2640: add primary dt support 2015-04-02 18:36:10 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] media: pci: cx23885: don't export static symbol 2015-04-02 18:21:53 -03:00
platform [media] vivid-tpg: precalculate downsampled lines 2015-04-02 20:39:07 -03:00
radio [media] wl128x-radio really depends on TI_ST 2015-04-02 18:23:28 -03:00
rc [media] ir-hix5hd2: remove writel/readl_relaxed define 2015-02-11 20:23:52 -02:00
tuners [media] si2157: extend frequency range for ATSC 2015-04-01 06:22:26 -03:00
usb [media] V4L: remove clock name from v4l2_clk API 2015-04-02 18:32:53 -03:00
v4l2-core [media] V4L: add CCF support to the v4l2_clk API 2015-04-02 18:33:42 -03:00
Kconfig [media] dvbdev: add support for media controller 2015-02-13 21:10:12 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00