Lines Matching refs:nScanlineSize
147 sal_uInt32 nHeaderSize, nScanlineSize; in X11_getPaletteBmpFromImage() local
154 nScanlineSize = (pImage->width+31)/32; in X11_getPaletteBmpFromImage()
159 nScanlineSize = (pImage->width+1)/2; in X11_getPaletteBmpFromImage()
165 nScanlineSize = pImage->width; in X11_getPaletteBmpFromImage()
170 if( nScanlineSize & 3 ) in X11_getPaletteBmpFromImage()
172 nScanlineSize &= 0xfffffffc; in X11_getPaletteBmpFromImage()
173 nScanlineSize += 4; in X11_getPaletteBmpFromImage()
177 rOutSize = nHeaderSize + nScanlineSize*pImage->height; in X11_getPaletteBmpFromImage()
181 sal_uInt8* pScanline = pBuffer + nHeaderSize + (pImage->height-1-y)*nScanlineSize; in X11_getPaletteBmpFromImage()
284 sal_uInt32 nScanlineSize = pImage->width*3; in X11_getTCBmpFromImage() local
287 if( nScanlineSize & 3 ) in X11_getTCBmpFromImage()
289 nScanlineSize &= 0xfffffffc; in X11_getTCBmpFromImage()
290 nScanlineSize += 4; in X11_getTCBmpFromImage()
300 rOutSize = nHeaderSize + nScanlineSize*pImage->height; in X11_getTCBmpFromImage()
304 sal_uInt8* pScanline = pBuffer + nHeaderSize + (pImage->height-1-y)*nScanlineSize; in X11_getTCBmpFromImage()
493 sal_uInt32 nScanlineSize = 0; in setBitmapDataPalette() local
497 nScanlineSize = (nWidth+31)/32; in setBitmapDataPalette()
500 nScanlineSize = (nWidth+1)/2; in setBitmapDataPalette()
503 nScanlineSize = nWidth; in setBitmapDataPalette()
507 if( nScanlineSize & 3 ) in setBitmapDataPalette()
509 nScanlineSize &= 0xfffffffc; in setBitmapDataPalette()
510 nScanlineSize += 4; in setBitmapDataPalette()
516 const sal_uInt8* pScanline = pBMData + (nHeight-1-y)*nScanlineSize; in setBitmapDataPalette()
582 sal_uInt32 nScanlineSize = nWidth*3; in setBitmapDataTCDither() local
584 if( nScanlineSize & 3 ) in setBitmapDataTCDither()
586 nScanlineSize &= 0xfffffffc; in setBitmapDataTCDither()
587 nScanlineSize += 4; in setBitmapDataTCDither()
592 const sal_uInt8* pScanline = pBMData + (nHeight-1-(sal_uInt32)y)*nScanlineSize; in setBitmapDataTCDither()
611 sal_uInt32 nScanlineSize = nWidth*3; in setBitmapDataTC() local
613 if( nScanlineSize & 3 ) in setBitmapDataTC()
615 nScanlineSize &= 0xfffffffc; in setBitmapDataTC()
616 nScanlineSize += 4; in setBitmapDataTC()
621 const sal_uInt8* pScanline = pBMData + (nHeight-1-(sal_uInt32)y)*nScanlineSize; in setBitmapDataTC()