mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
daala: Initial version of a Daala plugin
This commit is contained in:
parent
f88f1d0a35
commit
07053e5c53
8 changed files with 80 additions and 0 deletions
16
configure.ac
16
configure.ac
|
@ -1250,6 +1250,20 @@ AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
|
|||
])
|
||||
])
|
||||
|
||||
dnl *** Daala ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_DAALA, true)
|
||||
AG_GST_CHECK_FEATURE(DAALA, [daala], daala, [
|
||||
if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
|
||||
PKG_CHECK_MODULES(DAALA, daala, [
|
||||
HAVE_DAALA="yes"
|
||||
], [
|
||||
HAVE_DAALA="no"
|
||||
])
|
||||
AC_SUBST(DAALA_CFLAGS)
|
||||
AC_SUBST(DAALA_LIBS)
|
||||
fi
|
||||
])
|
||||
|
||||
dnl *** DTS ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_DTS, true)
|
||||
AG_GST_CHECK_FEATURE(DTS, [dts library], dtsdec, [
|
||||
|
@ -2198,6 +2212,7 @@ AM_CONDITIONAL(USE_DECKLINK, false)
|
|||
AM_CONDITIONAL(DECKLINK_OSX, false)
|
||||
AM_CONDITIONAL(USE_DIRECTFB, false)
|
||||
AM_CONDITIONAL(USE_WAYLAND, false)
|
||||
AM_CONDITIONAL(USE_DAALA, false)
|
||||
AM_CONDITIONAL(USE_DTS, false)
|
||||
AM_CONDITIONAL(USE_EXIF, false)
|
||||
AM_CONDITIONAL(USE_RESINDVD, false)
|
||||
|
@ -2462,6 +2477,7 @@ ext/dash/Makefile
|
|||
ext/dc1394/Makefile
|
||||
ext/directfb/Makefile
|
||||
ext/wayland/Makefile
|
||||
ext/daala/Makefile
|
||||
ext/dts/Makefile
|
||||
ext/eglgles/Makefile
|
||||
ext/faac/Makefile
|
||||
|
|
|
@ -76,6 +76,12 @@ else
|
|||
WAYLAND_DIR=
|
||||
endif
|
||||
|
||||
if USE_DAALA
|
||||
DAALA_DIR=daala
|
||||
else
|
||||
DAALA_DIR=
|
||||
endif
|
||||
|
||||
if USE_DTS
|
||||
DTS_DIR=dts
|
||||
else
|
||||
|
@ -392,6 +398,7 @@ SUBDIRS=\
|
|||
$(DC1394_DIR) \
|
||||
$(DIRECTFB_DIR) \
|
||||
$(WAYLAND_DIR) \
|
||||
$(DAALA_DIR) \
|
||||
$(DTS_DIR) \
|
||||
$(RESINDVD_DIR) \
|
||||
$(EGLGLES_DIR) \
|
||||
|
@ -464,6 +471,7 @@ DIST_SUBDIRS = \
|
|||
kate \
|
||||
libmms \
|
||||
lv2 \
|
||||
daala \
|
||||
dts \
|
||||
eglgles \
|
||||
modplug \
|
||||
|
|
20
ext/daala/Makefile.am
Normal file
20
ext/daala/Makefile.am
Normal file
|
@ -0,0 +1,20 @@
|
|||
plugin_LTLIBRARIES = libgstdaala.la
|
||||
|
||||
noinst_HEADERS = gstdaalaenc.h \
|
||||
gstdaaladec.h
|
||||
|
||||
libgstdaala_la_SOURCES = gstdaala.c \
|
||||
gstdaalaenc.c \
|
||||
gstdaaladec.c
|
||||
|
||||
libgstdaala_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(DAALA_CFLAGS)
|
||||
libgstdaala_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_LIBS) \
|
||||
-lgsttag-$(GST_API_VERSION) \
|
||||
-lgstvideo-$(GST_API_VERSION) \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(GST_LIBS) \
|
||||
$(DAALA_LIBS)
|
||||
libgstdaala_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstdaala_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
||||
|
36
ext/daala/gstdaala.c
Normal file
36
ext/daala/gstdaala.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 2013 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
*
|
||||
* 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>
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
GST_VERSION_MINOR,
|
||||
daala,
|
||||
"Daala plugin",
|
||||
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|
0
ext/daala/gstdaaladec.c
Normal file
0
ext/daala/gstdaaladec.c
Normal file
0
ext/daala/gstdaaladec.h
Normal file
0
ext/daala/gstdaaladec.h
Normal file
0
ext/daala/gstdaalaenc.c
Normal file
0
ext/daala/gstdaalaenc.c
Normal file
0
ext/daala/gstdaalaenc.h
Normal file
0
ext/daala/gstdaalaenc.h
Normal file
Loading…
Reference in a new issue