blob: 2f93366e3fded5072d44957249b00ba39de156c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
plugin_LTLIBRARIES = libgstopenmax.la
VIDEO_BASE_CLASSES_C = \
video/video.c \
video/gstvideodecoder.c \
video/gstvideoencoder.c \
video/gstvideoutils.c
VIDEO_BASE_CLASSES_H = \
video/video.h \
video/gstvideodecoder.h \
video/gstvideoencoder.h \
video/gstvideoutils.h
libgstopenmax_la_SOURCES = \
gstomx.c \
gstomxvideodec.c \
gstomxvideoenc.c \
gstomxaudioenc.c \
gstomxmpeg4videodec.c \
gstomxmpeg2dec.c \
gstomxh264dec.c \
gstomxh263dec.c \
gstomxwmvdec.c \
gstomxmpeg4videoenc.c \
gstomxh264enc.c \
gstomxh263enc.c \
gstomxaacenc.c
if USE_LOCAL_VIDEO_BASE_CLASSES
libgstopenmax_la_SOURCES += $(VIDEO_BASE_CLASSES_C)
endif
noinst_HEADERS = \
gstomx.h \
gstomxvideodec.h \
gstomxvideoenc.h \
gstomxaudioenc.h \
gstomxmpeg2dec.h \
gstomxmpeg4videodec.h \
gstomxh264dec.h \
gstomxh263dec.h \
gstomxwmvdec.h \
gstomxmpeg4videoenc.h \
gstomxh264enc.h \
gstomxh263enc.h \
gstomxaacenc.h
$(VIDEO_BASE_CLASSES_H)
if !HAVE_EXTERNAL_OMX
OMX_INCLUDEPATH = -I$(abs_srcdir)/openmax
endif
libgstopenmax_la_CFLAGS = \
-DGST_USE_UNSTABLE_API=1 \
$(OMX_INCLUDEPATH) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS)
libgstopenmax_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-@GST_MAJORMINOR@ \
-lgstpbutils-@GST_MAJORMINOR@ \
-lgstvideo-@GST_MAJORMINOR@ \
$(GST_BASE_LIBS) \
$(GST_LIBS)
libgstopenmax_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
EXTRA_DIST = openmax
Android.mk: Makefile.am $(BUILT_SOURCES)
androgenizer \
-:PROJECT libgstopenmax -:SHARED libgstopenmax \
-:TAGS eng debug \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:SOURCES $(libgstopenmax_la_SOURCES) \
$(nodist_libgstopenmax_la_SOURCES) \
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstopenmax_la_CFLAGS) \
-:LDFLAGS $(libgstopenmax_la_LDFLAGS) \
$(libgstopenmax_la_LIBADD) \
-ldl \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-$(GST_API_VERSION)' \
> $@
|