Home
last modified time | relevance | path

Searched refs:red_mask (Results 1 – 23 of 23) 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()
347 red_mask, in ReadDPSImage() local
353 red_mask=visual_info->red_mask; in ReadDPSImage()
355 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadDPSImage()
357 red_mask>>=1; in ReadDPSImage()
387 index=(pixel >> red_shift) & red_mask; in ReadDPSImage()
409 color=(pixel >> red_shift) & red_mask; in ReadDPSImage()
410 color=(color*65535L)/red_mask; in ReadDPSImage()
Dxwd.c287 ximage->red_mask=header.red_mask; in ReadXWDImage()
421 if ((header.ncolors == 0U) || (ximage->red_mask != 0) || in ReadXWDImage()
441 red_mask, in ReadXWDImage() local
447 red_mask=ximage->red_mask; in ReadXWDImage()
449 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in ReadXWDImage()
451 red_mask>>=1; in ReadXWDImage()
480 index=(Quantum) ((pixel >> red_shift) & red_mask); in ReadXWDImage()
510 color=(pixel >> red_shift) & red_mask; in ReadXWDImage()
511 if (red_mask != 0) in ReadXWDImage()
512 color=(color*65535UL)/red_mask; in ReadXWDImage()
[all …]
Dbmp.c146 red_mask, member
726 bmp_info.red_mask=ReadBlobLSBLong(image); in ReadBMPImage()
1034 bmp_info.red_mask=0x00ff0000U; in ReadBMPImage()
1042 bmp_info.red_mask=0x00007c00U; in ReadBMPImage()
1057 if (bmp_info.red_mask != 0) in ReadBMPImage()
1058 while (((bmp_info.red_mask << shift.red) & 0x80000000UL) == 0) in ReadBMPImage()
1086 while (((bmp_info.red_mask << sample) & 0x80000000UL) != 0) in ReadBMPImage()
1272 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
1378 red=((pixel & bmp_info.red_mask) << shift.red) >> 16; in ReadBMPImage()
1730 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/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/u-boot/arch/x86/include/asm/fsp/
Dfsp_hob.h142 u32 red_mask; member
/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.c577 unsigned int red_mask; in drm_add_configs_for_visuals() member
601 if (visuals[j].red_mask != red || visuals[j].alpha_mask != alpha) in drm_add_configs_for_visuals()
Dplatform_x11.c772 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()
2942 map_info->red_max=visual_info->red_mask; in XGetMapInfo()
4273 red_bit=window_info[id].visual->red_mask & in XGetWindowImage()
4274 (~(window_info[id].visual->red_mask)+1); in XGetWindowImage()
4284 if (red > window_info[id].visual->red_mask) in XGetWindowImage()
4341 red_mask, in XGetWindowImage() local
4347 red_mask=window_info[id].visual->red_mask; in XGetWindowImage()
4349 while ((red_mask != 0) && ((red_mask & 0x01) == 0)) in XGetWindowImage()
4351 red_mask>>=1; in XGetWindowImage()
4382 index=(pixel >> red_shift) & red_mask; in XGetWindowImage()
[all …]
/external/mesa3d/src/gallium/state_trackers/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/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c802 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
Dglx_api.c420 if (_mesa_bitcount((GLuint) vis->red_mask ) <= 8 && in get_visual()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c342 uint32_t rgb_mask = visual->red_mask | in visual_has_alpha()
/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()