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.cpp21 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)result.GetBuffer(len); in GetBitmapInfo() local
22 FXSYS_memset(pbmih, 0, sizeof(BITMAPINFOHEADER)); in GetBitmapInfo()
23 pbmih->biSize = sizeof(BITMAPINFOHEADER); in GetBitmapInfo()
24 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo()
25 pbmih->biCompression = BI_RGB; in GetBitmapInfo()
26 pbmih->biHeight = -(int)pBitmap->GetHeight(); in GetBitmapInfo()
27 pbmih->biPlanes = 1; in GetBitmapInfo()
28 pbmih->biWidth = pBitmap->GetWidth(); in GetBitmapInfo()
30 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1); in GetBitmapInfo()
42 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1); in GetBitmapInfo()
[all …]
Dfx_win32_gdipext.cpp1443 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)buf; in LoadDIBitmap() local
1444 pbmih->biBitCount = bpp; in LoadDIBitmap()
1445 pbmih->biCompression = BI_RGB; in LoadDIBitmap()
1446 pbmih->biHeight = -(int)height; in LoadDIBitmap()
1447 pbmih->biPlanes = 1; in LoadDIBitmap()
1448 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()