/reactos/modules/rostests/apitests/gdi32/ |
H A D | CreateIconIndirect.c | 85 ok_int(bitmap.bmBitsPixel, 1); in Test_GetIconInfo() 92 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_GetIconInfo() 94 ok(bitmap.bmBitsPixel == 1 || bitmap.bmBitsPixel == 2 || bitmap.bmBitsPixel == 4 || in Test_GetIconInfo() 95 bitmap.bmBitsPixel == 8 || bitmap.bmBitsPixel == 16 || bitmap.bmBitsPixel == 32, in Test_GetIconInfo() 96 "bmBitsPixel = %u\n", bitmap.bmBitsPixel); in Test_GetIconInfo() 121 ok_int(bitmap.bmBitsPixel, 1); in Test_GetIconInfo() 130 ok(bitmap.bmBitsPixel == 1 || bitmap.bmBitsPixel == 2 || bitmap.bmBitsPixel == 4 || in Test_GetIconInfo() 131 bitmap.bmBitsPixel == 8 || bitmap.bmBitsPixel == 16 || bitmap.bmBitsPixel == 32, in Test_GetIconInfo() 132 "bmBitsPixel = %u\n", bitmap.bmBitsPixel); in Test_GetIconInfo() 160 ok_int(bitmap.bmBitsPixel, 1); in START_TEST() [all …]
|
H A D | CreateBitmapIndirect.c | 16 win_bitmap.bmBitsPixel = 1; in Test_CreateBitmapIndirect() 29 win_bitmap.bmBitsPixel = 1; in Test_CreateBitmapIndirect() 40 win_bitmap.bmBitsPixel = 1; in Test_CreateBitmapIndirect() 51 win_bitmap.bmBitsPixel = 1; in Test_CreateBitmapIndirect() 62 win_bitmap.bmBitsPixel = 8; in Test_CreateBitmapIndirect()
|
H A D | CreateBitmap.c | 134 ok_int(bitmap.bmBitsPixel, 1); in Test_CreateBitmap() 150 ok_int(bitmap.bmBitsPixel, 1); in Test_CreateBitmap() 170 cjWidthBytes = ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) >> 3; in Test_CreateBitmap() 176 ok_int(bitmap.bmBitsPixel, cExpectedBitsPixel); in Test_CreateBitmap()
|
H A D | CreateDIBitmap.c | 339 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_CreateDIBitmap1() 341 ok(bitmap.bmBitsPixel == GetDeviceCaps(hdc, BITSPIXEL), "\n"); in Test_CreateDIBitmap1() 358 ok_int(bitmap.bmWidthBytes, ((bitmap.bmWidth * bitmap.bmBitsPixel + 15) & ~15) / 8); in Test_CreateDIBitmap1() 360 ok(bitmap.bmBitsPixel == GetDeviceCaps(hdc, BITSPIXEL), "\n"); in Test_CreateDIBitmap1() 459 ok_int(bitmap.bmBitsPixel, 8); in Test_CreateDIBitmap_CBM_CREATDIB() 485 ok_int(bitmap.bmBitsPixel, 8); in Test_CreateDIBitmap_CBM_CREATDIB() 498 ok_int(bitmap.bmBitsPixel, 8); in Test_CreateDIBitmap_CBM_CREATDIB()
|
H A D | TextTransform.c | 40 pbmih->biBitCount = bm.bmBitsPixel; in SaveBitmapToFile() 44 if (bm.bmBitsPixel < 16) in SaveBitmapToFile() 45 cbColors = (1 << bm.bmBitsPixel) * sizeof(RGBQUAD); in SaveBitmapToFile()
|
/reactos/modules/rostests/apitests/win32nt/ntgdi/ |
H A D | NtGdiCreateBitmap.c | 89 ok_int(bitmap.bmBitsPixel, 1); in Test_NtGdiCreateBitmap_Params() 111 ok_int(bitmap.bmBitsPixel, 1); in Test_NtGdiCreateBitmap_Params() 123 ok_int(bitmap.bmBitsPixel, 4); in Test_NtGdiCreateBitmap_Params() 128 ok_int(bitmap.bmBitsPixel, 8); in Test_NtGdiCreateBitmap_Params() 133 ok_int(bitmap.bmBitsPixel, 16); in Test_NtGdiCreateBitmap_Params() 138 ok_int(bitmap.bmBitsPixel, 24); in Test_NtGdiCreateBitmap_Params() 143 ok_int(bitmap.bmBitsPixel, 24); in Test_NtGdiCreateBitmap_Params() 148 ok_int(bitmap.bmBitsPixel, 32); in Test_NtGdiCreateBitmap_Params() 177 ok_int(bitmap.bmBitsPixel, 8); in Test_NtGdiCreateBitmap_Params()
|
H A D | NtGdiGetStockObject.c | 137 RTEST(bitmap.bmBitsPixel == 1); in START_TEST()
|
/reactos/modules/rostests/apitests/user32/ |
H A D | GetIconInfo.c | 88 ok(bitmap.bmBitsPixel == 1, "\n"); in Test_GetIconInfo() 95 ok(bitmap.bmWidthBytes == 8 * bitmap.bmBitsPixel / 8, "\n"); in Test_GetIconInfo() 97 ok(bitmap.bmBitsPixel == screen_bpp, "%d\n", bitmap.bmBitsPixel); in Test_GetIconInfo() 125 ok(bitmap.bmBitsPixel == 1, "%d\n", bitmap.bmBitsPixel); in Test_GetIconInfo() 134 ok(bitmap.bmBitsPixel == screen_bpp, "%d\n", bitmap.bmBitsPixel); in Test_GetIconInfo() 229 ok(bitmap.bmBitsPixel == 1, "\n"); in START_TEST() 236 ok(bitmap.bmWidthBytes == 48 * bitmap.bmBitsPixel / 8, "\n"); in START_TEST() 238 …ok(bitmap.bmBitsPixel == (creationbpp == 32 ? 32 : bpp), "creationbpp: %lu, bpp: %lu:\n", creation… in START_TEST() 267 ok(bitmap.bmBitsPixel == 1, "\n"); in START_TEST()
|
H A D | LoadImageGCC.c | 122 bmi.bmiHeader.biBitCount = bitmap.bmBitsPixel; in START_TEST()
|
/reactos/modules/rostests/dibtests/stretchblt/ |
H A D | stretchblt.cpp | 185 bmInfo.bmiHeader.biBitCount = bmp.bmBitsPixel; in MainWndProc() 199 bbits = new char[bmp.bmHeight*bmp.bmWidthBytes*(bmp.bmBitsPixel / 8)]; in MainWndProc() 209 fread(bbits, bmp.bmHeight*bmp.bmWidthBytes*(bmp.bmBitsPixel / 8), 1, f); in MainWndProc()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | bitmaps.c | 334 Bpp ? Bpp : dibs.dsBm.bmBitsPixel, in IntCreateCompatibleBitmap() 784 pBitmap->bmBitsPixel = BitsPerFormat(psurf->SurfObj.iBitmapFormat); in BITMAP_GetObject() 785 pBitmap->bmWidthBytes = WIDTH_BYTES_ALIGN16(pBitmap->bmWidth, pBitmap->bmBitsPixel); in BITMAP_GetObject() 793 pBitmap->bmWidthBytes = WIDTH_BYTES_ALIGN32(pBitmap->bmWidth, pBitmap->bmBitsPixel); in BITMAP_GetObject() 804 pds->dsBmih.biBitCount = pds->dsBm.bmBitsPixel; in BITMAP_GetObject()
|
/reactos/modules/rostests/dibtests/icontest/ |
H A D | icontest.c | 168 sprintf(str, "%dBPP", bmp.bmBitsPixel); in MainWndProc() 180 sprintf(str, "%dBPP", bmp.bmBitsPixel); in MainWndProc()
|
/reactos/modules/rosapps/applications/sysutils/screenshot/ |
H A D | screenshot.c | 262 cClrBits = (WORD)(bitmap.bmPlanes * bitmap.bmBitsPixel); in ConvertDDBtoDIB() 298 pScrSht->lpbi->bmiHeader.biBitCount = bitmap.bmBitsPixel; in ConvertDDBtoDIB()
|
/reactos/win32ss/gdi/gdi32/wine/mfdrv/ |
H A D | bitblt.c | 68 nBPP = BM.bmPlanes * BM.bmBitsPixel; in MFDRV_StretchBlt() 104 *(mr->rdParm +14) = BM.bmBitsPixel; in MFDRV_StretchBlt()
|
/reactos/base/applications/mspaint/ |
H A D | dib.cpp | 461 bmi.bmiHeader.biBitCount = bm.bmBitsPixel; in BitmapToClipboardDIB() 466 if (bm.bmBitsPixel < 16) in BitmapToClipboardDIB() 467 cColors = 1 << bm.bmBitsPixel; in BitmapToClipboardDIB() 588 if (bm.bmBitsPixel == 1) in IsBitmapBlackAndWhite()
|
/reactos/dll/win32/uxtheme/ |
H A D | pngsup.cpp | 73 if (dib.dsBm.bmBitsPixel != 32) in prepare_png_alpha()
|
/reactos/modules/rostests/apitests/user32/makeimg/ |
H A D | showimg.c | 49 bmi.bmiHeader.biBitCount = bitmap.bmBitsPixel; in WndProc()
|
/reactos/modules/rostests/winetests/user32/ |
H A D | cursoricon.c | 508 && copyBitmap.bmBitsPixel == 24 in test_CopyImage_Check() 525 expectedDepth = origBitmap.bmBitsPixel; in test_CopyImage_Check() 531 && (copyBitmap.bmBitsPixel == expectedDepth)), in test_CopyImage_Check() 533 … orig_is_dib ? "DIB" : "DDB", origBitmap.bmWidth, origBitmap.bmHeight, origBitmap.bmBitsPixel, in test_CopyImage_Check() 536 … copy_is_dib ? "DIB" : "DDB", copyBitmap.bmWidth, copyBitmap.bmHeight, copyBitmap.bmBitsPixel); in test_CopyImage_Check() 744 ok_(__FILE__, line)(bmColor.bmBitsPixel == display_bpp /* XP */ || in test_icon_info_dbg() 745 bmColor.bmBitsPixel == exp_bpp /* Win98 */, in test_icon_info_dbg() 746 "bmColor.bmBitsPixel = %d\n", bmColor.bmBitsPixel); in test_icon_info_dbg() 750 … ok_(__FILE__, line)(bmMask.bmBitsPixel == 1, "bmMask.bmBitsPixel = %d\n", bmMask.bmBitsPixel); in test_icon_info_dbg() 756 … ok_(__FILE__, line)(bmMask.bmBitsPixel == 1, "bmMask.bmBitsPixel = %d\n", bmMask.bmBitsPixel); in test_icon_info_dbg()
|
/reactos/win32ss/user/user32/controls/ |
H A D | ghost.c | 91 if (bm.bmBitsPixel != 32 || !bm.bmBits) in IntMakeGhostImage() 94 bm.bmBitsPixel, bm.bmBits); in IntMakeGhostImage()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | bitmap.c | 81 …ok(bm.bmBitsPixel == expected_depth, "wrong bm.bmBitsPixel %d != %d\n", bm.bmBitsPixel, expected_d… in test_bitmap_info() 285 …ok(bm.bmBitsPixel == bmih->biBitCount, "bm.bmBitsPixel %d != %d\n", bm.bmBitsPixel, bmih->biBitCou… in test_dib_info() 1547 ok(bm.bmBitsPixel == 1, "wrong bm.bmBitsPixel %d\n", bm.bmBitsPixel); in test_bitmap() 1574 ok(bm.bmBitsPixel == 1, "wrong bm.bmBitsPixel %d\n", bm.bmBitsPixel); in test_bitmap() 2139 ok(bm.bmBitsPixel == 1, "wrong bmBitsPixel %d\n", bm.bmBitsPixel); in test_GetDIBits() 2255 ok(bm.bmBitsPixel == GetDeviceCaps(hdc, BITSPIXEL), "wrong bmBitsPixel %d\n", bm.bmBitsPixel); in test_GetDIBits() 2732 ok(bm.bmBitsPixel == 16, "wrong bmBitsPixel %d(15 bpp special)\n", bm.bmBitsPixel); in test_select_object() 2734 ok(bm.bmBitsPixel == depths[i], "wrong bmBitsPixel %d\n", bm.bmBitsPixel); in test_select_object() 2765 …ok_(__FILE__, line)(bm.bmBitsPixel == 1, "wrong bmBitsPixel, expected 1 got %d\n", bm.bmBitsPixel); in test_mono_1x1_bmp_dbg() 2828 bmp.bmBitsPixel = 1; in test_CreateBitmap() [all …]
|
/reactos/win32ss/user/user32/windows/ |
H A D | cursoricon.c | 334 if (bm.bmBitsPixel != 32) in create_alpha_bitmap() 815 pCursorData->bpp = bm.bmBitsPixel; in CURSORICON_GetCursorDataFromIconInfo() 1716 bi->bmiHeader.biBitCount = ds.dsBm.bmBitsPixel; in BITMAP_CopyImage() 1757 if (!monochrome && ds.dsBm.bmBitsPixel == 1) in BITMAP_CopyImage() 1783 monochrome = ds.dsBm.bmBitsPixel == 1; in BITMAP_CopyImage() 1814 copyContents = (ds.dsBm.bmBitsPixel == 1 || ds.dsBm.bmBitsPixel == screen_depth); in BITMAP_CopyImage()
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | bitmap.c | 334 bitmap = CreateBitmap(pbm->bmWidth, pbm->bmHeight, pbm->bmPlanes, pbm->bmBitsPixel, in CreateBitmapIndirect() 391 if (pDIBs->dsBm.bmBitsPixel <= 8) in CreateCompatibleBitmap()
|
/reactos/dll/win32/shell32/ |
H A D | iconcache.cpp | 183 if(ShortcutBitmapInfo.bmBitsPixel == 32) in SIC_OverlayShortcutImage() 193 if(TargetBitmapInfo.bmBitsPixel != 32) add_alpha = FALSE; in SIC_OverlayShortcutImage()
|
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/ |
H A D | bitblt.c | 100 nBPP = BM.bmPlanes * BM.bmBitsPixel; in EMFDRV_StretchBlt()
|
/reactos/dll/win32/windowscodecs/ |
H A D | imgfactory.c | 750 switch(bm.bmBitsPixel) in ImagingFactory_CreateBitmapFromHBITMAP() 788 FIXME("unsupported %d bpp\n", bm.bmBitsPixel); in ImagingFactory_CreateBitmapFromHBITMAP() 905 if (bm.bmBitsPixel == 32) in ImagingFactory_CreateBitmapFromHICON()
|