gstreamer/tests/check/gst
Sebastian Dröge 6e57ce32e5 caps: Merge structures when intersecting instead of appending them
This prevents adding duplicates over and over again to the resulting
caps if they already describe the new intersection result.

While this changes intersection from O(n*m) to O(n^2*m), it results in
smaller caps, which in the end will decrease further processing times.

For example in an audioconvert ! audioconvert ! audioconvert pipeline,
when forwarding the downstream caps preference in basetransform
(see e26da72de25a91c3eaad9f7c8b2f53ba888a0394) this results in
16 instead of 191 caps structures.
2011-05-14 11:39:34 +02:00
..
.gitignore tests: start a new test suite for element factories 2011-03-08 12:29:28 +02:00
capslist.h tests: Add a couple of extra caps strings to test 2010-08-28 17:05:29 +10:00
gst.c checks: run tests calling gst_deinit() last so things work with CK_FORK=no 2010-07-03 14:11:38 +01:00
gstabi.c tests: refix the tests (missing #endif) 2011-02-24 16:20:01 +02:00
gstbin.c tests: clean up properly in the bin test_link_structure_change unit test 2011-04-24 11:48:21 +01:00
gstbuffer.c tests/check/: Use HAVE_VALGRIND_H some more. 2008-06-20 21:08:47 +00:00
gstbufferlist.c bufferlist: Use a GQueue instead of a GList 2011-03-11 14:31:14 +01:00
gstbus.c check: fix a leak in the bus unit test 2011-02-16 17:56:38 +01:00
gstcaps.c caps: Merge structures when intersecting instead of appending them 2011-05-14 11:39:34 +02:00
gstchildproxy.c checks: Fix string leaks in the new childproxy test 2009-10-08 02:20:51 +01:00
gstclock.c clock: use the new gst_clock_id_wait_async_full. 2010-07-06 10:46:42 +02:00
gstcpp.cc tests: rebuild one test using cpp 2010-09-22 10:22:40 +03:00
gstdatetime.c gstdatetime: Fix handling of timezones 2010-12-02 16:28:43 -03:00
gstelement.c tests: start a new test suite for element factories 2011-03-08 12:29:28 +02:00
gstelementfactory.c test: add tests for new element_factory api. 2011-03-09 15:28:06 +02:00
gstevent.c event: add QoS event type 2011-02-10 15:21:45 +01:00
gstghostpad.c Revert "gstpad: Return pad template in get_caps if pad is not negotiable" 2010-06-15 11:54:19 +02:00
gstindex.c gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). 2008-03-17 10:21:59 +00:00
gstinfo.c API: add FIXME and DUMPMEM log levels and convenience macros 2009-04-08 21:32:05 +01:00
gstinterface.c gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn... 2008-02-29 18:38:54 +00:00
gstiterator.c check: Attempt to fix type-punning warning in the gstiterator test 2009-10-07 16:36:31 +01:00
gstmessage.c check: add progress message unit test 2011-02-15 18:55:22 +01:00
gstminiobject.c tests: fix compiler warning in new miniobject test 2011-05-04 15:30:41 +01:00
gstobject.c tests: make *_get_type() in tests thread safe 2010-07-21 21:08:32 +01:00
gstpad.c tests: Remove checks for deprecated flow check macros 2010-08-28 17:51:14 +10:00
gstparamspecs.c Make code safe for -Wredundant-decls 2010-03-10 20:45:33 +01:00
gstpipeline.c tests: add simple pipeline-in-pipeline unit test 2011-04-21 12:33:10 +01:00
gstplugin.c plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE_DATETIME is defined 2010-07-23 17:00:56 +01:00
gstpoll.c win32: Fix build failures of tests 2010-03-11 21:02:45 +01:00
gstpreset.c tests: make *_get_type() in tests thread safe 2010-07-21 21:08:32 +01:00
gstquery.c gstquery: new buffering_ranges API 2010-09-03 19:55:25 +02:00
gstregistry.c Re-enable and fix disabled bit of the registry test 2009-10-06 19:51:44 +01:00
gstsegment.c gstsegment: Actually start==stop==segment_start is inside the segment 2009-08-11 13:21:35 +02:00
gststructure.c structure: add mapping for (uint) to allow deserialisation of unsigned integers 2010-03-23 19:23:22 +00:00
gstsystemclock.c clock: use the new gst_clock_id_wait_async_full. 2010-07-06 10:46:42 +02:00
gsttag.c checks: add unit test for recent taglist merge_strings_with_comma fix 2010-07-11 19:00:54 +01:00
gsttagsetter.c checks: rewrite gsttagsetter test to use fewer g_usleep() 2010-07-06 11:16:17 +01:00
gsttask.c tests: make sure the tasks are joined 2009-07-20 18:03:21 +02:00
gsturi.c tests/check/gst/gsturi.c: Also check for the other file URI variant on win32. 2007-09-12 16:35:48 +00:00
gstutils.c tests: Add test for greatest common divisor 2011-04-13 10:31:03 -07:00
gstvalue.c tests: fix unusued-but-assigned-variable warnings with gcc 4.6 2011-04-11 15:08:30 +01:00
gstxml.c Remove executable bits on xml unit test. 2009-10-20 12:21:41 -07:00
struct_arm.h tests: add abi check data for ARM 2011-02-24 15:03:03 +02:00
struct_hppa.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_i386.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_ppc32.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_ppc64.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_sparc.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_x86_64.h gstabi: Add some new structures for x86-64 2011-03-31 10:53:03 +02:00