#include "test-common.h" #define BPP 16 gint main (gint argc, gchar **argv) { GeglBuffer *buffer; GeglRectangle bound = {0, 0, 4024, 4024}; const Babl *format; gchar *buf; gint i; gegl_init (NULL, NULL); format = babl_format ("RGBA float"); buffer = gegl_buffer_new (&bound, format); buf = g_malloc0 (bound.width * bound.height * BPP); #define ITERATIONS 4 /* pre-initialize */ gegl_buffer_set (buffer, &bound, 0, NULL, buf, GEGL_AUTO_ROWSTRIDE); test_start (); for (i=0;i