diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2013-11-23 11:29:08 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2013-11-23 18:51:35 +0100 |
commit | da65dccd78b6840c632fba92b5e62a5fde72fd40 (patch) | |
tree | d520fb15db9d45c0fc53d04fe4b228dc7fd5a528 /ext/openexr | |
parent | f8db818a8dd6856adf898c55ac676b1a006f1f07 (diff) | |
download | gstreamer-plugins-bad-da65dccd78b6840c632fba92b5e62a5fde72fd40.tar.gz |
openexr: Add OpenEXR plugin
See http://www.openexr.com
Diffstat (limited to 'ext/openexr')
-rw-r--r-- | ext/openexr/Makefile.am | 16 | ||||
-rw-r--r-- | ext/openexr/gstopenexr.c | 39 | ||||
-rw-r--r-- | ext/openexr/gstopenexr.h | 24 | ||||
-rw-r--r-- | ext/openexr/gstopenexrdec.cpp | 0 | ||||
-rw-r--r-- | ext/openexr/gstopenexrdec.h | 0 |
5 files changed, 79 insertions, 0 deletions
diff --git a/ext/openexr/Makefile.am b/ext/openexr/Makefile.am new file mode 100644 index 000000000..6379697f8 --- /dev/null +++ b/ext/openexr/Makefile.am @@ -0,0 +1,16 @@ +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 diff --git a/ext/openexr/gstopenexr.c b/ext/openexr/gstopenexr.c new file mode 100644 index 000000000..8f5ab28cc --- /dev/null +++ b/ext/openexr/gstopenexr.c @@ -0,0 +1,39 @@ +/* + * 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) diff --git a/ext/openexr/gstopenexr.h b/ext/openexr/gstopenexr.h new file mode 100644 index 000000000..f1d113719 --- /dev/null +++ b/ext/openexr/gstopenexr.h @@ -0,0 +1,24 @@ +/* + * 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__ */ diff --git a/ext/openexr/gstopenexrdec.cpp b/ext/openexr/gstopenexrdec.cpp new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/ext/openexr/gstopenexrdec.cpp diff --git a/ext/openexr/gstopenexrdec.h b/ext/openexr/gstopenexrdec.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/ext/openexr/gstopenexrdec.h |