Lines Matching refs:pDIB
115 BitmapBuffer* pDIB = NULL; in ImplCreateDIB() local
121 pDIB = new BitmapBuffer; in ImplCreateDIB()
125 pDIB = NULL; in ImplCreateDIB()
128 if( pDIB ) in ImplCreateDIB()
132 pDIB->mnFormat = BMP_FORMAT_BOTTOM_UP; in ImplCreateDIB()
136 case( 1 ): pDIB->mnFormat |= BMP_FORMAT_1BIT_MSB_PAL; break; in ImplCreateDIB()
137 case( 4 ): pDIB->mnFormat |= BMP_FORMAT_4BIT_MSN_PAL; break; in ImplCreateDIB()
138 case( 8 ): pDIB->mnFormat |= BMP_FORMAT_8BIT_PAL; break; in ImplCreateDIB()
141 pDIB->mnFormat|= BMP_FORMAT_16BIT_TC_MSB_MASK; in ImplCreateDIB()
142 pDIB->maColorMask = ColorMask( 0xf800, 0x07e0, 0x001f ); in ImplCreateDIB()
146 pDIB->mnFormat|= BMP_FORMAT_16BIT_TC_LSB_MASK; in ImplCreateDIB()
147 pDIB->maColorMask = ColorMask( 0xf800, 0x07e0, 0x001f ); in ImplCreateDIB()
154 pDIB->mnFormat |= BMP_FORMAT_24BIT_TC_BGR; in ImplCreateDIB()
158 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB()
159 pDIB->mnHeight = rSize.Height(); in ImplCreateDIB()
160 pDIB->mnScanlineSize = AlignedWidth4Bytes( pDIB->mnWidth * nBitCount ); in ImplCreateDIB()
161 pDIB->mnBitCount = nBitCount; in ImplCreateDIB()
165 pDIB->maPalette = rPal; in ImplCreateDIB()
166 pDIB->maPalette.SetEntryCount( nColors ); in ImplCreateDIB()
171 pDIB->mpBits = new sal_uInt8[ pDIB->mnScanlineSize * pDIB->mnHeight ]; in ImplCreateDIB()
175 delete pDIB; in ImplCreateDIB()
176 pDIB = NULL; in ImplCreateDIB()
181 pDIB = NULL; in ImplCreateDIB()
183 return pDIB; in ImplCreateDIB()
194 BitmapBuffer* pDIB = NULL; in ImplCreateDIB() local
323 pDIB = StretchAndConvert( aSrcBuf, aTwoRect, nDstFormat, in ImplCreateDIB()
329 return pDIB; in ImplCreateDIB()