Home
last modified time | relevance | path

Searched refs:pbmih (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp19 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)result.GetBuffer(len); in GetBitmapInfo() local
20 FXSYS_memset32(pbmih, 0, sizeof (BITMAPINFOHEADER)); in GetBitmapInfo()
21 pbmih->biSize = sizeof(BITMAPINFOHEADER); in GetBitmapInfo()
22 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo()
23 pbmih->biCompression = BI_RGB; in GetBitmapInfo()
24 pbmih->biHeight = -(int)pBitmap->GetHeight(); in GetBitmapInfo()
25 pbmih->biPlanes = 1; in GetBitmapInfo()
26 pbmih->biWidth = pBitmap->GetWidth(); in GetBitmapInfo()
28 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1); in GetBitmapInfo()
40 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1); in GetBitmapInfo()
[all …]
Dfx_win32_gdipext.cpp1185 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)buf; in LoadDIBitmap() local
1186 pbmih->biBitCount = bpp; in LoadDIBitmap()
1187 pbmih->biCompression = BI_RGB; in LoadDIBitmap()
1188 pbmih->biHeight = -(int)height; in LoadDIBitmap()
1189 pbmih->biPlanes = 1; in LoadDIBitmap()
1190 pbmih->biWidth = width; in LoadDIBitmap()
/external/libpng/contrib/visupng/
DVisualPng.c156 static BITMAPINFOHEADER *pbmih; in WndProc() local
713 BITMAPINFOHEADER *pbmih; in DisplayImage() local
742 pbmih = (BITMAPINFOHEADER *) pDib; in DisplayImage()
743 pbmih->biSize = sizeof(BITMAPINFOHEADER); in DisplayImage()
744 pbmih->biWidth = cxWinSize; in DisplayImage()
745 pbmih->biHeight = -((long) cyWinSize); in DisplayImage()
746 pbmih->biPlanes = 1; in DisplayImage()
747 pbmih->biBitCount = 24; in DisplayImage()
748 pbmih->biCompression = 0; in DisplayImage()