ReactOS 0.4.16-dev-13-ge2fc578
|
Go to the source code of this file.
Enumerations | |
enum | { BMF_1BPP = 0 , BMF_4BPP = 1 , BMF_8BPP = 2 , BMF_16BPP_555 = 3 , BMF_16BPP_565 = 4 , BMF_24BPP_RGB = 5 , BMF_24BPP_BGR = 6 , BMF_32BPP_RGB = 7 , BMF_32BPP_BGR = 8 } |
Functions | |
ULONG | GetRealColorDepth () |
static ULONG | iXlateFromRGB (ULONG iFormat, COLORREF crColor) |
static COLORREF | iXlateToRGB (ULONG iFormat, ULONG ulColor) |
static ULONG | GetClosestColor (ULONG iFormat, COLORREF crColor, COLORREF crBackColor) |
ULONG | GetDIBPixel (ULONG iFormat, PVOID pvBits, ULONG x) |
static void | Initialize () |
void | Test_SrcMono1 (ULONG iBmpFormat, HBITMAP hbmpDst, PVOID pvBits) |
void | Test_SrcMono () |
START_TEST (xlate) | |
Variables | |
ULONG | bpp [] = {1, 4, 8, 15, 16, 24, 24, 32, 32} |
static BYTE | ajBits1 [] = {0xAA, 0xAA, 0xAA, 0xAA, 0,0,0,0} |
static BYTE | ajBits8 [] = {0x00, 0xFF, 0x80, 0xCC, 0,0,0,0} |
static WORD | ajBits16 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
static DWORD | ajBits24 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
static DWORD | ajBits32 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
static HBITMAP | hbmp1bpp_a |
static HBITMAP | hbmp1bpp_b |
static HBITMAP | hbmp8bpp_a |
static HBITMAP | hbmp8bpp_b |
static HBITMAP | hbmp16bpp_a |
static HBITMAP | hbmp16bpp_b |
static HBITMAP | hbmp24bpp_a |
static HBITMAP | hbmp24bpp_b |
static HBITMAP | hbmp32bpp_a |
static HBITMAP | hbmp32bpp_b |
static HBITMAP | hbmpCompat |
static HDC | hdcSrc |
static HDC | hdcDst |
static ULONG | iDcFormat |
anonymous enum |
Enumerator | |
---|---|
BMF_1BPP | |
BMF_4BPP | |
BMF_8BPP | |
BMF_16BPP_555 | |
BMF_16BPP_565 | |
BMF_24BPP_RGB | |
BMF_24BPP_BGR | |
BMF_32BPP_RGB | |
BMF_32BPP_BGR |
Definition at line 6 of file xlate.c.
Definition at line 181 of file xlate.c.
Referenced by Test_SrcMono1().
Definition at line 189 of file xlate.c.
Referenced by Test_SrcMono1().
ULONG GetRealColorDepth | ( | ) |
Definition at line 36 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 212 of file xlate.c.
Referenced by _tmain(), _tWinMain(), CCharMapWindow::Create(), CreateObjectsFromPersistFolder(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), INetCfgComponentControl_fnApplyRegistryChanges(), INetCfgComponentPropertyUi_fnMergePropPages(), CZipFolder::Initialize(), CACListISF::Reset(), START_TEST(), Win32kProcessCallback(), and wmain().
Definition at line 96 of file xlate.c.
Referenced by GetClosestColor(), Test_SrcMono(), and Test_SrcMono1().
Definition at line 136 of file xlate.c.
Referenced by GetClosestColor(), and Test_SrcMono().
START_TEST | ( | xlate | ) |
void Test_SrcMono | ( | ) |
Definition at line 458 of file xlate.c.
Referenced by START_TEST().
Definition at line 256 of file xlate.c.
Referenced by Test_SrcMono().
|
static |
Definition at line 21 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 23 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 24 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 25 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 22 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 28 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 28 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 26 of file xlate.c.
Referenced by Initialize(), Test_SrcMono(), and Test_SrcMono1().
|
static |
Definition at line 26 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().
|
static |
Definition at line 29 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 29 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 30 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 30 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 27 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 27 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 31 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().
|
static |
Definition at line 32 of file xlate.c.
Referenced by check_BitBlt_pixel(), check_StretchBlt_pixel(), check_StretchBlt_stretch(), check_StretchDIBits_pixel(), check_StretchDIBits_stretch(), CreateMappedBitmap(), GdiAlphaBlend(), GdiTransparentBlt(), ImageList_GetIcon(), Initialize(), NtGdiTransparentBlt(), NtUserUpdateLayeredWindow(), START_TEST(), test_32bit_ddb(), test_BitBlt(), test_bitmap_rendering(), test_clipping(), test_DrawIcon(), test_DrawIconEx(), test_DrawState(), test_GdiAlphaBlend(), test_ImageList_DrawIndirect(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchBlt_stretch(), test_StretchBlt_TopDownOptions(), test_StretchDIBits(), TRACKBAR_Refresh(), UpdateLayeredWindow(), UXTHEME_DrawImageBackground(), UXTHEME_SizedBlt(), UXTHEME_StretchBlt(), WinGBitBlt(), and WinGStretchBlt().
|
static |
Definition at line 32 of file xlate.c.
Referenced by BitBlt(), check_BitBlt_pixel(), check_StretchBlt_pixel(), check_StretchBlt_stretch(), ClippedBitBlt(), ColorKeyedMaskBlt(), RdpClientUI::Display_MemBlt(), RdpClientUI::Display_TriBlt(), GdiAlphaBlend(), GdiTransparentBlt(), imagelist_copy_images(), Initialize(), IntPrintWindow(), MaskBlt(), NtGdiMaskBlt(), NtGdiTransparentBlt(), NtUserUpdateLayeredWindow(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PlgBlt(), PROPSHEET_Paint(), START_TEST(), StretchBlt(), test_32bit_ddb(), test_BitBlt(), test_clipping(), test_GdiAlphaBlend(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchBlt_stretch(), test_StretchBlt_TopDownOptions(), UpdateLayeredWindow(), UXTHEME_Blt(), UXTHEME_DrawImageBackground(), UXTHEME_SizedBlt(), UXTHEME_StretchBlt(), WinGBitBlt(), and WinGStretchBlt().
|
static |
Definition at line 33 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().