Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Ddps.c288 red_bit=visual_info->red_mask & (~(visual_info->red_mask)+1); in ReadDPSImage()
296 if (red > visual_info->red_mask) in ReadDPSImage()
337 red_mask, in ReadDPSImage() local
343 red_mask=visual_info->red_mask; in ReadDPSImage()
345 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadDPSImage()
347 red_mask>>=1; in ReadDPSImage()
377 index=(pixel >> red_shift) & red_mask; in ReadDPSImage()
399 color=(pixel >> red_shift) & red_mask; in ReadDPSImage()
400 color=(color*65535L)/red_mask; in ReadDPSImage()
Dxwd.c287 ximage->red_mask=header.red_mask; in ReadXWDImage()
404 if ((header.ncolors == 0U) || (ximage->red_mask != 0) || in ReadXWDImage()
424 red_mask, in ReadXWDImage() local
430 red_mask=ximage->red_mask; in ReadXWDImage()
432 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadXWDImage()
434 red_mask>>=1; in ReadXWDImage()
463 index=(Quantum) ((pixel >> red_shift) & red_mask); in ReadXWDImage()
493 color=(pixel >> red_shift) & red_mask; in ReadXWDImage()
494 if (red_mask != 0) in ReadXWDImage()
495 color=(color*65535UL)/red_mask; in ReadXWDImage()
[all …]
Dbmp.c134 red_mask, member
699 bmp_info.red_mask=ReadBlobLSBLong(image); in ReadBMPImage()
991 bmp_info.red_mask=0x00ff0000U; in ReadBMPImage()
999 bmp_info.red_mask=0x00007c00U; in ReadBMPImage()
1014 if (bmp_info.red_mask != 0) in ReadBMPImage()
1015 while (((bmp_info.red_mask << shift.red) & 0x80000000UL) == 0) in ReadBMPImage()
1027 while (((bmp_info.red_mask << sample) & 0x80000000UL) != 0) in ReadBMPImage()
1197 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
1303 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
Ddib.c94 red_mask, member
524 dib_info.red_mask=ReadBlobLSBLong(image); in ReadDIBImage()
814 if (dib_info.red_mask == 0) in ReadDIBImage()
Dicon.c132 red_mask, member
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc53 image->red_mask == 0xff0000 && in IsXImageRGBFormat()
294 uint32_t red_mask = x_image_->red_mask; in SlowBlit() local
295 uint32_t green_mask = x_image_->red_mask; in SlowBlit()
298 uint32_t red_shift = MaskToShift(red_mask); in SlowBlit()
325 uint32_t r = (pixel & red_mask) << red_shift; in SlowBlit()
/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/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/state_trackers/xvmc/tests/
Dtest_subpicture.c120 printf("\tred_mask: 0x%08x\n", subpics[i].red_mask); in main()
/external/mesa3d/src/gallium/state_trackers/va/
Dsubpicture.c41 .red_mask = 0x00ff0000ul,
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c586 unsigned int red_mask; in drm_add_configs_for_visuals() member
614 if (visuals[j].red_mask != red || visuals[j].alpha_mask != alpha) in drm_add_configs_for_visuals()
Dplatform_x11.c768 rgba_masks[0] = visuals[i].red_mask; in dri2_x11_add_configs_for_visuals()
/external/ImageMagick/MagickCore/
Dxwdfile.h_vms80 CARD32 red_mask B32; /* Z red mask */
Dxwindow.c1153 visual_info->red_mask | visual_info->green_mask | visual_info->blue_mask : \ in XBestVisualInfo()
2948 map_info->red_max=visual_info->red_mask; in XGetMapInfo()
4285 red_bit=window_info[id].visual->red_mask & in XGetWindowImage()
4286 (~(window_info[id].visual->red_mask)+1); in XGetWindowImage()
4296 if (red > window_info[id].visual->red_mask) in XGetWindowImage()
4353 red_mask, in XGetWindowImage() local
4359 red_mask=window_info[id].visual->red_mask; in XGetWindowImage()
4361 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in XGetWindowImage()
4363 red_mask>>=1; in XGetWindowImage()
4394 index=(pixel >> red_shift) & red_mask; in XGetWindowImage()
[all …]
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsubpicture.c143 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/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c280 uint32_t rgb_mask = visual->red_mask | in visual_has_alpha()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c794 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
Dglx_api.c418 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c809 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
Dfakeglx.c513 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()