gstreamer/tests/examples
Jan Schmidt 6f363cd89b Do some optimisation work in GstAdapter to avoid copies in more cases.
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.
2006-11-09 14:37:38 +00:00
..
controller moap ignore 2006-07-02 22:20:20 +00:00
helloworld moap ignore 2006-07-02 22:20:20 +00:00
launch moap ignore 2006-07-02 22:20:20 +00:00
manual tests/examples/manual/.cvsignore: OK, so it's actually cvsignore that needs changing. Stop laughing. 2006-09-28 15:52:04 +00:00
metadata moap ignore 2006-07-02 22:20:20 +00:00
queue moap ignore 2006-07-02 22:20:20 +00:00
typefind tests/examples/typefind/typefind.c: Make typefind element example work again (#371894); add a license header. 2006-11-08 02:03:48 +00:00
xml moap ignore 2006-07-02 22:20:20 +00:00
Makefile.am Do some optimisation work in GstAdapter to avoid copies in more cases. 2006-11-09 14:37:38 +00:00