aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qv4l2/Makefile.am
diff options
context:
space:
mode:
authorBård Eirik Winther <bwinther@cisco.com>2013-07-30 10:15:24 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2013-08-03 14:49:01 +0200
commit4be94c8d69a5e0ed8212cac5ccabebcaf1325a24 (patch)
tree70b8dc8e6eb8c58b89f33bc4f16ba2ec6ad2fcc4 /utils/qv4l2/Makefile.am
parent7d88d4a4465377e6e71d9c2b98c7ac07d88dad63 (diff)
qv4l2: add OpenGL rendering
Adds OpenGL-accelerated display of video. This allows for using the graphics card to render the video content to screen and to perform color space conversion. Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/qv4l2/Makefile.am')
-rw-r--r--utils/qv4l2/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
index 9ef8149b..22d4c173 100644
--- a/utils/qv4l2/Makefile.am
+++ b/utils/qv4l2/Makefile.am
@@ -1,12 +1,18 @@
bin_PROGRAMS = qv4l2
qv4l2_SOURCES = qv4l2.cpp general-tab.cpp ctrl-tab.cpp vbi-tab.cpp v4l2-api.cpp capture-win.cpp \
- capture-win-qt.cpp capture-win-qt.h \
+ capture-win-qt.cpp capture-win-qt.h capture-win-gl.cpp capture-win-gl.h \
raw2sliced.cpp qv4l2.h capture-win.h general-tab.h vbi-tab.h v4l2-api.h raw2sliced.h
nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc_vbi-tab.cpp qrc_qv4l2.cpp
qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ../libv4l2util/libv4l2util.la
+
+if WITH_QV4L2_GL
+qv4l2_CPPFLAGS = $(QTGL_CFLAGS) -DENABLE_GL
+qv4l2_LDFLAGS = $(QTGL_LIBS)
+else
qv4l2_CPPFLAGS = $(QT_CFLAGS)
qv4l2_LDFLAGS = $(QT_LIBS)
+endif
EXTRA_DIST = exit.png fileopen.png qv4l2_24x24.png qv4l2_64x64.png qv4l2.png qv4l2.svg snapshot.png \
video-television.png fileclose.png qv4l2_16x16.png qv4l2_32x32.png qv4l2.desktop qv4l2.qrc record.png \

Privacy Policy