Home
last modified time | relevance | path

Searched refs:BITMAPINFO (Results 1 – 25 of 126) sorted by relevance

123456

/reactos/win32ss/gdi/ntgdi/
H A Ddib.h3 INT FASTCALL DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
4 HBITMAP APIENTRY DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HAN…
8 HPALETTE FASTCALL DIB_MapPaletteColors(PPALETTE ppal, CONST BITMAPINFO* lpbmi);
9 HPALETTE FASTCALL BuildDIBPalette (CONST BITMAPINFO *bmi);
12 BITMAPINFO* FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO* bmi, DWORD Usage);
14 VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO* converted, BITMAPINFO* orig, DWORD Usage);
H A Ddibobj.c42 _In_ const BITMAPINFO *pbmi, in CreateDIBPalette()
246 CONST BITMAPINFO *bmi, in IntSetDIBits()
783 Info = DIB_ConvertBitmapInfo((BITMAPINFO*)pbmci, Usage); in GreGetDIBitsInternal()
1097 DIB_FreeConvertedBitmapInfo(Info, (BITMAPINFO*)pbmci, Usage); in GreGetDIBitsInternal()
1849 IN BITMAPINFO* bmi, in NtGdiCreateDIBSection()
1914 CONST BITMAPINFO *bmi, in DIB_CreateDIBSection()
2194 DIB_MapPaletteColors(PPALETTE ppalDc, CONST BITMAPINFO* lpbmi) in DIB_MapPaletteColors()
2236 BITMAPINFO*
2238 DIB_ConvertBitmapInfo (CONST BITMAPINFO* pbmi, DWORD Usage) in DIB_ConvertBitmapInfo()
2241 BITMAPINFO* pNewBmi ; in DIB_ConvertBitmapInfo()
[all …]
/reactos/modules/rostests/winetests/msvfw32/
H A Ddrawdib.c34 static inline DWORD get_stride(const BITMAPINFO *bmi) in get_stride()
39 static inline DWORD get_dib_size(const BITMAPINFO *bmi) in get_dib_size()
44 static char *hash_dib(const BITMAPINFO *bmi, const void *bits) in hash_dib()
78 static void init_bmi(BITMAPINFO *bmi, LONG width, LONG height, DWORD size) in init_bmi()
119 BITMAPINFO src_info, dst_info; in test_DrawDib_sizeimage()
H A Dmsvfw.c652 BITMAPINFO *out = (BITMAPINFO *)lparam2; in gdf_driver_proc()
657 ok(out == (BITMAPINFO *)gdf_out, "got output %p\n", out); in gdf_driver_proc()
683 char outbuf[FIELD_OFFSET(BITMAPINFO, bmiColors) + 256 * sizeof(RGBQUAD)]; in test_ICGetDisplayFormat()
685 char outbuf[FIELD_OFFSET(BITMAPINFO, bmiColors[256])]; in test_ICGetDisplayFormat()
687 BITMAPINFO *out_bmi; in test_ICGetDisplayFormat()
788 out_bmi = (BITMAPINFO *)gdf_out; in test_ICGetDisplayFormat()
/reactos/modules/rostests/apitests/gdi32/
H A DSetDIBits.c14 BITMAPINFO* pBMI = (BITMAPINFO*)buffer; in Test_SetDIBits()
54 BITMAPINFO* pBMI = (BITMAPINFO*)buffer; in Test_SetDIBits_1bpp()
H A DStretchBlt.c76 static inline int get_dib_image_size( const BITMAPINFO *info ) in get_dib_image_size()
82 static void check_StretchBlt_stretch(HDC hdcDst, HDC hdcSrc, BITMAPINFO *dst_info, UINT32 *dstBuffe… in check_StretchBlt_stretch()
101 static void test_StretchBlt_stretch(HDC hdcDst, HDC hdcSrc, BITMAPINFO *dst_info, UINT32 *dstBuffer… in test_StretchBlt_stretch()
129 BITMAPINFO biDst, biSrc; in test_StretchBlt()
133 memset(&biDst, 0, sizeof(BITMAPINFO)); in test_StretchBlt()
140 memcpy(&biSrc, &biDst, sizeof(BITMAPINFO)); in test_StretchBlt()
346 memset(&biDst, 0, sizeof(BITMAPINFO)); // Clear our Bitmap to to all zeroes in test_StretchBlt()
355 … memcpy(&biSrc, &biDst, sizeof(BITMAPINFO)); // Put same Destination params into the Source in test_StretchBlt()
510 BITMAPINFO biDst, biSrc; in test_StretchBlt_TopDownOptions()
513 memset(&biDst, 0, sizeof(BITMAPINFO)); in test_StretchBlt_TopDownOptions()
[all …]
H A DMaskBlt.c145 BITMAPINFO bmi1 = {{sizeof(BITMAPINFOHEADER), 8, 1, 1, 1, BI_RGB, 0, 10, 10, 0,0}}; in Test_MaskBlt_16bpp()
146 BITMAPINFO bmi32 = {{sizeof(BITMAPINFOHEADER), 8, 1, 1, 16, BI_RGB, 0, 10, 10, 0,0}}; in Test_MaskBlt_16bpp()
193 BITMAPINFO bmi1 = {{sizeof(BITMAPINFOHEADER), 8, 1, 1, 1, BI_RGB, 0, 10, 10, 0,0}}; in Test_MaskBlt_32bpp()
194 BITMAPINFO bmi32 = {{sizeof(BITMAPINFOHEADER), 8, 1, 1, 32, BI_RGB, 0, 10, 10, 0,0}}; in Test_MaskBlt_32bpp()
H A DCreateDIBitmap.c25 const BITMAPINFO *lpbmi, in GetExpected()
108 BITMAPINFO bmi = in Test_CreateDIBitmap_Params()
110 BITMAPINFO bmiBroken = in Test_CreateDIBitmap_Params()
265 BITMAPINFO *pbmi = (PVOID)&bmibuffer; in Test_CreateDIBitmap_DIB_PAL_COLORS()
309 BITMAPINFO bmi; in Test_CreateDIBitmap1()
423 BITMAPINFO bmi = in Test_CreateDIBitmap_CBM_CREATDIB()
/reactos/win32ss/gdi/gdi32/wine/
H A Dgdi_private.h142 extern BOOL get_brush_bitmap_info( HBRUSH handle, BITMAPINFO *info, void *bits, UINT *usage ) DECLS…
151 extern int bitmap_info_size( const BITMAPINFO * info, WORD coloruse ) DECLSPEC_HIDDEN;
205 static inline int get_dib_image_size( const BITMAPINFO *info ) in get_dib_image_size()
212 static inline int get_dib_info_size( const BITMAPINFO *info, UINT coloruse ) in get_dib_info_size()
218 return FIELD_OFFSET( BITMAPINFO, bmiColors[info->bmiHeader.biClrUsed] ); in get_dib_info_size()
270 …INT x_src, INT y_src, INT width_src, INT height_src, const void *bits, BITMAPINFO *info, UINT wUsa…
271 …t, INT x_src, INT y_src, UINT startscan, UINT lines, const void *bits, BITMAPINFO *info, UINT usag…
H A Demfdc.c138 BITMAPINFO *dib_info = (BITMAPINFO *)dib_info_buffer; in get_bitmap_info()
280 BITMAPINFO *info = (BITMAPINFO *)buffer; in emfdc_create_brush()
1324 BITMAPINFO src_info = {{ sizeof( src_info.bmiHeader ) }}; in emfdrv_stretchblt()
1328 BITMAPINFO *bmi; in emfdrv_stretchblt()
1381 bmi = (BITMAPINFO *)((BYTE *)emr + emr->offBmiSrc); in emfdrv_stretchblt()
1483 BITMAPINFO *mask_bits_info = (BITMAPINFO *)mask_info_buffer; in EMFDC_MaskBlt()
1490 BITMAPINFO *bmi; in EMFDC_MaskBlt()
1555 bmi = (BITMAPINFO *)((char *)emr + emr->offBmiSrc); in EMFDC_MaskBlt()
1589 BITMAPINFO *mask_bits_info = (BITMAPINFO *)mask_info_buffer; in EMFDC_PlgBlt()
1596 BITMAPINFO *bmi; in EMFDC_PlgBlt()
[all …]
/reactos/modules/rostests/winetests/gdi32/
H A Dbrush.c122 BITMAPINFO *info = (BITMAPINFO *)buffer; in test_pattern_brush()
192 ok( (BITMAPINFO *)br.lbHatch == info || broken(!br.lbHatch), /* nt4 */ in test_pattern_brush()
193 "wrong handle %p/%p\n", (BITMAPINFO *)br.lbHatch, info ); in test_pattern_brush()
206 ok( (BITMAPINFO *)br.lbHatch == info || broken(!br.lbHatch), /* nt4 */ in test_pattern_brush()
207 "wrong handle %p/%p\n", (BITMAPINFO *)br.lbHatch, info ); in test_pattern_brush()
277 BITMAPINFO *info = (BITMAPINFO *)buffer; in test_palette_brush()
H A Dbitmap.c132 BITMAPINFO bm; in test_createdibitmap()
381 BITMAPINFO *pbmi = (BITMAPINFO *)bmibuf; in test_dib_bits_access()
441 BITMAPINFO *pbmi = (BITMAPINFO *)bmibuf; in test_dibsections()
918 BITMAPINFO *bi; in test_dib_formats()
1304 BITMAPINFO *pbmi = (BITMAPINFO *)bmibuf; in test_mono_dibsection()
1617 BITMAPINFO *info = (BITMAPINFO *)buffer; in test_bitmap_colors()
2121 BITMAPINFO *bi = (BITMAPINFO *)bi_buf; in test_GetDIBits()
2877 BITMAPINFO bmi; in test_bitmapinfoheadersize()
3615 BITMAPINFO *bmi; in test_GdiAlphaBlend()
3995 BITMAPINFO *biDst = (BITMAPINFO *)buffer; in test_32bit_ddb()
[all …]
H A Ddib.c1135 static inline DWORD get_stride(const BITMAPINFO *bmi) in get_stride()
1140 static inline DWORD get_dib_size(const BITMAPINFO *bmi) in get_dib_size()
1145 static char *hash_dib(const BITMAPINFO *bmi, const void *bits) in hash_dib()
1529 static void draw_graphics(HDC hdc, const BITMAPINFO *bmi, BYTE *bits) in draw_graphics()
1541 BYTE dib_src_buf[sizeof(BITMAPINFO) + 256 * sizeof(RGBQUAD)]; in draw_graphics()
1543 BITMAPINFO *src_bi = (BITMAPINFO*)dib_src_buf; in draw_graphics()
1544 BITMAPINFO *brush_bi = (BITMAPINFO*)dib_brush_buf; in draw_graphics()
2762 static void draw_text_2( HDC hdc, const BITMAPINFO *bmi, BYTE *bits, BOOL aa ) in draw_text_2()
2878 static void draw_text( HDC hdc, const BITMAPINFO *bmi, BYTE *bits ) in draw_text()
2892 char bmibuf[sizeof(BITMAPINFO) + 256 * sizeof(RGBQUAD)]; in test_simple_graphics()
[all …]
/reactos/win32ss/gdi/gdi32/include/wine/
H A Dgdi_driver.h60 BITMAPINFO *info; /* DIB info */
74 …DWORD (*pBlendImage)(PHYSDEV,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,str…
113 DWORD (*pGetImage)(PHYSDEV,BITMAPINFO*,struct gdi_image_bits*,struct bitblt_coords*);
144 …DWORD (*pPutImage)(PHYSDEV,HRGN,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,…
166 …INT (*pSetDIBitsToDevice)(PHYSDEV,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,BITMAPINFO*,U…
189 …INT (*pStretchDIBits)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT,const void*,BITMAPINFO*,UINT,DW…
235 void* (*get_info)( struct window_surface *surface, BITMAPINFO *info );
/reactos/dll/win32/wing32/
H A Dwing32.c39 BOOL WINAPI WinGRecommendDIBFormat( BITMAPINFO *bmi ) in WinGRecommendDIBFormat()
61 HBITMAP WINAPI WinGCreateBitmap( HDC hdc, BITMAPINFO *bmi, void **bits ) in WinGCreateBitmap()
69 void * WINAPI WinGGetDIBPointer( HBITMAP hbmp, BITMAPINFO *bmi ) in WinGGetDIBPointer()
/reactos/win32ss/gdi/gdi32/objects/
H A Dbitmap.c66 const BITMAPINFO * info, in DIB_BitmapInfoSize()
210 BITMAPINFO *lpbmi) in GdiGetBitmapBitsSize()
247 CONST BITMAPINFO *BitmapInfo, in CreateDIBSection()
384 BITMAPINFO* pbmi = (BITMAPINFO*) &buffer.bmih; in CreateCompatibleBitmap()
453 const BITMAPINFO *Data, in CreateDIBitmap()
618 CONST BITMAPINFO *lpbmi, in SetDIBits()
720 CONST BITMAPINFO *lpbmi, in SetDIBitsToDevice()
1058 CONST BITMAPINFO *lpBitsInfo, in StretchDIBits()
1098 cjBmpScanSize = GdiGetBitmapBitsSize((BITMAPINFO *) pConvertedInfo); in StretchDIBits()
/reactos/win32ss/gdi/gdi32/wine/mfdrv/
H A Dbitblt.c82 lpBMI->biSizeImage = get_dib_image_size( (BITMAPINFO *)lpBMI ); in MFDRV_StretchBlt()
93 (LPSTR)lpBMI + get_dib_info_size( (BITMAPINFO *)lpBMI, DIB_RGB_COLORS ), in MFDRV_StretchBlt()
135 BITMAPINFO *info, UINT wUsage, DWORD dwRop ) in MFDRV_StretchDIBits()
168 UINT lines, LPCVOID bits, BITMAPINFO *info, UINT coloruse ) in MFDRV_SetDIBitsToDevice()
H A Dobjects.c180 char buffer[sizeof(BITMAPINFO) + 255 * sizeof(RGBQUAD)]; // ros in MFDRV_CreateBrushIndirect()
182 char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )]; in MFDRV_CreateBrushIndirect()
184 BITMAPINFO *dst_info, *src_info = (BITMAPINFO *)buffer; in MFDRV_CreateBrushIndirect()
200 dst_info = (BITMAPINFO *)(mr->rdParm + 2); in MFDRV_CreateBrushIndirect()
/reactos/modules/rostests/apitests/opengl32/
H A Dsw_extensions.c16 BITMAPINFO biDst; in START_TEST()
25 memset(&biDst, 0, sizeof(BITMAPINFO)); in START_TEST()
/reactos/modules/rostests/dibtests/alphablend/
H A Dalphablend.c68 BITMAPINFO bmpi;
72 ZeroMemory(&bmpi, sizeof(BITMAPINFO)); in ConvertBitmapTo32Bpp()
73 bmpi.bmiHeader.biSize = sizeof(BITMAPINFO); in ConvertBitmapTo32Bpp()
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiSetDIBitsToDeviceInternal.c59 (PVOID)InBits, (BITMAPINFO *)&bmi, DIB_RGB_COLORS, in START_TEST()
75 (PVOID)InBits, (BITMAPINFO *)&bmi, DIB_RGB_COLORS, in START_TEST()
/reactos/win32ss/user/user32/windows/
H A Dcursoricon.c248 BITMAPINFO *info; in stretch_blt_icon()
304 _In_opt_ BITMAPINFO *src_info, in create_alpha_bitmap()
328 BITMAPINFO *info = NULL; in create_alpha_bitmap()
614 _In_ const BITMAPINFO *pbmi in CURSORICON_GetCursorDataFromBMI()
624 BITMAPINFO* pbmiCopy; in CURSORICON_GetCursorDataFromBMI()
1005 const BITMAPINFO* pbmi; in CURSORICON_GetCursorDataFromANI()
1104 const BITMAPINFO* pbmi; in BITMAP_LoadImageW()
1105 BITMAPINFO* pbmiScaled = NULL; in BITMAP_LoadImageW()
1106 BITMAPINFO* pbmiCopy = NULL; in BITMAP_LoadImageW()
1633 (BITMAPINFO*)bits); in CURSORICON_LoadImageW()
[all …]
/reactos/dll/cpl/desk/
H A Ddibitmap.c31 lpBitmap->info = HeapAlloc(GetProcessHeap(), 0, sizeof(BITMAPINFO)); in DibLoadImage()
57 ZeroMemory(lpBitmap->info, sizeof(BITMAPINFO)); in DibLoadImage()
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/
H A Dobjects.c140 char buffer[sizeof(BITMAPINFO) + 255 * sizeof(RGBQUAD)]; // ros in EMFDRV_CreateBrushIndirect()
142 char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )]; in EMFDRV_CreateBrushIndirect()
144 BITMAPINFO *info = (BITMAPINFO *)buffer; in EMFDRV_CreateBrushIndirect()
/reactos/modules/rostests/dibtests/dibtest/
H A Ddibtest.c91 BITMAPINFO *BitmapInfo; in PaintCells()
95 BitmapInfo = malloc(sizeof(BITMAPINFO) + 15 * sizeof(RGBQUAD)); in PaintCells()

123456