Home
last modified time | relevance | path

Searched refs:PIXMAN_FORMAT_A (Results 1 – 10 of 10) sorted by relevance

/third_party/pixman/test/
Dalphamap.c167 if (PIXMAN_FORMAT_A(s) == PIXMAN_FORMAT_A(d)) in get_alpha_err()
169 else if (PIXMAN_FORMAT_A(s) > PIXMAN_FORMAT_A(d)) in get_alpha_err()
170 return 1.f / ((1 << PIXMAN_FORMAT_A(d)) - 1); in get_alpha_err()
172 return 1.f / ((1 << PIXMAN_FORMAT_A(s)) - 1); in get_alpha_err()
Dutils.c180 if (remove_alpha && PIXMAN_FORMAT_A (fmt)) in compute_crc32_for_image_internal()
189 m >>= PIXMAN_FORMAT_A (fmt); in compute_crc32_for_image_internal()
196 m <<= PIXMAN_FORMAT_A (fmt); in compute_crc32_for_image_internal()
2003 if (PIXMAN_FORMAT_A (format) == 0) in round_color()
2006 color->a = round_channel (color->a, PIXMAN_FORMAT_A (format)); in round_color()
2072 checker->am = ((1U << PIXMAN_FORMAT_A (format)) - 1) << checker->as; in pixel_checker_init()
2077 checker->aw = PIXMAN_FORMAT_A (format); in pixel_checker_init()
2261 if (PIXMAN_FORMAT_A(checker->format)) in color_limits()
/third_party/pixman/pixman/
Dpixman-glyph.c290 if (PIXMAN_FORMAT_A (glyph->image->bits.format) != 0 && in pixman_glyph_cache_insert()
369 if (PIXMAN_FORMAT_A (glyph_format) > PIXMAN_FORMAT_A (format)) in pixman_glyph_get_mask_format()
661 if (PIXMAN_FORMAT_A (mask_format) != 0 && in pixman_composite_glyphs()
Dpixman-utils.c154 a_size = PIXMAN_FORMAT_A (format); in pixman_expand_to_float()
Dpixman.h840 #define PIXMAN_FORMAT_A(f) PIXMAN_FORMAT_RESHIFT(f, 12, 4) macro
846 #define PIXMAN_FORMAT_DEPTH(f) (PIXMAN_FORMAT_A(f) + \
Dpixman-fast-path.c2796 mask = PIXMAN_FORMAT_A (format)? 0 : 0xff000000; in bits_image_fetch_separable_convolution_affine()
2909 mask = PIXMAN_FORMAT_A (format)? 0 : 0xff000000; in bits_image_fetch_bilinear_affine()
2955 mask1 = PIXMAN_FORMAT_A (format)? 0 : 0xff000000; in bits_image_fetch_bilinear_affine()
2968 mask2 = PIXMAN_FORMAT_A (format)? 0 : 0xff000000; in bits_image_fetch_bilinear_affine()
3055 uint32_t mask = PIXMAN_FORMAT_A (format)? 0 : 0xff000000; in bits_image_fetch_nearest_affine()
Dpixman-access.c278 PIXMAN_FORMAT_A (from), a_from_shift, in convert_pixel()
279 PIXMAN_FORMAT_A (to), a_to_shift); in convert_pixel()
Dpixman-image.c458 if (!PIXMAN_FORMAT_A (image->bits.format) && in compute_image_info()
Dpixman-private.h984 (PIXMAN_FORMAT_A (f) > 8 || \
Dpixman-bits-image.c1139 int a_size = PIXMAN_FORMAT_A (format); in dither_apply_ordered()