summaryrefslogtreecommitdiff
path: root/test/pdiff/lpyramid.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-16[pdiff] Reorganise the inner loops of the convolution.Chris Wilson1-12/+15
Reorder the indices and introduce a couple of temporary accumulators to improve cache access.
2007-03-12Correct an off-by-one in the reflection of the convolution index.Chris Wilson1-2/+2
Currently the convolution code uses the formula 2*(N-1)-n to reflect the index n when n is greater than or equal to N. This is wrong as n=N -> 2*(N-1)-N = N-2 instead of N-1. Furthermore when the image is small, e.g. at the highest levels of the pyramid, this causes the code to index before the start of the array and causes valgrind to issue a warning.
2007-03-02Fix leak in pdiff lpyramidCarl Worth1-0/+2
This was a leak in the test suite only, (and then only when tests failed).
2006-12-14pdiff: Remove casts since we're out of the land of X++ where void* is ↵Carl Worth1-4/+2
stupidly broken
2006-12-14pdiff: Rename everything to .c and fix an last littele C++ isms.Carl Worth1-0/+113
The only things we had missed were a few new/delete pairs, and some obvious header file fixups, (like not doing <string>).