Lines Matching refs:bmiHeader
54 int width = pbmi->bmiHeader.biWidth;
55 int height = pbmi->bmiHeader.biHeight;
61 int pitch = (width * pbmi->bmiHeader.biBitCount + 31) / 32 * 4;
66 FXDIB_Format format = bAlpha ? (FXDIB_Format)(pbmi->bmiHeader.biBitCount + 0x200) : (FXDIB_Format)pbmi->bmiHeader.biBitCount;
92 if (pbmi->bmiHeader.biBitCount == 1) {
96 } else if (pbmi->bmiHeader.biBitCount == 8) {
228 pbmih->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
229 pbmih->bmiHeader.biBitCount = bmih.biBitCount;
230 pbmih->bmiHeader.biCompression = BI_RGB;
231 pbmih->bmiHeader.biHeight = -height;
232 pbmih->bmiHeader.biPlanes = 1;
233 pbmih->bmiHeader.biWidth = bmih.biWidth;