Searched refs:pbmi (Results 1 – 4 of 4) sorted by relevance
59 RetainPtr<CFX_DIBitmap> FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, in FX_WindowsDIB_LoadFromBuf() argument62 int width = pbmi->bmiHeader.biWidth; in FX_WindowsDIB_LoadFromBuf()63 int height = pbmi->bmiHeader.biHeight; in FX_WindowsDIB_LoadFromBuf()69 int pitch = (width * pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in FX_WindowsDIB_LoadFromBuf()72 ? (FXDIB_Format)(pbmi->bmiHeader.biBitCount + 0x200) in FX_WindowsDIB_LoadFromBuf()73 : (FXDIB_Format)pbmi->bmiHeader.biBitCount; in FX_WindowsDIB_LoadFromBuf()92 if (pbmi->bmiHeader.biBitCount == 1) { in FX_WindowsDIB_LoadFromBuf()94 pBitmap->SetPaletteArgb(i, ((uint32_t*)pbmi->bmiColors)[i] | 0xff000000); in FX_WindowsDIB_LoadFromBuf()95 } else if (pbmi->bmiHeader.biBitCount == 8) { in FX_WindowsDIB_LoadFromBuf()97 pBitmap->SetPaletteArgb(i, ((uint32_t*)pbmi->bmiColors)[i] | 0xff000000); in FX_WindowsDIB_LoadFromBuf()[all …]
645 BITMAPINFO* pbmi; member722 pInfo->pbmi = (BITMAPINFO*)buf; in LoadDIBitmap()736 FX_Free((LPBYTE)pInfo->pbmi); in FreeDIBitmap()972 int height = abs(pInfo->pbmi->bmiHeader.biHeight); in LoadDIBitmap()973 int width = pInfo->pbmi->bmiHeader.biWidth; in LoadDIBitmap()974 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in LoadDIBitmap()985 pInfo->pbmi, pData, pInfo->pbmi->bmiHeader.biBitCount == 32); in LoadDIBitmap()
33 static RetainPtr<CFX_DIBitmap> LoadFromBuf(BITMAPINFO* pbmi, void* pData);
28 RetainPtr<CFX_DIBitmap> FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi,