Lines Matching refs:pScanline

116 inline void X11_writeScanlinePixel( unsigned long nColor, sal_uInt8* pScanline, int depth, int x )  in X11_writeScanlinePixel()  argument
121 pScanline[ x/8 ] &= ~(1 << (x&7)); in X11_writeScanlinePixel()
122 pScanline[ x/8 ] |= ((nColor & 1) << (x&7)); in X11_writeScanlinePixel()
125 pScanline[ x/2 ] &= ((x&1) ? 0x0f : 0xf0); in X11_writeScanlinePixel()
126 pScanline[ x/2 ] |= ((x&1) ? (nColor & 0x0f) : ((nColor & 0x0f) << 4)); in X11_writeScanlinePixel()
130 pScanline[ x ] = (nColor & 0xff); in X11_writeScanlinePixel()
181 sal_uInt8* pScanline = pBuffer + nHeaderSize + (pImage->height-1-y)*nScanlineSize; in X11_getPaletteBmpFromImage() local
187 X11_writeScanlinePixel( nPixel, pScanline, pImage->depth, x ); in X11_getPaletteBmpFromImage()
304 sal_uInt8* pScanline = pBuffer + nHeaderSize + (pImage->height-1-y)*nScanlineSize; in X11_getTCBmpFromImage() local
312 *pScanline++ = nValue; in X11_getTCBmpFromImage()
317 *pScanline++ = nValue; in X11_getTCBmpFromImage()
322 *pScanline++ = nValue; in X11_getTCBmpFromImage()
516 const sal_uInt8* pScanline = pBMData + (nHeight-1-y)*nScanlineSize; in setBitmapDataPalette() local
522 case 1: nCol = (pScanline[ x/8 ] & (0x80 >> (x&7))) != 0 ? 0 : 1; break; in setBitmapDataPalette()
525 nCol = (int)(pScanline[ x/2 ] >> 4); in setBitmapDataPalette()
527 nCol = (int)(pScanline[ x/2 ] & 0x0f); in setBitmapDataPalette()
529 case 8: nCol = (int)pScanline[x]; in setBitmapDataPalette()
592 const sal_uInt8* pScanline = pBMData + (nHeight-1-(sal_uInt32)y)*nScanlineSize; in setBitmapDataTCDither() local
595 sal_uInt8 b = pScanline[3*x]; in setBitmapDataTCDither()
596 sal_uInt8 g = pScanline[3*x+1]; in setBitmapDataTCDither()
597 sal_uInt8 r = pScanline[3*x+2]; in setBitmapDataTCDither()
621 const sal_uInt8* pScanline = pBMData + (nHeight-1-(sal_uInt32)y)*nScanlineSize; in setBitmapDataTC() local
624 unsigned long nPixel = getTCPixel( pScanline[3*x+2], pScanline[3*x+1], pScanline[3*x] ); in setBitmapDataTC()