Home
last modified time | relevance | path

Searched refs:BitCount (Results 1 – 18 of 18) sorted by relevance

/reactos/win32ss/gdi/gdi32/objects/
H A Dutils.c37 WORD BitCount; in CalculateColorTableSize() local
53 BitCount = ((LPBITMAPCOREHEADER)BitmapInfoHeader)->bcBitCount; in CalculateColorTableSize()
59 BitCount = BitmapInfoHeader->biBitCount; in CalculateColorTableSize()
70 if (BitCount != 16 && BitCount != 32) in CalculateColorTableSize()
87 switch (BitCount) in CalculateColorTableSize()
104 if (BitCount != 16 && BitCount != 24 && BitCount != 32) in CalculateColorTableSize()
111 if (BitCount == 4) in CalculateColorTableSize()
119 if (BitCount == 8) in CalculateColorTableSize()
/reactos/drivers/bus/acpi/acpica/dispatcher/
H A Ddsopcode.c126 UINT32 BitCount; in AcpiDsInitBufferField() local
175 BitCount = (UINT32) LengthDesc->Integer.Value; in AcpiDsInitBufferField()
179 if (BitCount == 0) in AcpiDsInitBufferField()
193 BitCount = 1; in AcpiDsInitBufferField()
202 BitCount = 8; in AcpiDsInitBufferField()
211 BitCount = 16; in AcpiDsInitBufferField()
220 BitCount = 32; in AcpiDsInitBufferField()
229 BitCount = 64; in AcpiDsInitBufferField()
244 if ((BitOffset + BitCount) > in AcpiDsInitBufferField()
251 AcpiUtGetNodeName (ResultDesc), BitOffset, BitCount, in AcpiDsInitBufferField()
[all …]
/reactos/drivers/bus/acpi/acpica/resources/
H A Drsutils.c73 UINT8 BitCount; in AcpiRsDecodeBitmask() local
81 for (i = 0, BitCount = 0; Mask; i++) in AcpiRsDecodeBitmask()
85 List[BitCount] = i; in AcpiRsDecodeBitmask()
86 BitCount++; in AcpiRsDecodeBitmask()
92 return (BitCount); in AcpiRsDecodeBitmask()
/reactos/drivers/network/dd/dc21x4/
H A Dphy.c35 _In_ ULONG BitCount) in MiiMdioPacket() argument
39 for (i = BitCount - 1; i >= 0; --i) in MiiMdioPacket()
150 _In_ ULONG BitCount) in HpnaSpiShiftOut() argument
159 for (i = BitCount - 1; i >= 0; --i) in HpnaSpiShiftOut()
H A Deeprom.c1135 _In_ ULONG BitCount) in SRomShiftOut() argument
1141 for (i = BitCount - 1; i >= 0; --i) in SRomShiftOut()
/reactos/ntoskrnl/ke/
H A Dkrnlinit.c127 LONG BitCount = 0, Remainder = 1; in KiComputeReciprocal() local
133 BitCount++; in KiComputeReciprocal()
160 BitCount--; in KiComputeReciprocal()
180 *Shift = (UCHAR)BitCount - 64; in KiComputeReciprocal()
/reactos/base/applications/mspaint/
H A Ddib.cpp525 WORD BitCount = pbmci->bmciHeader.bcBitCount; in BitmapFromClipboardDIB() local
526 if (BitCount < 16) in BitmapFromClipboardDIB()
528 cColors = (1 << BitCount); in BitmapFromClipboardDIB()
535 WORD BitCount = pbmi->bmiHeader.biBitCount; in BitmapFromClipboardDIB() local
536 if (BitCount < 16) in BitmapFromClipboardDIB()
538 cColors = (1 << BitCount); in BitmapFromClipboardDIB()
/reactos/win32ss/user/ntuser/
H A Ddisplay.c736 OrigBC = gpsi->BitCount; in UserChangeDisplaySettings()
854 gpsi->BitCount = gpsi->Planes * gpsi->BitsPixel; in UserChangeDisplaySettings()
884 gpsi->BitCount, in UserChangeDisplaySettings()
890 ERR("BitCount New %d Orig %d ChkNew %d\n",gpsi->BitCount,OrigBC,ppdev->gdiinfo.cBitsPixel); in UserChangeDisplaySettings()
894 gpsi->BitCount != OrigBC) in UserChangeDisplaySettings()
H A Dwinsta.c303 gpsi->BitCount = gpsi->Planes * gpsi->BitsPixel; in co_IntInitializeDesktopGraphics()
/reactos/sdk/lib/rtl/
H A Dbitmap.c478 BITMAP_INDEX BitCount = 0; in RtlNumberOfSetBits() local
486 BitCount += BitCountTable[*Byte++]; in RtlNumberOfSetBits()
492 BitCount += BitCountTable[((*Byte) << Shift) & 0xFF]; in RtlNumberOfSetBits()
495 return BitCount; in RtlNumberOfSetBits()
/reactos/sdk/lib/drivers/hidparser/
H A Dapi.c308 ValueCaps[ItemCount].BitSize = Report->Items[Index].BitCount; in HidParser_GetSpecificValueCapsWithReport()
423 ASSERT(ReportItem->BitCount <= 8); in HidParser_GetUsagesWithReport()
469 if (ReportItem->BitCount == 1) in HidParser_GetUsagesWithReport()
H A Dparser.h191 UCHAR BitCount; member
H A Dparser.c561 ReportItem->BitCount = GlobalItemState->ReportSize; in HidParser_InitReportItem()
/reactos/win32ss/user/user32/windows/
H A Dcursoricon.c2337 WORD width, height, BitCount = 0; in LookupIconIdFromDirectoryEx() local
2390 if(entry->wBitCount > BitCount) in LookupIconIdFromDirectoryEx()
2391 BitCount = entry->wBitCount; in LookupIconIdFromDirectoryEx()
2398 BitCount = entry->wBitCount; in LookupIconIdFromDirectoryEx()
2408 if (bppDesired > 8 && BitCount > 8) in LookupIconIdFromDirectoryEx()
2411 BitCount = 0; in LookupIconIdFromDirectoryEx()
2434 if((entry->wBitCount > BitCount) && (entry->wBitCount < bppDesired)) in LookupIconIdFromDirectoryEx()
2440 BitCount = entry->wBitCount; in LookupIconIdFromDirectoryEx()
2448 BitCount = 0xFFFF; in LookupIconIdFromDirectoryEx()
2467 if(entry->wBitCount < BitCount) in LookupIconIdFromDirectoryEx()
[all …]
/reactos/drivers/bus/isapnp/
H A Disapnp.c233 ULONG BitmapSize, BitmapBuffer, BitCount; in IsaPnpCreateLogicalDeviceRequirements() local
247 BitCount = RtlNumberOfSetBits(&ResourceBitmap); in IsaPnpCreateLogicalDeviceRequirements()
251 FirstFixedDescriptors += BitCount; in IsaPnpCreateLogicalDeviceRequirements()
255 ResourceCount += BitCount; in IsaPnpCreateLogicalDeviceRequirements()
259 LastFixedDescriptors += BitCount; in IsaPnpCreateLogicalDeviceRequirements()
/reactos/boot/environ/lib/io/display/
H A Ddisplay.c830 ((Bitmap->DibHeader.BitCount != 24) && in BlDisplayGetOemBitmap()
831 (Bitmap->DibHeader.BitCount != 32)) || in BlDisplayGetOemBitmap()
/reactos/boot/environ/include/
H A Dbl.h1321 USHORT BitCount; member
/reactos/win32ss/include/
H A Dntuser.h1032 USHORT BitCount; member