summaryrefslogtreecommitdiff
path: root/drivers/media/video/wmt
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/wmt')
-rwxr-xr-xdrivers/media/video/wmt/Kconfig19
-rwxr-xr-xdrivers/media/video/wmt/Makefile13
-rwxr-xr-xdrivers/media/video/wmt/encode/Kconfig15
-rwxr-xr-xdrivers/media/video/wmt/encode/Makefile11
-rwxr-xr-xdrivers/media/video/wmt/encode/jpeg/Kbuild3
5 files changed, 61 insertions, 0 deletions
diff --git a/drivers/media/video/wmt/Kconfig b/drivers/media/video/wmt/Kconfig
new file mode 100755
index 00000000..48f69397
--- /dev/null
+++ b/drivers/media/video/wmt/Kconfig
@@ -0,0 +1,19 @@
+#
+# Multimedia Video device configuration
+#
+
+config WMT_VIDEO_LOCK
+ tristate "WonderMedia Video Lock"
+ ---help---
+ Say Y here to enable Video Lock
+
+config WMT_VIDEO_DECODE_JPEG
+ tristate "WonderMedia Hardware JPEG decoder"
+ ---help---
+ Say Y here to use hardware to decode JPEG files
+
+config WMT_VIDEO_DECODE_MSVD
+ tristate "WonderMedia Hardware MSVD decoder"
+ ---help---
+ Say Y here to use hardware to decode MSVD files
+ \ No newline at end of file
diff --git a/drivers/media/video/wmt/Makefile b/drivers/media/video/wmt/Makefile
new file mode 100755
index 00000000..3e02cf24
--- /dev/null
+++ b/drivers/media/video/wmt/Makefile
@@ -0,0 +1,13 @@
+#
+# Makefile for the video capture/playback device drivers.
+#
+
+g_wmt_vd_com-y := wmt-vd.o wmt-codec.o
+g_wmt_lock-y := wmt-lock.o
+g_wmt_msvd-y := msvd/vpu.o
+g_wmt_vd_jdec-y := jpeg/hw-jdec.o jpeg/wmt-jdec.o
+
+obj-$(CONFIG_WMT_VIDEO_LOCK) += g_wmt_lock.o
+obj-$(CONFIG_WMT_VIDEO_DECODE) += g_wmt_vd_com.o
+obj-$(CONFIG_WMT_VIDEO_DECODE_MSVD) += g_wmt_msvd.o
+obj-$(CONFIG_WMT_VIDEO_DECODE_JPEG) += g_wmt_vd_jdec.o
diff --git a/drivers/media/video/wmt/encode/Kconfig b/drivers/media/video/wmt/encode/Kconfig
new file mode 100755
index 00000000..f79a822d
--- /dev/null
+++ b/drivers/media/video/wmt/encode/Kconfig
@@ -0,0 +1,15 @@
+#
+# Multimedia Video device configuration
+#
+
+
+config WMT_VIDEO_ENCODE_H264
+ tristate "WonderMedia Hardware H264 encoder"
+ ---help---
+ Say Y here to use hardware to encode H264 files
+
+config WMT_VIDEO_ENCODE_JPEG
+ tristate "WonderMedia Hardware JPEG encoder"
+ ---help---
+ Say Y here to use hardware to encode JPEG image
+ \ No newline at end of file
diff --git a/drivers/media/video/wmt/encode/Makefile b/drivers/media/video/wmt/encode/Makefile
new file mode 100755
index 00000000..b107ce1a
--- /dev/null
+++ b/drivers/media/video/wmt/encode/Makefile
@@ -0,0 +1,11 @@
+#
+# Makefile for the video encode device drivers.
+#
+
+g_wmt_ve_com-y := wmt-ve.o
+g_wmt_ve_h264-y := h264/wmt-h264enc.o h264/header.o h264/vlc.o
+g_wmt_ve_jenc-y := jpeg/hw-jenc.o jpeg/wmt-jenc.o
+
+obj-$(CONFIG_WMT_VIDEO_ENCODE) += g_wmt_ve_com.o
+obj-$(CONFIG_WMT_VIDEO_ENCODE_H264) += g_wmt_ve_h264.o
+obj-$(CONFIG_WMT_VIDEO_ENCODE_H264) += g_wmt_ve_jenc.o
diff --git a/drivers/media/video/wmt/encode/jpeg/Kbuild b/drivers/media/video/wmt/encode/jpeg/Kbuild
new file mode 100755
index 00000000..4bcf92f6
--- /dev/null
+++ b/drivers/media/video/wmt/encode/jpeg/Kbuild
@@ -0,0 +1,3 @@
+obj-m += g_wmt_ve_jpeg.o
+g_wmt_ve_jpeg-y := hw-jenc.o wmt-jenc.o
+