AC_SUBST(OPENCV_LIBS)
])
+dnl *** OpenEXR ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_OPENEXR, true)
+AG_GST_CHECK_FEATURE(OPENEXR, [openexr library], openexr, [
+ AG_GST_PKG_CHECK_MODULES(OPENEXR, OpenEXR)
+])
+
dnl *** OpenJPEG ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENJPEG, true)
AG_GST_CHECK_FEATURE(OPENJPEG, [openjpeg library], openjpeg, [
ext/ofa/Makefile
ext/openal/Makefile
ext/opencv/Makefile
+ext/openexr/Makefile
ext/openjpeg/Makefile
ext/opus/Makefile
ext/rsvg/Makefile
OPENCV_DIR=
endif
+if USE_OPENEXR
+OPENEXR_DIR = openexr
+else
+OPENEXR_DIR =
+endif
+
if USE_OPENJPEG
OPENJPEG_DIR = openjpeg
else
$(OFA_DIR) \
$(OPENAL_DIR) \
$(OPENCV_DIR) \
+ $(OPENEXR_DIR) \
$(OPENJPEG_DIR) \
$(OPUS_DIR) \
$(RSVG_DIR) \
ofa \
openal \
opencv \
+ openexr \
openjpeg \
opus \
rsvg \
--- /dev/null
+plugin_LTLIBRARIES = libgstopenexr.la
+
+libgstopenexr_la_SOURCES = gstopenexrdec.cpp gstopenexr.c
+libgstopenexr_la_CFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(OPENEXR_CFLAGS)
+libgstopenexr_la_CXXFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(OPENEXR_CFLAGS)
+libgstopenexr_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
+ $(GST_LIBS) $(OPENEXR_LIBS)
+libgstopenexr_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+libgstopenexr_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
+
+noinst_HEADERS = \
+ gstopenexrdec.h \
+ gstopenexr.h
--- /dev/null
+/*
+ * Copyright (C) 2013 Sebastian Dröge <sebastian@centricular.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <gst/gst.h>
+
+#include "gstopenexr.h"
+#include "gstopenexrdec.h"
+
+static gboolean
+plugin_init (GstPlugin * plugin)
+{
+ return TRUE;
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ openexr,
+ "OpenEXR image plugin",
+ plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
--- /dev/null
+/*
+ * Copyright (C) 2013 Sebastian Dröge <sebastian@centricular.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef __GST_OPENEXR_H__
+#define __GST_OPENEXR_H__
+
+#endif /* __GST_OPENEXR_H__ */