Searched refs:pbmi (Results 1 – 3 of 3) sorted by relevance
54 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, in _FX_WindowsDIB_LoadFromBuf() argument57 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, ((uint32_t*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf()93 } else if (pbmi->bmiHeader.biBitCount == 8) { in _FX_WindowsDIB_LoadFromBuf()95 pBitmap->SetPaletteEntry(i, ((uint32_t*)pbmi->bmiColors)[i] | 0xff000000); in _FX_WindowsDIB_LoadFromBuf()[all …]
32 static CFX_DIBitmap* LoadFromBuf(BITMAPINFO* pbmi, void* pData);
1394 BITMAPINFO* pbmi; member1473 pInfo->pbmi = (BITMAPINFO*)buf; in LoadDIBitmap()1488 FX_Free((LPBYTE)pInfo->pbmi); in FreeDIBitmap()1495 CFX_DIBitmap* _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi,1503 int height = abs(pInfo->pbmi->bmiHeader.biHeight); in LoadDIBitmap()1504 int width = pInfo->pbmi->bmiHeader.biWidth; in LoadDIBitmap()1505 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in LoadDIBitmap()1516 pInfo->pbmi, pData, pInfo->pbmi->bmiHeader.biBitCount == 32); in LoadDIBitmap()