mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
b3eb4d897d
Provides omxanalogaudiosink and omxhdmiaudiosink elements on the Raspberry PI. - omxanalogaudiosink is capable to render raw mono or stereo audio through the jack output. - omxhdmiaudiosink is capable to render raw audio up to 8 channels and transmit ac3/dts(IEC 61937) through the HDMI output. - sinks provide a clock derived from rendered samples - sinks support the GstStreamVolume interface by implementing the volume and mute properties. https://bugzilla.gnome.org/show_bug.cgi?id=728962
99 lines
2.2 KiB
Makefile
99 lines
2.2 KiB
Makefile
plugin_LTLIBRARIES = libgstomx.la
|
|
|
|
if HAVE_VP8
|
|
VP8_C_FILES=gstomxvp8dec.c
|
|
VP8_H_FILES=gstomxvp8dec.h
|
|
endif
|
|
|
|
if HAVE_THEORA
|
|
THEORA_C_FILES=gstomxtheoradec.c
|
|
THEORA_H_FILES=gstomxtheoradec.h
|
|
endif
|
|
|
|
libgstomx_la_SOURCES = \
|
|
gstomx.c \
|
|
gstomxbufferpool.c \
|
|
gstomxvideo.c \
|
|
gstomxvideodec.c \
|
|
gstomxvideoenc.c \
|
|
gstomxaudioenc.c \
|
|
gstomxmjpegdec.c \
|
|
gstomxmpeg4videodec.c \
|
|
gstomxmpeg2videodec.c \
|
|
gstomxh264dec.c \
|
|
gstomxh263dec.c \
|
|
gstomxwmvdec.c \
|
|
$(VP8_C_FILES) \
|
|
$(THEORA_C_FILES) \
|
|
gstomxmpeg4videoenc.c \
|
|
gstomxh264enc.c \
|
|
gstomxh263enc.c \
|
|
gstomxaacenc.c \
|
|
gstomxaudiosink.c \
|
|
gstomxanalogaudiosink.c \
|
|
gstomxhdmiaudiosink.c
|
|
|
|
noinst_HEADERS = \
|
|
gstomx.h \
|
|
gstomxvideo.h \
|
|
gstomxvideodec.h \
|
|
gstomxvideoenc.h \
|
|
gstomxaudioenc.h \
|
|
gstomxmjpegdec.h \
|
|
gstomxmpeg2videodec.h \
|
|
gstomxmpeg4videodec.h \
|
|
gstomxh264dec.h \
|
|
gstomxh263dec.h \
|
|
gstomxwmvdec.h \
|
|
$(VP8_H_FILES) \
|
|
$(THEORA_H_FILES) \
|
|
gstomxmpeg4videoenc.h \
|
|
gstomxh264enc.h \
|
|
gstomxh263enc.h \
|
|
gstomxaacenc.h \
|
|
gstomxaudiosink.h \
|
|
gstomxanalogaudiosink.h \
|
|
gstomxhdmiaudiosink.h
|
|
|
|
if !HAVE_EXTERNAL_OMX
|
|
OMX_INCLUDEPATH = -I$(abs_srcdir)/openmax
|
|
endif
|
|
|
|
libgstomx_la_CFLAGS = \
|
|
-DGST_USE_UNSTABLE_API=1 \
|
|
$(OMX_INCLUDEPATH) \
|
|
$(GST_GL_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS)
|
|
libgstomx_la_LIBADD = \
|
|
$(GST_GL_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstaudio-@GST_API_VERSION@ \
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
-lgstvideo-@GST_API_VERSION@ \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS)
|
|
libgstomx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
EXTRA_DIST = \
|
|
openmax \
|
|
gstomxvp8dec.c \
|
|
gstomxvp8dec.h \
|
|
gstomxtheoradec.c \
|
|
gstomxtheoradec.h
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
androgenizer \
|
|
-:PROJECT libgstomx -:SHARED libgstomx \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-:SOURCES $(libgstomx_la_SOURCES) \
|
|
$(nodist_libgstomx_la_SOURCES) \
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstomx_la_CFLAGS) \
|
|
-:LDFLAGS $(libgstomx_la_LDFLAGS) \
|
|
$(libgstomx_la_LIBADD) \
|
|
-ldl \
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-$(GST_API_VERSION)' \
|
|
> $@
|