gst-dvm: Create a gst-dvm library using part of androidcamera
This commit is contained in:
parent
5d90cc85cb
commit
4a2a73b13f
28
gst-libs/gst/dvm/Makefile.am
Normal file
28
gst-libs/gst/dvm/Makefile.am
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
lib_LTLIBRARIES = libgstdvm-@GST_MAJORMINOR@.la
|
||||||
|
libgstdvmincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/dvm
|
||||||
|
|
||||||
|
libgstdvminclude_HEADERS = \
|
||||||
|
gst-dvm.h
|
||||||
|
|
||||||
|
libgstdvm_@GST_MAJORMINOR@_la_SOURCES = \
|
||||||
|
gst-dvm.c
|
||||||
|
|
||||||
|
libgstdvm_@GST_MAJORMINOR@_la_CFLAGS = \
|
||||||
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
||||||
|
$(GST_CFLAGS)
|
||||||
|
libgstdvm_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
|
||||||
|
libgstdvm_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||||
|
|
||||||
|
Android.mk: $(BUILT_SOURCES) Makefile.am
|
||||||
|
androgenizer -:PROJECT libgstdvm -:STATIC libgstdvm-@GST_MAJORMINOR@ \
|
||||||
|
-:TAGS eng debug \
|
||||||
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
||||||
|
-:SOURCES $(libgstdvm_@GST_MAJORMINOR@_la_SOURCES) \
|
||||||
|
-:CFLAGS $(DEFS) $(libgstdvm_@GST_MAJORMINOR@_la_CFLAGS) \
|
||||||
|
-:LDFLAGS $(libgstdvm_@GST_MAJORMINOR@_la_LDFLAGS) \
|
||||||
|
$(libgstdvm_@GST_MAJORMINOR@_la_LIBADD) \
|
||||||
|
-ldl \
|
||||||
|
-:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/dvm \
|
||||||
|
-:HEADERS $(libgstdvminclude_HEADERS)
|
||||||
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
||||||
|
> $@
|
12
pkgconfig/gstreamer-dvm-uninstalled.pc.in
Normal file
12
pkgconfig/gstreamer-dvm-uninstalled.pc.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
prefix=
|
||||||
|
exec_prefix=
|
||||||
|
libdir=${pcfiledir}/../gst-libs/gst/dvm
|
||||||
|
includedir=${pcfiledir}/../gst-libs
|
||||||
|
|
||||||
|
Name: GStreamer DVM, Uninstalled
|
||||||
|
Description: Dalvik Virtual Machine helpers, Uninstalled
|
||||||
|
Requires: gstreamer-@GST_MAJORMINOR@
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} ${libdir}/libgstdvm-@GST_MAJORMINOR@.la
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
|
12
pkgconfig/gstreamer-dvm.pc.in
Normal file
12
pkgconfig/gstreamer-dvm.pc.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
|
||||||
|
|
||||||
|
Name: GStreamer DVM
|
||||||
|
Description: Dalvik Virtual Machine helpers
|
||||||
|
Requires: gstreamer-@GST_MAJORMINOR@
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lgstdvm-@GST_MAJORMINOR@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
|
@ -2,7 +2,6 @@ plugin_LTLIBRARIES = libgstandroidcamera.la
|
|||||||
|
|
||||||
libgstandroidcamera_la_SOURCES = \
|
libgstandroidcamera_la_SOURCES = \
|
||||||
gst-androidcamera.c \
|
gst-androidcamera.c \
|
||||||
gst-dvm.c \
|
|
||||||
gst-android-hardware-camera.c \
|
gst-android-hardware-camera.c \
|
||||||
gst-android-graphics-surfacetexture.c \
|
gst-android-graphics-surfacetexture.c \
|
||||||
gst-android-graphics-imageformat.c \
|
gst-android-graphics-imageformat.c \
|
||||||
@ -12,7 +11,6 @@ libgstandroidcamera_la_SOURCES = \
|
|||||||
JAVA_SOURCE = com/gstreamer/GstAhcCallback.java
|
JAVA_SOURCE = com/gstreamer/GstAhcCallback.java
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
gst-dvm.h \
|
|
||||||
gstahcsrc.h \
|
gstahcsrc.h \
|
||||||
gstahccallback.h \
|
gstahccallback.h \
|
||||||
gst-android-hardware-camera.h \
|
gst-android-hardware-camera.h \
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gst-dvm.h"
|
#include <gst/dvm/gst-dvm.h>
|
||||||
|
|
||||||
#include "gst-android-graphics-imageformat.h"
|
#include "gst-android-graphics-imageformat.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gst-dvm.h"
|
#include <gst/dvm/gst-dvm.h>
|
||||||
|
|
||||||
#include "gst-android-graphics-surfacetexture.h"
|
#include "gst-android-graphics-surfacetexture.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gst-dvm.h"
|
#include <gst/dvm/gst-dvm.h>
|
||||||
|
|
||||||
#include "gstahccallback.h"
|
#include "gstahccallback.h"
|
||||||
#include "gst-android-hardware-camera.h"
|
#include "gst-android-hardware-camera.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
#include <gst/dvm/gst-dvm.h>
|
||||||
|
|
||||||
#include "gst-dvm.h"
|
|
||||||
#include "gst-android-hardware-camera.h"
|
#include "gst-android-hardware-camera.h"
|
||||||
#include "gstahcsrc.h"
|
#include "gstahcsrc.h"
|
||||||
|
|
||||||
|
@ -73,9 +73,9 @@
|
|||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#include <gst/interfaces/propertyprobe.h>
|
#include <gst/interfaces/propertyprobe.h>
|
||||||
#include <gst/interfaces/photography.h>
|
#include <gst/interfaces/photography.h>
|
||||||
|
#include <gst/dvm/gst-dvm.h>
|
||||||
|
|
||||||
#include "gstahcsrc.h"
|
#include "gstahcsrc.h"
|
||||||
#include "gst-dvm.h"
|
|
||||||
|
|
||||||
/* GObject */
|
/* GObject */
|
||||||
static void gst_ahc_src_set_property (GObject * object, guint prop_id,
|
static void gst_ahc_src_set_property (GObject * object, guint prop_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user