Lines Matching refs:sal_uInt8

72 static const sal_uInt8 mpDefaultColorTable[ 256 ] =
103 std::vector< sal_uInt8 >::iterator maDataIter;
111 sal_uInt8* mpInflateInBuf; // as big as the size of a scanline + alphachannel + 1
112 sal_uInt8* mpScanPrior; // pointer to the latest scanline
113 sal_uInt8* mpTransTab; // for transparency in images with palette colortype
114 sal_uInt8* mpScanCurrent; // pointer into the current scanline
115 sal_uInt8* mpColorTable; //
133 sal_uInt8 mnTransRed;
134 sal_uInt8 mnTransGreen;
135 sal_uInt8 mnTransBlue;
136 sal_uInt8 mnPngDepth; // pixel depth of PNG data
137 sal_uInt8 mnColorType;
138 sal_uInt8 mnCompressionType;
139 sal_uInt8 mnFilterType;
140 sal_uInt8 mnInterlaceType;
161 sal_uInt8* mpScanline;
162 sal_uInt8* mpScanlineAlpha;
169 void ImplSetPixel( sal_uInt32 y, sal_uInt32 x, sal_uInt8 nPalIndex );
171 … ImplSetAlphaPixel( sal_uInt32 y, sal_uInt32 x, sal_uInt8 nPalIndex, sal_uInt8 nAlpha…
172 void ImplSetAlphaPixel( sal_uInt32 y, sal_uInt32 x, const BitmapColor&, sal_uInt8 nAlpha );
180 sal_uInt8 ImplScaleColor();
209 mpColorTable ( (sal_uInt8*) mpDefaultColorTable ), in PNGReaderImpl()
317 sal_uInt8* pPtr = &rChunkData.aData[ nBytesRead ]; in ReadNextChunk()
458 sal_uInt8 nUnitSpecifier = *maDataIter++; in GetBitmapEx()
673 mpInflateInBuf = new (std::nothrow) sal_uInt8[ mnScansize ]; in ImplReadHeader()
675 mpScanPrior = new (std::nothrow) sal_uInt8[ mnScansize ]; in ImplReadHeader()
772 sal_uInt8 nRed = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
773 sal_uInt8 nGreen = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
774 sal_uInt8 nBlue = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
798 mpTransTab = new sal_uInt8[ 256 ]; in ImplReadTransparent()
802 sal_uInt8 nIndex = ImplScaleColor(); in ImplReadTransparent()
825 mpTransTab = new sal_uInt8 [ 256 ]; in ImplReadTransparent()
878 mpColorTable = new sal_uInt8[ 256 ]; in ImplGetGamma()
881 mpColorTable[ i ] = (sal_uInt8)(pow((double)i/255.0, fInvGamma) * 255.0 + 0.5); in ImplGetGamma()
901 mpAcc->Erase( mpAcc->GetPaletteColor( (sal_uInt8)nCol ) ); in ImplGetBackground()
915 sal_uInt8 nIndex = ImplScaleColor(); in ImplGetBackground()
926 sal_uInt8 nRed = ImplScaleColor(); in ImplGetBackground()
927 sal_uInt8 nGreen = ImplScaleColor(); in ImplGetBackground()
928 sal_uInt8 nBlue = ImplScaleColor(); in ImplGetBackground()
940 sal_uInt8 PNGReaderImpl::ImplScaleColor() in ImplScaleColor()
950 return (sal_uInt8) nCol; in ImplScaleColor()
1081 const sal_uInt8* const pScanEnd = mpInflateInBuf + mnScansize; in ImplApplyFilter()
1083 sal_uInt8 nFilterType = *mpInflateInBuf; // the filter type may change each scanline in ImplApplyFilter()
1093 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1094 const sal_uInt8* p2 = p1; in ImplApplyFilter()
1099 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1106 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1107 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1112 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1120 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1121 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1122 const sal_uInt8* p3 = p1; in ImplApplyFilter()
1126 *p1 = static_cast<sal_uInt8>( *p1 + (*p2 >> 1) ); in ImplApplyFilter()
1131 *p1 = static_cast<sal_uInt8>( *p1 + ((*(p2++) + *(p3++)) >> 1) ); in ImplApplyFilter()
1139 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1140 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1141 const sal_uInt8* p3 = p1; in ImplApplyFilter()
1142 const sal_uInt8* p4 = p2; in ImplApplyFilter()
1146 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1171 *p1 = static_cast<sal_uInt8>( *p1 + na ); in ImplApplyFilter()
1197 const sal_uInt8* pTmp = mpInflateInBuf + 1; in ImplDrawScanline()
1208 sal_uInt8 nCol; in ImplDrawScanline()
1213 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1225 sal_uInt8 nCol; in ImplDrawScanline()
1229 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1261 sal_uInt8 nCol; in ImplDrawScanline()
1411 mpScanline = new sal_uInt8[maOrigSize.Width() * 3]; in ImplDrawScanline()
1419 mpScanlineAlpha = new sal_uInt8[maOrigSize.Width()]; in ImplDrawScanline()
1431 sal_uInt8* pScanline(mpScanline); in ImplDrawScanline()
1432 sal_uInt8* pScanlineAlpha(mpScanlineAlpha); in ImplDrawScanline()
1512 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline()
1513 sal_uInt8 nGreen = pTmp[ 1 ]; in ImplDrawScanline()
1514 sal_uInt8 nBlue = pTmp[ 2 ]; in ImplDrawScanline()
1529 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline()
1530 sal_uInt8 nGreen = pTmp[ 2 ]; in ImplDrawScanline()
1531 sal_uInt8 nBlue = pTmp[ 4 ]; in ImplDrawScanline()
1556 mpScanline = new sal_uInt8[maOrigSize.Width() * 3]; in ImplDrawScanline()
1567 sal_uInt8* pScanline(mpScanline); in ImplDrawScanline()
1650 void PNGReaderImpl::ImplSetPixel( sal_uInt32 nY, sal_uInt32 nX, sal_uInt8 nPalIndex ) in ImplSetPixel()
1682 sal_uInt8 nPalIndex, sal_uInt8 nAlpha ) in ImplSetAlphaPixel()
1698 const BitmapColor& rBitmapColor, sal_uInt8 nAlpha ) in ImplSetAlphaPixel()