diff options
author | Pawel Osciak <p.osciak@samsung.com> | 2010-04-23 04:38:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:03 -0400 |
commit | 7f98639def42a676998d734b381af6c0e64d7791 (patch) | |
tree | ba90d827c47d05afe734ebc2183fcb8ec5c1112a /drivers/media/video/Kconfig | |
parent | 35e6aa9fc38fb7f47f39711e52cb0f58fbf4441c (diff) |
V4L/DVB: add memory-to-memory device helper framework for videobuf
A mem-to-mem device is a device that uses memory buffers passed by
userspace applications for both their source and destination data. This
is different from existing drivers, which utilize memory buffers for either
input or output, but not both.
In terms of V4L2 such a device would be both of OUTPUT and CAPTURE type.
Examples of such devices would be: image 'resizers', 'rotators',
'colorspace converters', etc.
This patch adds a separate Kconfig sub-menu for mem-to-mem devices as well.
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/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 747f106e7b53..f8cbd4adebfd 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -45,6 +45,10 @@ config VIDEO_TUNER | |||
45 | tristate | 45 | tristate |
46 | depends on MEDIA_TUNER | 46 | depends on MEDIA_TUNER |
47 | 47 | ||
48 | config V4L2_MEM2MEM_DEV | ||
49 | tristate | ||
50 | depends on VIDEOBUF_GEN | ||
51 | |||
48 | # | 52 | # |
49 | # Multimedia Video device configuration | 53 | # Multimedia Video device configuration |
50 | # | 54 | # |
@@ -1121,3 +1125,13 @@ config USB_S2255 | |||
1121 | 1125 | ||
1122 | endif # V4L_USB_DRIVERS | 1126 | endif # V4L_USB_DRIVERS |
1123 | endif # VIDEO_CAPTURE_DRIVERS | 1127 | endif # VIDEO_CAPTURE_DRIVERS |
1128 | |||
1129 | menuconfig V4L_MEM2MEM_DRIVERS | ||
1130 | bool "Memory-to-memory multimedia devices" | ||
1131 | depends on VIDEO_V4L2 | ||
1132 | default n | ||
1133 | ---help--- | ||
1134 | Say Y here to enable selecting drivers for V4L devices that | ||
1135 | use system memory for both source and destination buffers, as opposed | ||
1136 | to capture and output drivers, which use memory buffers for just | ||
1137 | one of those. | ||