Searched defs:pClut (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispPalette.cpp150 PVIDEO_CLUT pClut = (PVIDEO_CLUT) aClut; local
151 PVIDEO_CLUTDATA pData = &pClut->LookupTable[0].RgbArray;
154 pClut->NumEntries = 256;
155 pClut->FirstEntry = 0;
164 return VBoxDispMPSetColorRegisters(pDev->hDriver, pClut, MAX_CLUT_SIZE);
173 PVIDEO_CLUT pClut = (PVIDEO_CLUT) aClut; local
174 PVIDEO_CLUTDATA pData = &pClut->LookupTable[0].RgbArray;
180 pClut->NumEntries = (USHORT) cColors;
181 pClut->FirstEntry = (USHORT) iStart;
202 rc = VBoxDispMPSetColorRegisters(pDev->hDriver, pClut, MAX_CLUT_SIZ
[all...]
H A DVBoxDispMini.cpp297 int VBoxDispMPSetColorRegisters(HANDLE hDriver, PVIDEO_CLUT pClut, DWORD cbClut) argument
303 dwrc = EngDeviceIoControl(hDriver, IOCTL_VIDEO_SET_COLOR_REGISTERS, pClut, cbClut, NULL, 0, &cbReturned);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/
H A DVBoxMPIOCTL.cpp278 BOOLEAN VBoxMPSetColorRegisters(PVBOXMP_DEVEXT pExt, PVIDEO_CLUT pClut, PSTATUS_BLOCK pStatus) argument
284 if (pClut->FirstEntry+pClut->NumEntries > 256)
290 for (entry=pClut->FirstEntry; entry<pClut->FirstEntry+pClut->NumEntries; ++entry)
293 VBoxVideoCmnPortWriteUchar(VBE_DISPI_IOPORT_DAC_DATA, pClut->LookupTable[entry].RgbArray.Red);
294 VBoxVideoCmnPortWriteUchar(VBE_DISPI_IOPORT_DAC_DATA, pClut->LookupTable[entry].RgbArray.Green);
295 VBoxVideoCmnPortWriteUchar(VBE_DISPI_IOPORT_DAC_DATA, pClut->LookupTable[entry].RgbArray.Blue);

Completed in 46 milliseconds