mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
6f363cd89b
Original commit message from CVS: * Makefile.am: * configure.ac: * libs/gst/base/gstadapter.c: (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek), (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer): * libs/gst/base/gstadapter.h: * tests/check/libs/adapter.c: (create_and_fill_adapter), (GST_START_TEST), (gst_adapter_suite): * tests/examples/Makefile.am: Do some optimisation work in GstAdapter to avoid copies in more cases. It could still do slightly better by merging buffers when gst_buffer_is_span_fast is true, but is already faster. Also, avoid traversing a single-linked list to append each incoming buffer inside the adapter. Add simple test app that times the adapter behaviour in different situations, and extend the unit test to check that bytes enter and exit the adapter in their original order.
42 lines
563 B
Makefile
42 lines
563 B
Makefile
if GST_DISABLE_LOADSAVE
|
|
GST_LOADSAVE_DIRS =
|
|
else
|
|
GST_LOADSAVE_DIRS = xml typefind
|
|
endif
|
|
|
|
if GST_DISABLE_PARSE
|
|
GST_PARSE_DIRS =
|
|
else
|
|
GST_PARSE_DIRS = launch
|
|
endif
|
|
|
|
always_dirs = \
|
|
controller \
|
|
helloworld \
|
|
manual \
|
|
metadata \
|
|
queue \
|
|
adapter
|
|
|
|
#appreader
|
|
#cutter
|
|
#events
|
|
#helloworld2
|
|
#launch
|
|
#manual
|
|
#mixer
|
|
#pingpong
|
|
#plugins
|
|
#pwg
|
|
#queue2
|
|
#queue3
|
|
#queue4
|
|
#retag
|
|
#thread
|
|
|
|
SUBDIRS = \
|
|
$(always_dirs) \
|
|
$(GST_PARSE_DIRS) \
|
|
$(GST_LOADSAVE_DIRS)
|
|
|
|
DIST_SUBDIRS = $(always_dirs) xml typefind launch
|