Searched refs:gshift (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_utils.h | 590 int rshift, bshift, gshift, ashift; in glamor_get_rgba_from_pixel() local 598 rshift = gshift = bshift = ashift = 0; in glamor_get_rgba_from_pixel() 602 gshift = bbits; in glamor_get_rgba_from_pixel() 603 rshift = gshift + gbits; in glamor_get_rgba_from_pixel() 608 gshift = rbits; in glamor_get_rgba_from_pixel() 609 bshift = gshift + gbits; in glamor_get_rgba_from_pixel() 617 gshift = rshift + rbits; in glamor_get_rgba_from_pixel() 618 bshift = gshift + gbits; in glamor_get_rgba_from_pixel() 633 COLOR_INT_TO_FLOAT(green, pixel, gshift, gbits); in glamor_get_rgba_from_pixel()
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_render.c | 149 int rshift, bshift, gshift, ashift; in exaGetPixelFromRGBA() local 163 gshift = pFormat->direct.green; in exaGetPixelFromRGBA() 169 *pixel |= (green >> (16 - gbits)) << gshift; in exaGetPixelFromRGBA() 184 int rshift, bshift, gshift, ashift; in exaGetRGBAFromPixel() local 196 gshift = pFormat->direct.green; in exaGetRGBAFromPixel() 202 gshift = 8; in exaGetRGBAFromPixel() 217 *green = ((pixel >> gshift) & ((1 << gbits) - 1)) << (16 - gbits); in exaGetRGBAFromPixel()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | hostx.c | 845 static int rshift, bshift, gshift = 0; in hostx_set_cmap_entry() local 851 gshift = hostx_calculate_color_shift(HostX.visual->green_mask); in hostx_set_cmap_entry() 855 ((g << gshift) & HostX.visual->green_mask) | in hostx_set_cmap_entry()
|
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/ |
| H A D | stb_image.h | 5312 int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; in stbi__bmp_load() local 5330 gshift = stbi__high_bit(mg)-7; gcount = stbi__bitcount(mg); in stbi__bmp_load() 5352 out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mg, gshift, gcount)); in stbi__bmp_load()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/ |
| H A D | stb_image.h | 5312 int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; in stbi__bmp_load() local 5330 gshift = stbi__high_bit(mg)-7; gcount = stbi__bitcount(mg); in stbi__bmp_load() 5352 out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mg, gshift, gcount)); in stbi__bmp_load()
|