/external/pixman/demos/ |
trap-test.c | 14 pixman_image_t *mask_img; local 32 mask_img = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, mbits, WIDTH); 36 pixman_add_traps (mask_img, 0, 0, 1, &trap); 39 src_img, mask_img, dest_img,
|
/external/pixman/test/ |
a1-trap-test.c | 14 pixman_image_t *mask_img; local 32 mask_img = pixman_image_create_bits ( 38 pixman_add_traps (mask_img, 0, 0, 1, &trap); 41 src_img, mask_img, dest_img,
|
blitters-test.c | 228 pixman_image_t *mask_img = NULL; local 293 mask_img = NULL; 304 mask_img = pixman_image_create_bits (mask_fmt, 317 mask_img = create_random_image (mask_fmt_list, max_width, max_height, 323 mask_img = create_random_image (mask_fmt_list, 1, 1, 325 pixman_image_set_repeat (mask_img, PIXMAN_REPEAT_NORMAL); 329 pixman_image_set_component_alpha (mask_img, 1); 331 mask_x = prng_rand_n (pixman_image_get_width (mask_img)); 332 mask_y = prng_rand_n (pixman_image_get_height (mask_img)); 354 pixman_image_composite (op, src_img, mask_img, dst_img [all...] |
lowlevel-blt-bench.c | 172 pixman_image_t * mask_img, 204 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 63 - x, 0, width, lines_count); 213 pixman_image_t * mask_img, 225 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 1, 0, WIDTH - 64, HEIGHT); 233 pixman_image_t * mask_img, 257 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); 268 pixman_image_t * mask_img, 292 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); 303 pixman_image_t * mask_img, 328 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h) 381 pixman_image_t * mask_img; local [all...] |
scaling-test.c | 54 pixman_image_t * mask_img; local 153 mask_img = pixman_image_create_bits ( 181 pixman_image_set_transform (mask_img, &transform); 205 pixman_image_set_repeat (mask_img, mask_repeat); 236 pixman_image_set_filter (mask_img, PIXMAN_FILTER_NEAREST, NULL, 0); 238 pixman_image_set_filter (mask_img, PIXMAN_FILTER_BILINEAR, NULL, 0); 306 pixman_image_set_clip_region (mask_img, &clip); 307 pixman_image_set_source_clipping (mask_img, 1); 340 pixman_image_composite (op, src_img, mask_img, dst_img, 366 pixman_image_unref (mask_img); [all...] |
/cts/apps/CameraITS/pymodules/its/ |
image.py | 591 mask_img = scipy.stats.threshold( 593 mask_img = 1.0 - scipy.stats.threshold(mask_img, -0.1, 0.1, 1.0) 596 h,w = mask_img.shape 598 write_image(mask_img.repeat(3).reshape(h,w,3), 604 flat_row = mask_img.mean(0) 605 flat_col = mask_img.mean(1)
|