gstreamer/tests/check/libs
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
..
.gitignore moap ignore 2006-07-02 22:20:20 +00:00
adapter.c Do some optimisation work in GstAdapter to avoid copies in more cases. 2006-11-09 14:37:38 +00:00
basesrc.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
collectpads.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
controller.c libs/gst/controller/gstcontroller.c: Fix refcounting here too, just like we did for _new_valist() a few days ago (#35... 2006-10-11 09:13:26 +00:00
gdp.c GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th... 2006-08-11 15:26:33 +00:00
gstnetclientclock.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstnettimeprovider.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
libsabi.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
struct_i386.h libs/gst/check/gstcheck.*: factor out the method from tests that checks size of structures, and add code to generate ... 2006-06-06 13:48:20 +00:00
struct_ppc64.h tests/check/: add ppc64 structure sizes 2006-06-06 14:10:09 +00:00
struct_x86_64.h tests/check/: generate and add structure size lists for x86_64 2006-06-06 13:59:10 +00:00
typefindhelper.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00