2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the video capture/playback device drivers.
|
|
|
|
#
|
|
|
|
|
2008-12-02 02:40:09 +08:00
|
|
|
omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
|
|
|
|
|
2009-06-12 14:38:15 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VINO) += indycam.o
|
|
|
|
obj-$(CONFIG_VIDEO_VINO) += vino.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2012-08-20 20:49:34 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o
|
|
|
|
|
2012-08-20 20:49:34 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
|
2011-06-12 01:46:42 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CAFE_CCIC) += marvell-ccic/
|
2011-06-12 01:46:49 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MMP_CAMERA) += marvell-ccic/
|
2007-07-19 05:04:17 +08:00
|
|
|
|
2012-08-20 20:49:34 +08:00
|
|
|
obj-$(CONFIG_VIDEO_OMAP2) += omap2cam.o
|
2011-02-13 05:05:06 +08:00
|
|
|
obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/
|
|
|
|
|
2010-07-02 21:10:09 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
|
2006-04-10 02:51:18 +08:00
|
|
|
obj-$(CONFIG_VIDEO_VIVI) += vivi.o
|
2010-03-29 15:45:22 +08:00
|
|
|
|
2012-08-20 20:49:34 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
|
2011-04-04 20:21:57 +08:00
|
|
|
|
[media] v4l: ti-vpe: Add VPE mem to mem driver
VPE is a block which consists of a single memory to memory path which
can perform chrominance up/down sampling, de-interlacing, scaling, and
color space conversion of raster or tiled YUV420 coplanar, YUV422
coplanar or YUV422 interleaved video formats.
We create a mem2mem driver based primarily on the mem2mem-testdev
example. The de-interlacer, scaler and color space converter are all
bypassed for now to keep the driver simple. Chroma up/down sampler
blocks are implemented, so conversion beteen different YUV formats is
possible.
Each mem2mem context allocates a buffer for VPE MMR values which it will
use when it gets access to the VPE HW via the mem2mem queue, it also
allocates a VPDMA descriptor list to which configuration and data
descriptors are added.
Based on the information received via v4l2 ioctls for the source and
destination queues, the driver configures the values for the MMRs, and
stores them in the buffer. There are also some VPDMA parameters like
frame start and line mode which needs to be configured, these are
configured by direct register writes via the VPDMA helper functions.
The driver's device_run() mem2mem op will add each descriptor based on
how the source and destination queues are set up for the given ctx, once
the list is prepared, it's submitted to VPDMA, these descriptors when
parsed by VPDMA will upload MMR registers, start DMA of video buffers on
the various input and output clients/ports.
When the list is parsed completely(and the DMAs on all the output ports
done), an interrupt is generated which we use to notify that the source
and destination buffers are done. The rest of the driver is quite
similar to other mem2mem drivers, we use the multiplane v4l2 ioctls as
the HW support coplanar formats.
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-10-16 13:36:47 +08:00
|
|
|
obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe/
|
|
|
|
|
2012-01-13 17:31:02 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
2012-08-20 20:49:34 +08:00
|
|
|
obj-$(CONFIG_VIDEO_CODA) += coda.o
|
2012-01-13 17:31:02 +08:00
|
|
|
|
2012-10-05 18:43:41 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SH_VEU) += sh_veu.o
|
|
|
|
|
2012-07-26 16:55:18 +08:00
|
|
|
obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o
|
|
|
|
|
2012-08-23 07:09:18 +08:00
|
|
|
obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
|
2013-03-24 23:54:25 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS) += exynos4-is/
|
2011-11-24 22:15:23 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_JPEG) += s5p-jpeg/
|
2011-06-21 21:51:26 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_MFC) += s5p-mfc/
|
2011-03-03 00:16:37 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_TV) += s5p-tv/
|
2008-04-23 01:42:03 +08:00
|
|
|
|
2011-10-06 22:32:12 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_S5P_G2D) += s5p-g2d/
|
2012-09-16 02:09:57 +08:00
|
|
|
obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc/
|
2011-10-06 22:32:12 +08:00
|
|
|
|
2012-03-09 04:44:17 +08:00
|
|
|
obj-$(CONFIG_BLACKFIN) += blackfin/
|
|
|
|
|
2010-03-17 22:21:13 +08:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI) += davinci/
|
|
|
|
|
|
|
|
obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
|
|
|
|
|
2012-08-22 06:46:46 +08:00
|
|
|
obj-$(CONFIG_SOC_CAMERA) += soc_camera/
|
|
|
|
|
2013-06-04 22:22:30 +08:00
|
|
|
obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
|
|
|
|
|
2010-06-12 20:09:56 +08:00
|
|
|
obj-y += davinci/
|
2009-06-09 17:38:58 +08:00
|
|
|
|
2010-04-11 21:41:49 +08:00
|
|
|
obj-$(CONFIG_ARCH_OMAP) += omap/
|
2012-08-20 15:00:14 +08:00
|
|
|
|
|
|
|
ccflags-y += -I$(srctree)/drivers/media/i2c
|