CRIMP
Artifact [6446abe150]
Not logged in

Artifact 6446abe1502e5a38713d3ce4280e3c08fc083f63:


difference_rgba_rgba
Tcl_Obj* imageAObj
Tcl_Obj* imageBObj

/*
 * Pixel- and channel-wise absolute difference of two images. The images have
 * to have equal dimensions.
 */

#define BINOP(a,b) (abs((a) - (b)))
#include "binop_rgba_rgba_rgba.c"
#undef BINOP

/* vim: set sts=4 sw=4 tw=80 et ft=c: */
/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */