ffmpeg/tests/checkasm
Henrik Gramner 2ab65b652d checkasm: Use a self-balancing tree
Tested functions are internally kept in a binary search tree for efficient
lookups. The downside of the current implementation is that the tree quickly
becomes unbalanced which causes an unneccessary amount of comparisons between
nodes. Improve this by changing the tree into a self-balancing left-leaning
red-black tree with a worst case lookup/insertion time complexity of O(log n).

Significantly reduces the recursion depth and makes the tests run around 10%
faster overall. The relative performance improvement compared to the existing
non-balanced tree will also most likely increase as more tests are added.
2015-09-26 15:11:11 +02:00
..
x86 checkasm: Fix floating point arguments on 64-bit Windows 2015-08-28 09:54:54 +02:00
Makefile checkasm: add jpeg2000dsp rct_int tests 2015-09-20 00:49:35 -03:00
bswapdsp.c checkasm: Explicitly declare function prototypes 2015-08-20 19:22:34 +02:00
checkasm.c checkasm: Use a self-balancing tree 2015-09-26 15:11:11 +02:00
checkasm.h checkasm: add jpeg2000dsp rct_int tests 2015-09-20 00:49:35 -03:00
flacdsp.c checkasm: add flacdsp decorrelate tests 2015-09-17 15:33:07 -03:00
h264pred.c checkasm: Explicitly declare function prototypes 2015-08-20 19:22:34 +02:00
h264qpel.c checkasm: Explicitly declare function prototypes 2015-08-20 19:22:34 +02:00
jpeg2000dsp.c checkasm: add jpeg2000dsp rct_int tests 2015-09-20 00:49:35 -03:00
v210enc.c checkasm: v210: Fix array overwrite 2015-09-16 13:50:09 +02:00
vp9dsp.c checkasm: clip vp9 loopfilter test pixels inside allowed bitdepth range. 2015-09-26 06:42:33 -04:00