summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-06-26 08:33:27 (GMT)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2014-06-26 12:46:52 (GMT)
commit727732c6de87949278cd53436ba2c430956cd8f9 (patch)
tree1ab220633cd4a1edbed5066c46cc9071387ca762 /configure.ac
parent7a6183802dbb8d4cafa1a81a33c57f0fc2cb2e10 (diff)
downloadgst-plugins-bad-inteldmabufupload.tar.gz
gst-plugins-bad-inteldmabufupload.tar.xz
inteldrm: Add a new 'inteldmabufupload' elementinteldmabufupload
The purpose of this element is mainly to test video sinks that implement dmabuf support, using the dmabuf support of the intel video drivers. The element is based on GstBaseTransform. It provides a custom buffer pool, which allocates buffer objects using libdrm_intel and exports them to dmabuf objects. The GstMemory of those buffers is allocated from the GstDmabufAllocator. This buffer pool is provided upstream, so either upstream uses it and we have a zero-copy upload, or upstream doesn't use it, in which case this element will copy the contents of the upstream buffers into these dmabuf buffers. The src caps are transformed to have a "memory:dmabuf" caps feature. Example usage: gst-launch-1.0 videotestsrc ! inteldmabufupload ! waylandsink
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eb6b41f..8dadd65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2123,6 +2123,14 @@ AG_GST_CHECK_FEATURE(FLUIDSYNTH, [fluidsynth], fluidsynth, [
])
])
+dnl *** inteldrm ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_INTELDRM, true)
+AG_GST_CHECK_FEATURE(INTELDRM, [inteldrm], inteldrm, [
+ PKG_CHECK_MODULES(INTELDRM, libdrm_intel, HAVE_INTELDRM="yes", [
+ HAVE_INTELDRM="no"
+ ])
+])
+
dnl *** kate ***
translit(dnm, m, l) AM_CONDITIONAL(USE_KATE, true)
AG_GST_CHECK_FEATURE(KATE, [Kate], kate, [
@@ -2991,6 +2999,7 @@ AM_CONDITIONAL(USE_FLITE, false)
AM_CONDITIONAL(USE_FLUIDSYNTH, false)
AM_CONDITIONAL(USE_GSM, false)
AM_CONDITIONAL(USE_HLS, false)
+AM_CONDITIONAL(USE_INTELDRM, false)
AM_CONDITIONAL(USE_KATE, false)
AM_CONDITIONAL(USE_TIGER, false)
AM_CONDITIONAL(USE_LADSPA, false)
@@ -3226,6 +3235,7 @@ sys/dshowsrcwrapper/Makefile
sys/dshowvideosink/Makefile
sys/dvb/Makefile
sys/fbdev/Makefile
+sys/inteldrm/Makefile
sys/linsys/Makefile
sys/opensles/Makefile
sys/osxvideo/Makefile