Home
last modified time | relevance | path

Searched refs:pbmi (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp54 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, in _FX_WindowsDIB_LoadFromBuf() argument
57 int width = pbmi->bmiHeader.biWidth; in _FX_WindowsDIB_LoadFromBuf()
58 int height = pbmi->bmiHeader.biHeight; in _FX_WindowsDIB_LoadFromBuf()
64 int pitch = (width * pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in _FX_WindowsDIB_LoadFromBuf()
67 ? (FXDIB_Format)(pbmi->bmiHeader.biBitCount + 0x200) in _FX_WindowsDIB_LoadFromBuf()
68 : (FXDIB_Format)pbmi->bmiHeader.biBitCount; in _FX_WindowsDIB_LoadFromBuf()
89 if (pbmi->bmiHeader.biBitCount == 1) { in _FX_WindowsDIB_LoadFromBuf()
91 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf()
93 } else if (pbmi->bmiHeader.biBitCount == 8) { in _FX_WindowsDIB_LoadFromBuf()
95 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf()
[all …]
Dfx_win32_gdipext.cpp1392 BITMAPINFO* pbmi; member
1470 pInfo->pbmi = (BITMAPINFO*)buf; in LoadDIBitmap()
1484 FX_Free((LPBYTE)pInfo->pbmi); in FreeDIBitmap()
1490 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi,
1498 int height = abs(pInfo->pbmi->bmiHeader.biHeight); in LoadDIBitmap()
1499 int width = pInfo->pbmi->bmiHeader.biWidth; in LoadDIBitmap()
1500 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in LoadDIBitmap()
1511 pInfo->pbmi, pData, pInfo->pbmi->bmiHeader.biBitCount == 32); in LoadDIBitmap()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesa.c153 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/
Dfx_ge_win32.h29 static CFX_DIBitmap* LoadFromBuf(BITMAPINFO* pbmi, void* pData);