aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/Kconfig
diff options
context:
space:
mode:
authorPawel Osciak <p.osciak@samsung.com>2010-04-23 04:38:38 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:58:04 -0400
commit96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf (patch)
tree26379653e6babe8b19ac46d1aa81b88adc584a67 /drivers/media/video/Kconfig
parent7f98639def42a676998d734b381af6c0e64d7791 (diff)
V4L/DVB: [v5,2/2] v4l: Add a mem-to-mem videobuf framework test device
This is a virtual device driver for testing the memory-to-memory framework. This virtual device uses in-memory buffers for both its source and destination. It is capable of multi-instance, multi-buffer-per-transaction operation (via the mem2mem framework). [mchehab@redhat.com: use videobuf_queue_to_vaddr instead of the removed videobuf_queue_to_vmalloc] Signed-off-by: Pawel Osciak <p.osciak@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com> Tested-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/Kconfig')
-rw-r--r--drivers/media/video/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index f8cbd4adebfd..16decdd6e28c 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -1135,3 +1135,17 @@ menuconfig V4L_MEM2MEM_DRIVERS
1135 use system memory for both source and destination buffers, as opposed 1135 use system memory for both source and destination buffers, as opposed
1136 to capture and output drivers, which use memory buffers for just 1136 to capture and output drivers, which use memory buffers for just
1137 one of those. 1137 one of those.
1138
1139if V4L_MEM2MEM_DRIVERS
1140
1141config VIDEO_MEM2MEM_TESTDEV
1142 tristate "Virtual test device for mem2mem framework"
1143 depends on VIDEO_DEV && VIDEO_V4L2
1144 select VIDEOBUF_VMALLOC
1145 select V4L2_MEM2MEM_DEV
1146 default n
1147 ---help---
1148 This is a virtual test device for the memory-to-memory driver
1149 framework.
1150
1151endif # V4L_MEM2MEM_DRIVERS