Home
last modified time | relevance | path

Searched refs:peRed (Results 1 – 25 of 31) sorted by relevance

12

/reactos/modules/rostests/winetests/gdi32/
H A Dpalette.c170 ok( entries[i].peRed == defpal[i].peRed && in test_halftone_palette()
181 ok( entries[i].peRed == defpal[idx].peRed && in test_halftone_palette()
209 ok( entries[i].peRed == defpal[i].peRed && in check_system_palette_entries()
215 defpal[i].peRed, defpal[i].peGreen, defpal[i].peBlue ); in check_system_palette_entries()
219 ok( !entries[i].peRed && in check_system_palette_entries()
229 ok( entries[i].peRed == defpal[idx].peRed && in check_system_palette_entries()
243 ok( entries[i].peRed == defpal[i].peRed && in check_system_palette_entries()
249 defpal[i].peRed, defpal[i].peGreen, defpal[i].peBlue ); in check_system_palette_entries()
257 ok( !entries[i].peRed && in check_system_palette_entries()
267 ok( entries[i].peRed == defpal[idx].peRed && in check_system_palette_entries()
[all …]
H A Dbrush.c308 pal->palPalEntry[i].peRed = i * 2; in test_palette_brush()
322 DWORD expect = (pal->palPalEntry[255 - i].peRed << 16 | in test_palette_brush()
328 for (i = 0; i < 256; i++) pal->palPalEntry[i].peRed = i * 3; in test_palette_brush()
335 DWORD expect = (pal->palPalEntry[255 - i].peRed << 16 | in test_palette_brush()
H A Dbitmap.c690 palent[0].peRed = 0xff; in test_dibsections()
720 c0 = RGB(palent[0].peRed, palent[0].peGreen, palent[0].peBlue); in test_dibsections()
773 palent[i].peRed = 255 - i * 2; in test_dibsections()
776 palent[255 - i].peRed = 0; in test_dibsections()
803 ok(rgb[i].rgbRed == palent[i].peRed && in test_dibsections()
844 ok(rgb[i].rgbRed == palent[i % 37].peRed && in test_dibsections()
867 ok(colors[i].rgbRed == palent[i % 37].peRed && in test_dibsections()
2340 expect.rgbRed = pal_ents[entry].peRed; in test_GetDIBits()
2378 expect.rgbRed = pal_ents[entry].peRed; in test_GetDIBits()
4790 palent[i].peRed = i * 2; in test_SetDIBits()
[all …]
H A Ddib.c1493 entries[i].peRed = default_palette_1[i].rgbRed; in create_default_palette()
1502 entries[i].peRed = default_palette_4[i].rgbRed; in create_default_palette()
1511 entries[i].peRed = default_palette_8[i].rgbRed; in create_default_palette()
2638 entries[i].peRed = i * 3; in draw_graphics()
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiDoPalette.c89 ok_int(palEntries2[0].peRed, 1); in Test_NtGdiDoPalette_GdiPalAnimate()
93 ok_int(palEntries2[1].peRed, palEntries[1].peRed); in Test_NtGdiDoPalette_GdiPalAnimate()
97 ok_int(palEntries2[2].peRed, 11); in Test_NtGdiDoPalette_GdiPalAnimate()
101 ok_int(palEntries2[3].peRed, palEntries[3].peRed); in Test_NtGdiDoPalette_GdiPalAnimate()
160 ok_int(palEntries2[0].peRed, 0); in Test_NtGdiDoPalette_GdiPalSetEntries()
/reactos/win32ss/gdi/ntgdi/
H A Dpalette.c271 ulDiff = peColor.peRed - ppal->IndexedColors[i].peRed; in PALETTE_ulGetNearestPaletteIndex()
360 PaletteEntry[i].peRed += GammaRamp->Red[i]; in ColorCorrection()
538 PalEntries[i].peRed = g_sysPalTemplate[i].peRed; in NtGdiCreateHalftonePalette()
542 PalEntries[246 + i].peRed = g_sysPalTemplate[10 + i].peRed; in NtGdiCreateHalftonePalette()
562 PalEntries[i].peRed = r * 51; in NtGdiCreateHalftonePalette()
572 PalEntries[i].peRed = v; in NtGdiCreateHalftonePalette()
1038 ppal->IndexedColors[i].peRed = prgbColors->rgbRed; in GreGetSetColorTable()
1052 prgbColors->rgbRed = ppal->IndexedColors[i].peRed; in GreGetSetColorTable()
H A Dpalette.h145 return RGB(ppal->IndexedColors[ulIndex].peRed, in PALETTE_ulGetRGBColorFromIndex()
155 ppal->IndexedColors[ulIndex].peRed = GetRValue(crColor); in PALETTE_vSetRGBColorForIndex()
H A Dbitmaps.c395 bi->bmiColors[Index].rgbRed = PalGDI->IndexedColors[Index].peRed; in IntCreateCompatibleBitmap()
H A Ddibobj.c855 rgbQuads[i].rgbRed = psurf->ppal->IndexedColors[i].peRed; in GreGetDIBitsInternal()
889 rgbQuads[i].rgbRed = pDcPal->IndexedColors[i].peRed; in GreGetDIBitsInternal()
/reactos/win32ss/drivers/displays/vga_new/
H A Dpalette.c136 ppdev->pPal[ulLoop].peRed = jRed; in bInitDefaultPalette()
253 pScreenClutData[cColors].Red = ppdev->pPal[cColors].peRed >> in bInit256ColorPalette()
/reactos/dll/directx/wine/wined3d/
H A Dpalette.c76 entries[i].peRed = palette->colors[i + start].rgbRed; in wined3d_palette_get_entries()
120 palette->colors[i + start].rgbRed = entries[i].peRed; in wined3d_palette_set_entries()
/reactos/win32ss/gdi/eng/
H A Dxlateobj.c483 ulColor = RGB(ppalSrc->IndexedColors[i].peRed, in EXLATEOBJ_vInitialize()
511 ulColor = RGB(ppalSrc->IndexedColors[i].peRed, in EXLATEOBJ_vInitialize()
735 pPalOut[i] = RGB(ppal->IndexedColors[i].peRed, in XLATEOBJ_cGetPalette()
/reactos/win32ss/drivers/displays/framebuf/
H A Dpalette.c85 PaletteEntryPtr->peRed = ((ColorLoop >> 5) & 7) * 255 / 7; in IntInitDefaultPalette()
/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserSelectPalette.c16 ret.peRed = r; in PALENTRY()
/reactos/modules/rostests/dibtests/palbitblt/
H A Dpal.c112 palInf.palPalEntry[i].peRed = palette[i].rgbRed; in InitBitmap()
/reactos/subsystems/mvdm/ntvdm/hardware/video/
H A Dsvga.c522 Entries[i].peRed = GetRValue(VgaDefaultPalette[i]); in VgaRestoreDefaultPalette()
563 TextPalette->palPalEntry[i].peRed = GetRValue(ConsoleColors[i]); in VgaInitializePalette()
1360 Entry.peRed = VGA_DAC_TO_COLOR(VgaDacLatch[0]); in VgaWriteDac()
1404 Entry.peRed = VGA_DAC_TO_COLOR(VgaDacRegisters[Data * 3]); in VgaWriteAc()
/reactos/dll/directx/wine/d3dx9_36/
H A Dutil.c47 rgba->x = palette[idx].peRed / 255.0f; in index_to_rgba()
/reactos/sdk/lib/3rdparty/cardlib/
H A Dcardbitmaps.cpp252 pe->peRed = GetRValue(col); in CopyColor()
/reactos/win32ss/user/winsrv/consrv/frontends/gui/
H A Dtext.c36 return PALETTERGB(pe.peRed, pe.peGreen, pe.peBlue); in PaletteRGBFromAttrib()
/reactos/sdk/include/psdk/
H A Dwtypes.idl204 BYTE peRed;
/reactos/modules/rostests/apitests/gdi32/
H A DGetObject.c303 logpal.palPalEntry[0].peRed = 0; in Test_Palette()
/reactos/modules/rostests/winetests/user32/
H A Dclipboard.c1723 ok( entry.peRed == 0x12 && entry.peGreen == 0x34 && entry.peBlue == 0x56, in test_handles_process()
1724 "wrong color %02x,%02x,%02x\n", entry.peRed, entry.peGreen, entry.peBlue ); in test_handles_process()
/reactos/dll/win32/windowscodecs/
H A Dimgfactory.c827 colors[i] = 0xff000000 | entry[i].peRed << 16 | in ImagingFactory_CreateBitmapFromHBITMAP()
/reactos/dll/directx/wine/ddraw/
H A Dutils.c631 wined3d_colour->r = entry.peRed / 255.0f; in wined3d_colour_from_ddraw_colour()
/reactos/modules/rostests/winetests/windowscodecs/
H A Dbitmap.c196 bmi->bmiColors[i].rgbRed = pal->palPalEntry[i].peRed; in create_dib()

12