Home
last modified time | relevance | path

Searched refs:red_mask (Results 1 – 25 of 26) sorted by relevance

12

/external/ImageMagick/coders/
Ddps.c291 red_bit=visual_info->red_mask & (~(visual_info->red_mask)+1); in ReadDPSImage()
299 if (red > visual_info->red_mask) in ReadDPSImage()
350 red_mask, in ReadDPSImage() local
356 red_mask=visual_info->red_mask; in ReadDPSImage()
358 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadDPSImage()
360 red_mask>>=1; in ReadDPSImage()
390 index=(pixel >> red_shift) & red_mask; in ReadDPSImage()
412 color=(pixel >> red_shift) & red_mask; in ReadDPSImage()
413 color=(color*65535L)/red_mask; in ReadDPSImage()
Dxwd.c353 ximage->red_mask=header.red_mask; in ReadXWDImage()
488 if ((header.ncolors == 0U) || (ximage->red_mask != 0) || in ReadXWDImage()
508 red_mask, in ReadXWDImage() local
514 red_mask=ximage->red_mask; in ReadXWDImage()
516 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadXWDImage()
518 red_mask>>=1; in ReadXWDImage()
548 red_shift) & red_mask,exception); in ReadXWDImage()
577 color=(pixel >> red_shift) & red_mask; in ReadXWDImage()
578 if (red_mask != 0) in ReadXWDImage()
579 color=(color*65535UL)/red_mask; in ReadXWDImage()
[all …]
Dbmp.c146 red_mask, member
734 bmp_info.red_mask=ReadBlobLSBLong(image); in ReadBMPImage()
1046 bmp_info.red_mask=0x00ff0000U; in ReadBMPImage()
1054 bmp_info.red_mask=0x00007c00U; in ReadBMPImage()
1069 if (bmp_info.red_mask != 0) in ReadBMPImage()
1070 while (((bmp_info.red_mask << shift.red) & 0x80000000UL) == 0) in ReadBMPImage()
1098 while (((bmp_info.red_mask << sample) & 0x80000000UL) != 0) in ReadBMPImage()
1284 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
1390 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
1744 bmp_info.red_mask=0x00ff0000U; in WriteBMPImage()
[all …]
Ddib.c97 red_mask, member
547 dib_info.red_mask=(unsigned short) ReadBlobLSBLong(image); in ReadDIBImage()
855 if (dib_info.red_mask == 0) in ReadDIBImage()
Dicon.c132 red_mask, member
/external/libdrm/tests/etnaviv/
Dwrite_bmp.c58 unsigned int red_mask; member
87 .red_mask = 0x000000FF, in bmp_header_write()
95 dib_header.red_mask = 0x00FF0000; in bmp_header_write()
/external/webrtc/modules/desktop_capture/linux/
Dx_server_pixel_buffer.cc59 return image->bits_per_pixel == 32 && image->red_mask == 0xff0000 && in IsXImageRGBFormat()
100 uint32_t red_mask = x_image->red_mask; in SlowBlit() local
101 uint32_t green_mask = x_image->red_mask; in SlowBlit()
104 uint32_t red_shift = MaskToShift(red_mask); in SlowBlit()
130 uint32_t r = (pixel & red_mask) << red_shift; in SlowBlit()
/external/mesa3d/src/gallium/targets/graw-xlib/
Dgraw_xlib.c90 if (visinfo->red_mask == 0xff0000 && in graw_create_window_and_screen()
96 else if (visinfo->red_mask == 0xff && in graw_create_window_and_screen()
/external/mesa3d/src/gallium/frontends/xvmc/tests/
Dtest_subpicture.c120 printf("\tred_mask: 0x%08x\n", subpics[i].red_mask); in main()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_x11.c240 return visual->red_mask; in dri2_x11_get_red_mask_for_depth()
794 ffs(visuals[i].red_mask) - 1, in dri2_x11_add_configs_for_visuals()
801 util_bitcount(visuals[i].red_mask), in dri2_x11_add_configs_for_visuals()
823 unsigned int rgba_mask = ~(visuals[i].red_mask | in dri2_x11_add_configs_for_visuals()
/external/mesa3d/src/gallium/frontends/va/
Dsubpicture.c41 .red_mask = 0x00ff0000ul,
/external/ImageMagick/MagickCore/
Dxwdfile.h_vms80 CARD32 red_mask B32; /* Z red mask */
Dxwindow.c1158 visual_info->red_mask | visual_info->green_mask | visual_info->blue_mask : \ in XBestVisualInfo()
2947 map_info->red_max=visual_info->red_mask; in XGetMapInfo()
4270 red_bit=window_info[id].visual->red_mask & in XGetWindowImage()
4271 (~(window_info[id].visual->red_mask)+1); in XGetWindowImage()
4281 if (red > window_info[id].visual->red_mask) in XGetWindowImage()
4338 red_mask, in XGetWindowImage() local
4344 red_mask=window_info[id].visual->red_mask; in XGetWindowImage()
4346 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in XGetWindowImage()
4348 red_mask>>=1; in XGetWindowImage()
4379 index=(pixel >> red_shift) & red_mask; in XGetWindowImage()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c346 return visual->red_mask; in get_red_mask_for_depth()
/external/mesa3d/src/gallium/frontends/xvmc/
Dsubpicture.c179 subpictures[i].depth, subpictures[i].red_mask, in Validate()
/external/libpng/contrib/gregbook/
Drpng-x.c510 RMask = visual->red_mask; in rpng_x_create_window()
Drpng2-x.c899 RMask = visual->red_mask; in rpng2_x_create_window()
/external/crosvm/gpu_display/src/
Dgpu_display_x.rs597 red_mask: 0x00ff0000, in open_display()
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c801 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
Dglx_api.c425 if (util_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
/external/crosvm/gpu_display/src/generated/
Dxlib.rs1994 pub red_mask: ::std::os::raw::c_ulong, field
2051 pub red_mask: ::std::os::raw::c_ulong, field
2726 pub red_mask: ::std::os::raw::c_ulong, field
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c808 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
Dfakeglx.c513 if (util_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c368 uint32_t rgb_mask = visual->red_mask | in visual_has_alpha()
/external/mesa3d/src/loader/
Dloader_dri3_helper.c138 return visual->red_mask; in dri3_get_red_mask_for_depth()

12