/dports/games/scorched3d/scorched-dep-win32/include/wx/wx/msw/ |
H A D | dibutils.h | 62 #define wxHandleFromDib(lpbi) GlobalHandle(lpbi) argument 64 #define wxHandleFromDib(lpbi) (HANDLE)GlobalHandle(SELECTOROF(lpbi)) argument 79 #define wxDibWidthBytes(lpbi) wxDibWidthBytesN(lpbi, (lpbi)->biBitCount) argument 81 #define wxDibSizeImage(lpbi) ((lpbi)->biSizeImage == 0 \ argument 85 #define wxDibSize(lpbi) ((lpbi)->biSize + (lpbi)->biSizeImage + (int)(lpbi)->biClrUsed * … argument 88 #define wxDibFlipY(lpbi, y) ((int)(lpbi)->biHeight-1-(y)) argument 96 #define wxDibPtr(lpbi) (LPVOID)(wxDibColors(lpbi) + (UINT)(lpbi)->biClrUsed) argument 99 #define wxDibColors(lpbi) ((RGBQUAD FAR *)((LPBYTE)(lpbi) + (int)(lpbi)->biSize)) argument 101 #define wxDibNumColors(lpbi) ((lpbi)->biClrUsed == 0 && (lpbi)->biBitCount <= 8 \ argument 110 #define wxDibXY(lpbi,x,y) wxDibXYN(lpbi,wxDibPtr(lpbi),x,y,(lpbi)->biBitCount) argument [all …]
|
H A D | curicop.h | 24 #define IS_WIN30_DIB( lpbi) ((*(LPDWORD)( lpbi)) == sizeof( BITMAPINFOHEADER)) argument 27 WORD PaletteSize(LPSTR lpbi);
|
/dports/emulators/vba/VisualBoyAdvance-1.7.2/win32/include/cximage/ |
H A D | ximabmp.h | 76 #define DibWidthBytesN(lpbi, n) (UINT)WIDTHBYTES((UINT)(lpbi)->biWidth * (UINT)(n)) argument 77 #define DibWidthBytes(lpbi) DibWidthBytesN(lpbi, (lpbi)->biBitCount) argument 79 #define DibSizeImage(lpbi) ((lpbi)->biSizeImage == 0 \ argument 80 … ? ((DWORD)(UINT)DibWidthBytes(lpbi) * (DWORD)(UINT)(lpbi)->biHeight) \ 81 : (lpbi)->biSizeImage) 83 #define DibNumColors(lpbi) ((lpbi)->biClrUsed == 0 && (lpbi)->biBitCount <= 8 \ argument 85 : (int)(lpbi)->biClrUsed) 87 #define FixBitmapInfo(lpbi) if ((lpbi)->biSizeImage == 0) \ argument 88 (lpbi)->biSizeImage = DibSizeImage(lpbi); \ 89 if ((lpbi)->biClrUsed == 0) \ [all …]
|
/dports/games/angband/Angband-4.2.2/src/win/ |
H A D | readdib.c | 180 LPBITMAPINFOHEADER lpbi; in ReadDIB() local 216 lpbi->biBitCount = ((LPBITMAPCOREHEADER)lpbi)->bcBitCount; in ReadDIB() 217 lpbi->biPlanes = ((LPBITMAPCOREHEADER)lpbi)->bcPlanes; in ReadDIB() 218 lpbi->biHeight = ((LPBITMAPCOREHEADER)lpbi)->bcHeight; in ReadDIB() 219 lpbi->biWidth = ((LPBITMAPCOREHEADER)lpbi)->bcWidth; in ReadDIB() 243 lpbi->biSizeImage = (((((lpbi->biWidth * (DWORD)lpbi->biBitCount) + 31) & ~31) >> 3) in ReadDIB() 250 lpbi->biSizeImage /= 2; in ReadDIB() 268 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBQUAD)); in ReadDIB() 276 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBTRIPLE)); in ReadDIB() 278 pQuad = (RGBQUAD FAR *)((LPSTR)lpbi + lpbi->biSize); in ReadDIB() [all …]
|
/dports/games/tomenet/tomenet-4.6.0/src/client/ |
H A D | readdib.c | 179 LPBITMAPINFOHEADER lpbi; in ReadDIB() local 220 lpbi->biBitCount = ((LPBITMAPCOREHEADER)lpbi)->bcBitCount; in ReadDIB() 221 lpbi->biPlanes = ((LPBITMAPCOREHEADER)lpbi)->bcPlanes; in ReadDIB() 222 lpbi->biHeight = ((LPBITMAPCOREHEADER)lpbi)->bcHeight; in ReadDIB() 223 lpbi->biWidth = ((LPBITMAPCOREHEADER)lpbi)->bcWidth; in ReadDIB() 247 lpbi->biSizeImage = (((((lpbi->biWidth * (DWORD)lpbi->biBitCount) + 31) & ~31) >> 3) in ReadDIB() 254 lpbi->biSizeImage /= 2; in ReadDIB() 272 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBQUAD)); in ReadDIB() 280 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBTRIPLE)); in ReadDIB() 282 pQuad = (RGBQUAD FAR *)((LPSTR)lpbi + lpbi->biSize); in ReadDIB() [all …]
|
/dports/games/mangband/mangband-1.5.3/src/client/win/ |
H A D | readdib.c | 195 LPBITMAPINFOHEADER lpbi; in ReadDIB() local 289 _LREAD(lpbi->biWidth); in ReadDIB() 290 _LREAD(lpbi->biHeight); in ReadDIB() 291 _LREAD(lpbi->biPlanes); in ReadDIB() 307 if (lpbi->biBitCount != 24) nNumColors = 1 << lpbi->biBitCount; in ReadDIB() 311 if (lpbi->biClrUsed == 0) lpbi->biClrUsed = nNumColors; in ReadDIB() 314 lpbi->biSizeImage = (((((lpbi->biWidth * (DWORD)lpbi->biBitCount) + 31) in ReadDIB() 333 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBQUAD)); in ReadDIB() 340 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBTRIPLE)); in ReadDIB() 342 pQuad = (RGBQUAD FAR *)((LPSTR)lpbi + lpbi->biSize); in ReadDIB() [all …]
|
/dports/games/zangband/zangband/src/ |
H A D | readdib.c | 188 LPBITMAPINFOHEADER lpbi; in ReadDIB() local 224 lpbi->biBitCount = ((LPBITMAPCOREHEADER)lpbi)->bcBitCount; in ReadDIB() 225 lpbi->biPlanes = ((LPBITMAPCOREHEADER)lpbi)->bcPlanes; in ReadDIB() 226 lpbi->biHeight = ((LPBITMAPCOREHEADER)lpbi)->bcHeight; in ReadDIB() 227 lpbi->biWidth = ((LPBITMAPCOREHEADER)lpbi)->bcWidth; in ReadDIB() 251 lpbi->biSizeImage = (((((lpbi->biWidth * (DWORD)lpbi->biBitCount) + 31) & ~31) >> 3) in ReadDIB() 258 lpbi->biSizeImage /= 2; in ReadDIB() 276 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBQUAD)); in ReadDIB() 284 _lread(fh, (LPSTR)(lpbi) + lpbi->biSize, nNumColors * sizeof(RGBTRIPLE)); in ReadDIB() 286 pQuad = (RGBQUAD FAR *)((LPSTR)lpbi + lpbi->biSize); in ReadDIB() [all …]
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/win32/dibutils/ |
H A D | dibutils.c | 155 lread(fh, (LPSTR)lpbi + (WORD)lpbi->biSize + PaletteSize(lpbi), dwBits); in OpenDIB() 255 … lpbi->biSizeImage = WIDTHBYTES(lpbi->biWidth*lpbi->biBitCount) * lpbi->biHeight; in DibInfo() 287 if (!lpbi) in CreateBIPalette() 294 pRgb = (RGBQUAD FAR *)((LPSTR)lpbi + (WORD)lpbi->biSize); in CreateBIPalette() 802 (LPBYTE)lpbi + (WORD)lpbi->biSize + PaletteSize(lpbi), in DibFromBitmap() 922 if (!lpbi) in BitmapFromDib() 935 (LPSTR)lpbi + lpbi->biSize + PaletteSize(lpbi), in BitmapFromDib() 1021 if (!lpbi) in DibBlt() 1024 pBuf = (LPSTR)lpbi + (WORD)lpbi->biSize + PaletteSize(lpbi); in DibBlt() 1075 if (!lpbi) in StretchDibBlt() [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/windows/ |
H A D | pvbitmap.cpp | 155 *lpbi = bi; in CreateDIB() 790 *lpbi = bi; in BitmapToDIB() 799 bi = *lpbi; in BitmapToDIB() 837 bi = *lpbi; in BitmapToDIB() 1022 *lpbi = bi; in AllocRoomForDIB() 1033 lpbi->biSizeImage = WIDTHBYTES((DWORD)lpbi->biWidth * lpbi->biBitCount) * in AllocRoomForDIB() 1203 (LPSTR)lpbi + (WORD)lpbi->biSize + PaletteSize((LPSTR)lpbi), in ChangeDIBFormat() 1363 (LPSTR)lpbi + (WORD)lpbi->biSize + PaletteSize((LPSTR)lpbi), in ChangeBitmapFormat() 1660 if (!lpbi) in ReadDIBFile() 1708 lpbi->biSizeImage = ((((lpbi->biWidth * (DWORD)lpbi->biBitCount) + 31) & ~31) >> 3) in ReadDIBFile() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Examples/GUI/Win32/SampleMFC/ |
H A D | vtkMFCView.cpp | 103 lpbi = (LPBITMAPINFOHEADER) ::GlobalLock(hDIB); in OnEditCopy() 105 lpbi->biSize = sizeof(BITMAPINFOHEADER); in OnEditCopy() 106 lpbi->biWidth = size[0]; in OnEditCopy() 107 lpbi->biHeight = size[1]; in OnEditCopy() 108 lpbi->biPlanes = 1; in OnEditCopy() 109 lpbi->biBitCount = 24; in OnEditCopy() 110 lpbi->biCompression = BI_RGB; in OnEditCopy() 111 lpbi->biClrUsed = 0; in OnEditCopy() 112 lpbi->biClrImportant = 0; in OnEditCopy() 113 lpbi->biSizeImage = dataWidth*size[1]; in OnEditCopy() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Examples/GUI/Win32/SampleMFC/ |
H A D | vtkMFCView.cpp | 103 lpbi = (LPBITMAPINFOHEADER) ::GlobalLock(hDIB); in OnEditCopy() 105 lpbi->biSize = sizeof(BITMAPINFOHEADER); in OnEditCopy() 106 lpbi->biWidth = size[0]; in OnEditCopy() 107 lpbi->biHeight = size[1]; in OnEditCopy() 108 lpbi->biPlanes = 1; in OnEditCopy() 109 lpbi->biBitCount = 24; in OnEditCopy() 110 lpbi->biCompression = BI_RGB; in OnEditCopy() 111 lpbi->biClrUsed = 0; in OnEditCopy() 112 lpbi->biClrImportant = 0; in OnEditCopy() 113 lpbi->biSizeImage = dataWidth*size[1]; in OnEditCopy() [all …]
|
/dports/math/vtk9/VTK-9.1.0/IO/Movie/ |
H A D | vtkAVIWriter.cxx | 41 LPBITMAPINFOHEADER lpbi; // pointer to BITMAPINFOHEADER member in vtkAVIWriterInternal 191 this->Internals->lpbi->biPlanes = 1; in Start() 192 this->Internals->lpbi->biBitCount = 24; in Start() 193 this->Internals->lpbi->biCompression = BI_RGB; in Start() 194 this->Internals->lpbi->biClrUsed = 0; in Start() 195 this->Internals->lpbi->biClrImportant = 0; in Start() 199 this->Internals->StreamCompressed, 0, this->Internals->lpbi, this->Internals->lpbi->biSize)) in Start() 233 unsigned char* dest = (unsigned char*)this->Internals->lpbi + this->Internals->lpbi->biSize; in Write() 235 for (i = 0; i < this->Internals->lpbi->biHeight; i++) in Write() 237 for (j = 0; j < this->Internals->lpbi->biWidth; j++) in Write() [all …]
|
/dports/math/vtk8/VTK-8.2.0/IO/Movie/ |
H A D | vtkAVIWriter.cxx | 193 this->Internals->lpbi->biSize = sizeof(BITMAPINFOHEADER); in Start() 196 this->Internals->lpbi->biPlanes = 1; in Start() 197 this->Internals->lpbi->biBitCount = 24; in Start() 198 this->Internals->lpbi->biCompression = BI_RGB; in Start() 199 this->Internals->lpbi->biClrUsed = 0; in Start() 200 this->Internals->lpbi->biClrImportant = 0; in Start() 204 this->Internals->lpbi, this->Internals->lpbi->biSize)) in Start() 237 = (unsigned char *)this->Internals->lpbi + this->Internals->lpbi->biSize; in Write() 239 for (i = 0; i < this->Internals->lpbi->biHeight; i++) in Write() 241 for (j = 0; j < this->Internals->lpbi->biWidth; j++) in Write() [all …]
|
/dports/math/vtk6/VTK-6.2.0/IO/Movie/ |
H A D | vtkAVIWriter.cxx | 196 this->Internals->lpbi->biSize = sizeof(BITMAPINFOHEADER); in Start() 199 this->Internals->lpbi->biPlanes = 1; in Start() 200 this->Internals->lpbi->biBitCount = 24; in Start() 201 this->Internals->lpbi->biCompression = BI_RGB; in Start() 202 this->Internals->lpbi->biClrUsed = 0; in Start() 203 this->Internals->lpbi->biClrImportant = 0; in Start() 207 this->Internals->lpbi, this->Internals->lpbi->biSize)) in Start() 240 = (unsigned char *)this->Internals->lpbi + this->Internals->lpbi->biSize; in Write() 242 for (i = 0; i < this->Internals->lpbi->biHeight; i++) in Write() 244 for (j = 0; j < this->Internals->lpbi->biWidth; j++) in Write() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/win/ |
H A D | tkWinSysTray.c | 167 LPBITMAPINFO lpbi; in DrawANDMask() local 179 lpbi->bmiHeader.biWidth = lpIcon->lpbi->bmiHeader.biWidth; in DrawANDMask() 180 lpbi->bmiHeader.biHeight = lpIcon->lpbi->bmiHeader.biHeight / 2; in DrawANDMask() 181 lpbi->bmiHeader.biPlanes = 1; in DrawANDMask() 182 lpbi->bmiHeader.biBitCount = 1; in DrawANDMask() 184 lpbi->miHeader.biSizeImage = 0; in DrawANDMask() 187 lpbi->bmiHeader.biClrUsed = 0; in DrawANDMask() 189 lpbi->bmiColors[0].rgbRed = 0; in DrawANDMask() 190 lpbi->bmiColors[0].rgbGreen = 0; in DrawANDMask() 191 lpbi->bmiColors[0].rgbBlue = 0; in DrawANDMask() [all …]
|
H A D | tkWinIco.c | 32 LPSTR lpbi) in DIBNumColors() argument 37 dwClrUsed = ((LPBITMAPINFOHEADER) lpbi)->biClrUsed; in DIBNumColors() 43 wBitCount = ((LPBITMAPINFOHEADER) lpbi)->biBitCount; in DIBNumColors() 72 LPSTR lpbi) in PaletteSize() argument 74 return (WORD) (DIBNumColors(lpbi) * sizeof(RGBQUAD)); in PaletteSize() 96 LPSTR lpbi) in FindDIBBits() argument 98 return lpbi + *((LPDWORD) lpbi) + PaletteSize(lpbi); in FindDIBBits()
|
/dports/multimedia/mplayer/mplayer-export-2021-12-29/loader/ |
H A D | vfl.c | 133 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompress() argument 140 icd.lpbiOutput = lpbi; in ICDecompress() 151 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompressEx() argument 160 icd.lpbiDst = lpbi; in ICDecompressEx() 168 icd.dxDst=lpbi->biWidth; in ICDecompressEx() 169 icd.dyDst=abs(lpbi->biHeight); in ICDecompressEx() 177 ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi) { in ICUniversalEx() argument 186 icd.lpbiDst = lpbi; in ICUniversalEx() 194 icd.dxDst=lpbi->biWidth; in ICUniversalEx() 195 icd.dyDst=abs(lpbi->biHeight); in ICUniversalEx()
|
/dports/multimedia/mencoder/mplayer-export-2021-12-29/loader/ |
H A D | vfl.c | 133 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompress() argument 140 icd.lpbiOutput = lpbi; in ICDecompress() 151 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompressEx() argument 160 icd.lpbiDst = lpbi; in ICDecompressEx() 168 icd.dxDst=lpbi->biWidth; in ICDecompressEx() 169 icd.dyDst=abs(lpbi->biHeight); in ICDecompressEx() 177 ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi) { in ICUniversalEx() argument 186 icd.lpbiDst = lpbi; in ICUniversalEx() 194 icd.dxDst=lpbi->biWidth; in ICUniversalEx() 195 icd.dyDst=abs(lpbi->biHeight); in ICUniversalEx()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/libw32dll/wine/ |
H A D | vfl.c | 134 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompress() argument 141 icd.lpbiOutput = lpbi; in ICDecompress() 152 …ic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) { in ICDecompressEx() argument 161 icd.lpbiDst = lpbi; in ICDecompressEx() 169 icd.dxDst=lpbi->biWidth; in ICDecompressEx() 170 icd.dyDst=abs(lpbi->biHeight); in ICDecompressEx() 178 ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi) { in ICUniversalEx() argument 187 icd.lpbiDst = lpbi; in ICUniversalEx() 195 icd.dxDst=lpbi->biWidth; in ICUniversalEx() 196 icd.dyDst=abs(lpbi->biHeight); in ICUniversalEx()
|
H A D | vfw.h | 223 #define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL) argument 375 … hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits); 376 … hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits); 377 …g VFWAPIV ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi); 410 #define ICDecompressGetFormatSize(hic, lpbi) \ argument 411 ICDecompressGetFormat(hic, lpbi, NULL) 456 LPBITMAPINFOHEADER lpbi, /* format of frame to draw */ 475 LPBITMAPINFOHEADER lpbi; member
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/twain/ |
H A D | ttwain_utilW.c | 28 static LPBYTE get_buffer(LPBITMAPINFOHEADER lpbi, int *iud) { in get_buffer() argument 29 LPBYTE buf = (LPBYTE)lpbi + lpbi->biSize + BmiColorTableBytes(lpbi); in get_buffer() 30 *iud = (lpbi->biHeight > 0); in get_buffer()
|
/dports/comms/linrad/linrad-04.02/ |
H A D | wmain.c | 49 LPBITMAPINFO lpbi; in WinMain() local 208 lpbi->bmiHeader.biWidth = screen_width; in WinMain() 210 lpbi->bmiHeader.biPlanes = 1; in WinMain() 211 lpbi->bmiHeader.biBitCount = 8; in WinMain() 213 lpbi->bmiHeader.biSizeImage = 0; in WinMain() 214 lpbi->bmiHeader.biXPelsPerMeter = 0; in WinMain() 215 lpbi->bmiHeader.biYPelsPerMeter = 0; in WinMain() 216 lpbi->bmiHeader.biClrUsed = 0; in WinMain() 217 lpbi->bmiHeader.biClrImportant = 0; in WinMain() 223 lpbi->bmiColors[i].rgbReserved=0; in WinMain() [all …]
|
/dports/math/osi/Osi-0.108.6/Osi/examples/ |
H A D | opbdp_solve.cpp | 275 LPBIneq lpbi(row,rhs); in solve() local 276 pbcs.add(lpbi); in solve() 295 LPBIneq lpbi(row,rhs); in solve() local 296 pbcs.add(lpbi); in solve() 310 LPBIneq lpbi(row,rhs); in solve() local 311 pbcs.add(lpbi); in solve() 326 LPBIneq lpbi(row,rhs); in solve() local 327 pbcs.add(lpbi); in solve() 341 LPBIneq lpbi(row,rhs); in solve() local 342 pbcs.add(lpbi); in solve()
|
/dports/math/clp/Clp-1.17.3/Osi/examples/ |
H A D | opbdp_solve.cpp | 275 LPBIneq lpbi(row,rhs); in solve() local 276 pbcs.add(lpbi); in solve() 295 LPBIneq lpbi(row,rhs); in solve() local 296 pbcs.add(lpbi); in solve() 310 LPBIneq lpbi(row,rhs); in solve() local 311 pbcs.add(lpbi); in solve() 326 LPBIneq lpbi(row,rhs); in solve() local 327 pbcs.add(lpbi); in solve() 341 LPBIneq lpbi(row,rhs); in solve() local 342 pbcs.add(lpbi); in solve()
|
/dports/multimedia/mencoder/mplayer-export-2021-12-29/loader/wine/ |
H A D | vfw.h | 227 #define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL) argument 379 … hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits); 380 … hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits); 381 …g VFWAPIV ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi); 414 #define ICDecompressGetFormatSize(hic, lpbi) \ argument 415 ICDecompressGetFormat(hic, lpbi, NULL) 458 LPBITMAPINFOHEADER lpbi, /* format of frame to draw */ 477 LPBITMAPINFOHEADER lpbi; member
|