Searched refs:pbmi (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 52 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, LPVOID pData, FX_BOOL bAlpha) in _FX_WindowsDIB_LoadFromBuf() argument 54 int width = pbmi->bmiHeader.biWidth; in _FX_WindowsDIB_LoadFromBuf() 55 int height = pbmi->bmiHeader.biHeight; in _FX_WindowsDIB_LoadFromBuf() 61 int pitch = (width * pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in _FX_WindowsDIB_LoadFromBuf() 63 …FXDIB_Format format = bAlpha ? (FXDIB_Format)(pbmi->bmiHeader.biBitCount + 0x200) : (FXDIB_Format)… in _FX_WindowsDIB_LoadFromBuf() 83 if (pbmi->bmiHeader.biBitCount == 1) { in _FX_WindowsDIB_LoadFromBuf() 85 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf() 87 } else if (pbmi->bmiHeader.biBitCount == 8) { in _FX_WindowsDIB_LoadFromBuf() 89 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf() 94 CFX_DIBitmap* CFX_WindowsDIB::LoadFromBuf(BITMAPINFO* pbmi, LPVOID pData) in LoadFromBuf() argument [all …]
|
D | fx_win32_gdipext.cpp | 1135 BITMAPINFO* pbmi; member 1211 pInfo->pbmi = (BITMAPINFO*)buf; in LoadDIBitmap() 1225 FX_Free((LPBYTE)pInfo->pbmi); in FreeDIBitmap() 1231 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, LPVOID pData, FX_BOOL bAlpha); 1238 int height = abs(pInfo->pbmi->bmiHeader.biHeight); in LoadDIBitmap() 1239 int width = pInfo->pbmi->bmiHeader.biWidth; in LoadDIBitmap() 1240 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in LoadDIBitmap() 1249 …CFX_DIBitmap* pDIBitmap = _FX_WindowsDIB_LoadFromBuf(pInfo->pbmi, pData, pInfo->pbmi->bmiHeader.bi… in LoadDIBitmap()
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wmesa.c | 153 LPBITMAPINFO pbmi = &(pwfb->bmi); in wmCreateBackingStore() local 156 pbmi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in wmCreateBackingStore() 157 pbmi->bmiHeader.biWidth = lxSize; in wmCreateBackingStore() 158 pbmi->bmiHeader.biHeight= -lySize; in wmCreateBackingStore() 159 pbmi->bmiHeader.biPlanes = 1; in wmCreateBackingStore() 160 pbmi->bmiHeader.biBitCount = GetDeviceCaps(pwfb->hDC, BITSPIXEL); in wmCreateBackingStore() 161 pbmi->bmiHeader.biCompression = BI_RGB; in wmCreateBackingStore() 162 pbmi->bmiHeader.biSizeImage = 0; in wmCreateBackingStore() 163 pbmi->bmiHeader.biXPelsPerMeter = 0; in wmCreateBackingStore() 164 pbmi->bmiHeader.biYPelsPerMeter = 0; in wmCreateBackingStore() [all …]
|
/external/pdfium/core/include/fxge/ |
D | fx_ge_win32.h | 32 static CFX_DIBitmap* LoadFromBuf(BITMAPINFO* pbmi, void* pData);
|