2012-04-04 11:13:52 +00:00
|
|
|
lib_LTLIBRARIES = libgstcontroller-@GST_API_VERSION@.la
|
2005-08-02 21:35:34 +00:00
|
|
|
|
2017-04-09 09:02:43 +00:00
|
|
|
glib_enum_headers= \
|
|
|
|
gstinterpolationcontrolsource.h \
|
|
|
|
gstlfocontrolsource.h
|
|
|
|
|
|
|
|
glib_enum_define = GST_CONTROLLER
|
|
|
|
glib_gen_prefix = gst
|
|
|
|
glib_gen_basename = controller
|
2018-03-12 23:03:26 +00:00
|
|
|
glib_gen_decl_banner=GST_CONTROLLER_API
|
|
|
|
glib_gen_decl_include=\#include <gst/controller/controller-prelude.h>
|
2017-04-09 09:02:43 +00:00
|
|
|
|
|
|
|
built_sources = controller-enumtypes.c
|
|
|
|
built_headers = controller-enumtypes.h
|
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
libgstcontroller_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/controller
|
|
|
|
libgstcontroller_@GST_API_VERSION@_include_HEADERS = \
|
2012-12-12 16:44:14 +00:00
|
|
|
controller.h \
|
2018-03-12 23:03:26 +00:00
|
|
|
controller-prelude.h \
|
2012-01-30 18:17:00 +00:00
|
|
|
gstargbcontrolbinding.h \
|
|
|
|
gstdirectcontrolbinding.h \
|
2011-12-19 10:13:45 +00:00
|
|
|
gsttimedvaluecontrolsource.h \
|
libs/gst/controller/: API: Add GstLFOControlSource, a control source that gives values for specific timestamps based ...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
(gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
(gst_lfo_control_source_new),
(gst_lfo_control_source_set_waveform),
(gst_lfo_control_source_bind), (gst_lfo_control_source_init),
(gst_lfo_control_source_finalize),
(gst_lfo_control_source_dispose),
(gst_lfo_control_source_set_property),
(gst_lfo_control_source_get_property),
(gst_lfo_control_source_class_init):
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/controller/gstlfocontrolsourceprivate.h:
API: Add GstLFOControlSource, a control source that gives values
for specific timestamps based on several periodic waveforms.
Fixes #459717.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add documentation and unit tests for GstLFOControlSource.
2007-08-03 15:47:17 +00:00
|
|
|
gstinterpolationcontrolsource.h \
|
2016-11-18 02:09:21 +00:00
|
|
|
gstproxycontrolbinding.h \
|
2011-12-19 10:13:45 +00:00
|
|
|
gsttriggercontrolsource.h \
|
libs/gst/controller/: API: Add GstLFOControlSource, a control source that gives values for specific timestamps based ...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
(gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
(gst_lfo_control_source_new),
(gst_lfo_control_source_set_waveform),
(gst_lfo_control_source_bind), (gst_lfo_control_source_init),
(gst_lfo_control_source_finalize),
(gst_lfo_control_source_dispose),
(gst_lfo_control_source_set_property),
(gst_lfo_control_source_get_property),
(gst_lfo_control_source_class_init):
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/controller/gstlfocontrolsourceprivate.h:
API: Add GstLFOControlSource, a control source that gives values
for specific timestamps based on several periodic waveforms.
Fixes #459717.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add documentation and unit tests for GstLFOControlSource.
2007-08-03 15:47:17 +00:00
|
|
|
gstlfocontrolsource.h
|
libs/gst/controller/: API: Refactor GstController into the core controller which can take a GstControlSource for prov...
Original commit message from CVS:
Reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_add_interpolation_control_source),
(gst_controlled_property_new), (gst_controlled_property_free),
(gst_controller_find_controlled_property),
(gst_controller_new_valist), (gst_controller_new_list),
(gst_controller_new), (gst_controller_remove_properties_valist),
(gst_controller_remove_properties_list),
(gst_controller_remove_properties),
(gst_controller_set_property_disabled),
(gst_controller_set_disabled), (gst_controller_set_control_source),
(gst_controller_get_control_source), (gst_controller_get),
(gst_controller_sync_values), (gst_controller_get_value_array),
(_gst_controller_dispose), (gst_controller_get_type),
(gst_controlled_property_set_interpolation_mode),
(gst_controller_set), (gst_controller_set_from_list),
(gst_controller_unset), (gst_controller_unset_all),
(gst_controller_get_all), (gst_controller_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstcontrolsource.c:
(gst_control_source_class_init), (gst_control_source_init),
(gst_control_source_get_value),
(gst_control_source_get_value_array), (gst_control_source_bind):
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
(gst_object_get_control_source):
* libs/gst/controller/gstinterpolation.c:
(gst_interpolation_control_source_find_control_point_node),
(gst_interpolation_control_source_get_first_value),
(_interpolate_none_get), (interpolate_none_get),
(interpolate_none_get_boolean_value_array),
(interpolate_none_get_enum_value_array),
(interpolate_none_get_string_value_array),
(_interpolate_trigger_get), (interpolate_trigger_get),
(interpolate_trigger_get_boolean_value_array),
(interpolate_trigger_get_enum_value_array),
(interpolate_trigger_get_string_value_array):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_control_point_free), (gst_interpolation_control_source_reset),
(gst_interpolation_control_source_new),
(gst_interpolation_control_source_set_interpolation_mode),
(gst_interpolation_control_source_bind),
(gst_control_point_compare), (gst_control_point_find),
(gst_interpolation_control_source_set_internal),
(gst_interpolation_control_source_set),
(gst_interpolation_control_source_set_from_list),
(gst_interpolation_control_source_unset),
(gst_interpolation_control_source_unset_all),
(gst_interpolation_control_source_get_all),
(gst_interpolation_control_source_get_count),
(gst_interpolation_control_source_init),
(gst_interpolation_control_source_finalize),
(gst_interpolation_control_source_dispose),
(gst_interpolation_control_source_class_init):
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
API: Refactor GstController into the core controller which can take
a GstControlSource for providing actual values for timestamps.
Implement a interpolation control source and use this for backward
compatibility, deprecate a bunch of functions that are now handled
by GstControlSource or GstInterpolationControlSource.
Make it possible to disable the controller completely or only for
specific properties. Fixes #450711.
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add new functions and classes to the docs.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* tests/examples/controller/audio-example.c: (main):
Port unit test and example to the new API and add some new
unit tests.
2007-07-06 21:50:02 +00:00
|
|
|
|
2017-04-09 09:02:43 +00:00
|
|
|
nodist_libgstcontroller_@GST_API_VERSION@_include_HEADERS = \
|
|
|
|
controller-enumtypes.h
|
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
libgstcontroller_@GST_API_VERSION@_la_SOURCES = \
|
2012-01-30 18:17:00 +00:00
|
|
|
gstargbcontrolbinding.c \
|
|
|
|
gstdirectcontrolbinding.c \
|
2011-12-19 10:13:45 +00:00
|
|
|
gsttimedvaluecontrolsource.c \
|
libs/gst/controller/: API: Add GstLFOControlSource, a control source that gives values for specific timestamps based ...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
(gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
(gst_lfo_control_source_new),
(gst_lfo_control_source_set_waveform),
(gst_lfo_control_source_bind), (gst_lfo_control_source_init),
(gst_lfo_control_source_finalize),
(gst_lfo_control_source_dispose),
(gst_lfo_control_source_set_property),
(gst_lfo_control_source_get_property),
(gst_lfo_control_source_class_init):
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/controller/gstlfocontrolsourceprivate.h:
API: Add GstLFOControlSource, a control source that gives values
for specific timestamps based on several periodic waveforms.
Fixes #459717.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add documentation and unit tests for GstLFOControlSource.
2007-08-03 15:47:17 +00:00
|
|
|
gstinterpolationcontrolsource.c \
|
2016-11-18 02:09:21 +00:00
|
|
|
gstproxycontrolbinding.c \
|
2011-12-19 10:13:45 +00:00
|
|
|
gsttriggercontrolsource.c \
|
libs/gst/controller/: API: Add GstLFOControlSource, a control source that gives values for specific timestamps based ...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
(gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
(gst_lfo_control_source_new),
(gst_lfo_control_source_set_waveform),
(gst_lfo_control_source_bind), (gst_lfo_control_source_init),
(gst_lfo_control_source_finalize),
(gst_lfo_control_source_dispose),
(gst_lfo_control_source_set_property),
(gst_lfo_control_source_get_property),
(gst_lfo_control_source_class_init):
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/controller/gstlfocontrolsourceprivate.h:
API: Add GstLFOControlSource, a control source that gives values
for specific timestamps based on several periodic waveforms.
Fixes #459717.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add documentation and unit tests for GstLFOControlSource.
2007-08-03 15:47:17 +00:00
|
|
|
gstlfocontrolsource.c
|
2005-08-02 21:35:34 +00:00
|
|
|
|
2017-04-09 09:02:43 +00:00
|
|
|
nodist_libgstcontroller_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
|
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
libgstcontroller_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
libgstcontroller_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) $(LIBM)
|
|
|
|
libgstcontroller_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2006-07-01 23:26:06 +00:00
|
|
|
|
2017-04-09 09:02:43 +00:00
|
|
|
CLEANFILES = *.gcno *.gcda *.gcov $(BUILT_SOURCES)
|
2006-07-01 23:26:06 +00:00
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
%.c.gcov: .libs/libgstcontroller_@GST_API_VERSION@_la-%.gcda %.c
|
2006-07-01 23:26:06 +00:00
|
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
gcov: $(libgstcontroller_@GST_API_VERSION@_la_SOURCES:=.gcov)
|
2009-09-05 07:28:48 +00:00
|
|
|
|
2017-04-09 09:02:43 +00:00
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
|
|
|
|
2009-09-05 07:28:48 +00:00
|
|
|
if HAVE_INTROSPECTION
|
2012-04-04 11:13:52 +00:00
|
|
|
BUILT_GIRSOURCES = GstController-@GST_API_VERSION@.gir
|
2009-09-05 07:28:48 +00:00
|
|
|
|
2017-04-10 11:26:42 +00:00
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_include_HEADERS))
|
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstcontroller_@GST_API_VERSION@_include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcontroller_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstcontroller_@GST_API_VERSION@_la_SOURCES))
|
2009-09-05 07:28:48 +00:00
|
|
|
|
2012-04-04 11:13:52 +00:00
|
|
|
GstController-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@GST_API_VERSION@.la
|
2015-03-31 09:15:10 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
2017-04-29 10:30:54 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \
|
2016-05-23 23:40:27 +00:00
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
2009-09-12 11:52:00 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstController \
|
2012-04-04 11:13:52 +00:00
|
|
|
--nsversion=@GST_API_VERSION@ \
|
2011-11-10 12:50:23 +00:00
|
|
|
--warn-all \
|
2015-12-02 23:02:25 +00:00
|
|
|
--identifier-prefix=Gst \
|
|
|
|
--symbol-prefix=gst \
|
2009-09-05 07:28:48 +00:00
|
|
|
-I$(top_srcdir) \
|
2011-01-12 10:17:05 +00:00
|
|
|
-I$(top_srcdir)/libs \
|
2010-12-11 09:10:04 +00:00
|
|
|
-I$(top_builddir) \
|
2011-01-12 10:17:05 +00:00
|
|
|
-I$(top_builddir)/libs \
|
2012-12-12 16:44:14 +00:00
|
|
|
--c-include "gst/controller/controller.h" \
|
2009-09-05 10:04:59 +00:00
|
|
|
--add-include-path=$(top_builddir)/gst \
|
2011-01-11 13:47:38 +00:00
|
|
|
--library-path=$(top_builddir)/gst \
|
2012-10-29 13:26:10 +00:00
|
|
|
--library=libgstcontroller-@GST_API_VERSION@.la \
|
2012-04-04 11:13:52 +00:00
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
2014-04-09 14:44:07 +00:00
|
|
|
--libtool="${LIBTOOL}" \
|
2012-04-04 11:13:52 +00:00
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
|
|
--pkg-export gstreamer-controller-@GST_API_VERSION@ \
|
2015-06-16 22:08:24 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2009-09-05 07:28:48 +00:00
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2010-02-26 15:03:47 +00:00
|
|
|
$(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=$(top_builddir)/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 07:28:48 +00:00
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|