summaryrefslogtreecommitdiff
path: root/test/pdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-27Update FSF addressAndrea Canciani7-7/+7
I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
2009-04-01[test-win32] Fix static linking of the test suite.Jeff Muizelaar1-1/+1
Previously, the test suite needed to be dynamically linked to work.
2008-09-22[build] Add Makefile.win32.commonBehdad Esfahbod1-4/+2
2008-09-11Makefile.am cleanupBehdad Esfahbod1-6/+4
Use a common build/Makefile.am.common file.
2008-09-10[test/pdiff] Fix include syntaxBehdad Esfahbod1-1/+1
2008-09-10[test] Typo in Makefile.amChris Wilson2-2/+2
s/AC_CPPFLAGS/AM_CPPFLAGS/g
2008-09-10[test/pdiff/Makefile.am] Another automake warning fixBehdad Esfahbod1-1/+1
2008-09-02Revamp the build system.Behdad Esfahbod1-0/+2
Quick summary of changes: - Move list of cairo source files out of src/Makefile.am and into src/Sources.mk, - Generate files src/Config.mk and src/Config.mk.win32 that choose the right set of source files and headers based on configured backends and features. This drastically simplifies building using other build systems. The src/Makefile.win32 file needs to be updated to reflect these changes. - Add README files to various directories, - Add toplevel HACKING file.
2008-08-26[pdiff] Get the surface data pointer once.Chris Wilson1-22/+16
Don't call cairo_image_surface_get_data() for every single component of the two surfaces to compare.
2008-08-17[Makefile.am] Delete intermediatesChris Wilson1-0/+4
Clean up after calling 'gcc -save-temps'.
2008-02-06Some fixes and improvements to the Win32 buildAzar@.(none)1-0/+3
2007-12-20[pdiff] Avoid the memleak for small surfaces.Chris Wilson1-13/+27
Allocate the arrays after the guard against small surfaces to avoid leaking them.
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-10-16[pdiff] Check for too small images.Chris Wilson1-0/+3
The Laplacian pyramid can only work on images larger than 3x3 due to the size of its convolution kernel. So if the image is too small return an error (-1) before attempting to construction the pyramid.
2007-08-28[win32] Update win32 MakefilesVladimir Vukicevic1-0/+18
Happy building with msys, one location for CFLAGS/etc changes (toplevel), new pdiff makefile.
2007-04-11[pdiff] Ship gpl.txtBehdad Esfahbod1-0/+1
2007-04-03[pdiff] Make stdint.h inclusion portable (#10441)Behdad Esfahbod1-1/+36
by copying magic bits from cairo-wideint-private.h.
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-04[test/pdiff] Fix build problem with certain flavors of makeMathias Hasselmann1-1/+1
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-17[pdiff] Define _GNU_SOURCE to get correct symbols out of <math.h>Behdad Esfahbod1-0/+2
math.h does not define __USE_ISOC99 otherwise.
2006-12-17[pdiff] Don't use float math functions if not using gcc with C99Behdad Esfahbod1-0/+8
The float version of many math functions were introduced in C99, and were causing compile failure on systems like OS X. We now define them to their double variant if __USE_ISOC99 is not defined. We may want to expand it later to cover non-gcc compilers too, but since this is pdiff only, it's not really important.
2006-12-16[pdiff] Use CAIRO_CFLAGS, to make sure warnings are enabledBehdad Esfahbod1-1/+1
2006-12-16[pdiff] Fix compiler warnings, that were causing crashesBehdad Esfahbod1-1/+4
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 Worth8-153/+54
The only things we had missed were a few new/delete pairs, and some obvious header file fixups, (like not doing <string>).
2006-12-14pdiff: Replace CompareArgs class with args_t structCarl Worth5-32/+160
This gets rid of nearly the last vestiges of C++ from the pdiff code.
2006-12-14pdiff: Fix return value from perceptualdiff programCarl Worth1-2/+1
2006-12-14pdiff: Remove all uses of std::stringCarl Worth3-29/+14
2006-12-14pdiff: Remove RGBAImage classes now that we're just using cairo image surfacesCarl Worth8-271/+69
2006-12-14pdiff: Remove hideous C++ reference passingCarl Worth1-13/+13
2006-12-14pdiff: Remove intermingled statements and declarationsCarl Worth1-30/+44
2006-12-14pdiff: Add .gitignore for perceptualdiff binaryCarl Worth1-0/+1
2006-12-14pdiff: Remove old, unused Yee_Compare interfaceCarl Worth2-36/+22
2006-12-14pdiff: Rewrite main program to use cairo-based pdiff_compare interfaceCarl Worth6-78/+65
2006-12-14pdiff: Rip out unused ImgDiff code, (dropping -output option)Carl Worth5-35/+2
2006-12-14pdiff: Move function that depends on command-line argument class to same ↵Carl Worth4-64/+62
file as main
2006-12-14pdiff: Rewrite Laplacian pyramid code from C++ to CCarl Worth6-117/+137
2006-12-14pdiff: Convert C++-style comments to good old-fashioned C-style commentsCarl Worth8-36/+39
2006-12-14pdiff: Delete all trailing whitespace.Carl Worth8-40/+40
2006-12-14pdiff: Re-indent all codeCarl Worth9-593/+593
I've given up on trying to preserve the old code formatting for compatibility. We're not planning on augmenting the algorithm itself, just integrating it into cairo. So I don't expect to make changes that we'll be all that interested in pushing upstream.
2006-12-14pdiff: Fix line endingsCarl Worth2-125/+125
2006-12-14pdiff: Compile pdiff algorithm as a libtool convenience libraryCarl Worth4-6/+66
The convenience library provides a pdiff_compare function with a cairo interface into the perceptual diff algorithm.
2006-12-14pdiff: Teach pdiff code to accept cairo image surfacesCarl Worth4-36/+79
This is a second small step in enabling cairo's test suite and the pdiff code to start working together.
2006-12-12pdiff: Factor out a comparison function that doesn't read the 'args' structureCarl Worth1-40/+72
This is one small step in "libifying" pdiff which will make it easier to share this code inside cairo's test suite.
2006-11-29pdiff: Add missing newlins at end of files.Carl Worth6-6/+5
2006-11-29Hook up Makefiles for perceptualdiff.Carl Worth1-0/+14
2006-11-29Remove all libtiff-related code by #ifdefCarl Worth2-0/+11
2006-11-29Use uint32_t instead of the non-standard uint32Carl Worth1-3/+3
2006-11-29Add perceptualdiff program totest/pdiff.Carl Worth12-0/+1323
The perceptualdiff program was written by Hector Yee with contributions from Scott Corley and Mick Weiss. It is hosted at http://pdiff.sourceforge.net The source code added here was obtained by: svn co https://svn.sourceforge.net/svnroot/pdiff/trunk pdiff which gave revision 22 of the source code. The perceptualdiff program is available under the terms of the GNU GPL, so I've added a note to COPYING about this program, (and the fact that it is auxiliary only, and does not affect the license of the implementation of cairo itself).