Home | History | Annotate | Download | only in test

Lines Matching defs:WIDTH

5 #define WIDTH 400
16 alpha = make_random_bytes (WIDTH * HEIGHT);
17 src = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);
18 dest = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);
20 pixman_image_t *a = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, (uint32_t *)alpha, WIDTH);
21 pixman_image_t *d = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);
22 pixman_image_t *s = pixman_image_create_bits (PIXMAN_a2r10g10b10, WIDTH, HEIGHT, src, WIDTH * 4);
29 pixman_image_composite (PIXMAN_OP_SRC, s, NULL, d, 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);