Searched refs:r_shift (Results 1 – 4 of 4) sorted by relevance
/third_party/pixman/pixman/ |
D | pixman-utils.c | 142 int a_shift, r_shift, g_shift, b_shift; in pixman_expand_to_float() local 160 r_shift = 24 - r_size; in pixman_expand_to_float() 182 dst[i].r = ((pixel >> r_shift) & r_mask) * r_mul; in pixman_expand_to_float()
|
/third_party/gstreamer/gstplugins_good/sys/ximage/ |
D | gstximagesrc.c | 404 gint r_shift, r_max, r_shift_out; in composite_pixel() local 425 for (r_shift = 0; !(xcontext->visual->red_mask & (1 << r_shift)); r_shift++); in composite_pixel() 438 r_max = (xcontext->visual->red_mask >> r_shift); in composite_pixel() 442 #define RGBXXX_R(x) (((x)>>r_shift) & (r_max)) in composite_pixel()
|
/third_party/skia/src/core/ |
D | SkVM.cpp | 1203 int bits = std::max(f.r_bits + f.r_shift, in byte_size() 1246 f.r_bits ? unpack_rgb (f.r_bits, f.r_shift) : x->splat(0.0f), in unpack() 1258 if (f.r_shift >= 32) { lo->r_bits = 0; lo->r_shift = 32; } in split_disjoint_8byte_format() 1265 if (f.r_shift < 32) { hi->r_bits = 0; hi->r_shift = 32; } else { hi->r_shift -= 32; } in split_disjoint_8byte_format() 1286 SkASSERT(f.r_shift == rgba_f32.r_shift); in assert_16byte_is_rgba_f32() 1389 if (f.r_bits) { pack_rgb (c.r, f.r_bits, f.r_shift); } in pack32() 1399 f.r_shift == f.g_shift && f.g_shift == f.b_shift) { in store()
|
D | SkVM.h | 576 r_shift, g_shift, b_shift, a_shift; member
|