Lines Matching refs:biBitCount
22 pbmih->biBitCount = pBitmap->GetBPP();
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) {
214 if (bmih.biBitCount == 1 || bmih.biBitCount == 8) {
216 if (bmih.biBitCount == 8) {
229 pbmih->bmiHeader.biBitCount = bmih.biBitCount;
234 if (!pDIBitmap->Create(bmih.biWidth, height, bmih.biBitCount == 1 ? FXDIB_1bppRgb : FXDIB_8bppRgb)) {
247 if (bmih.biBitCount <= 24) {
248 bmih.biBitCount = 24;
250 bmih.biBitCount = 32;
252 if (!pDIBitmap->Create(bmih.biWidth, height, bmih.biBitCount == 24 ? FXDIB_Rgb : FXDIB_Rgb32)) {
260 if (ret != 0 && bmih.biBitCount == 32) {
288 bmih.biBitCount = 24;