Lines Matching refs:sal_uInt8
71 static const sal_uInt8 mpDefaultColorTable[ 256 ] =
102 std::vector< sal_uInt8 >::iterator maDataIter;
110 sal_uInt8* mpInflateInBuf; // as big as the size of a scanline + alphachannel + 1
111 sal_uInt8* mpScanPrior; // pointer to the latest scanline
112 sal_uInt8* mpTransTab; // for transparency in images with palette colortype
113 sal_uInt8* mpScanCurrent; // pointer into the current scanline
114 sal_uInt8* mpColorTable; //
132 sal_uInt8 mnTransRed;
133 sal_uInt8 mnTransGreen;
134 sal_uInt8 mnTransBlue;
135 sal_uInt8 mnPngDepth; // pixel depth of PNG data
136 sal_uInt8 mnColorType;
137 sal_uInt8 mnCompressionType;
138 sal_uInt8 mnFilterType;
139 sal_uInt8 mnInterlaceType;
160 sal_uInt8* mpScanline;
161 sal_uInt8* mpScanlineAlpha;
168 void ImplSetPixel( sal_uInt32 y, sal_uInt32 x, sal_uInt8 nPalIndex );
170 … ImplSetAlphaPixel( sal_uInt32 y, sal_uInt32 x, sal_uInt8 nPalIndex, sal_uInt8 nAlpha…
171 void ImplSetAlphaPixel( sal_uInt32 y, sal_uInt32 x, const BitmapColor&, sal_uInt8 nAlpha );
179 sal_uInt8 ImplScaleColor();
208 mpColorTable ( (sal_uInt8*) mpDefaultColorTable ), in PNGReaderImpl()
316 sal_uInt8* pPtr = &rChunkData.aData[ nBytesRead ]; in ReadNextChunk()
448 sal_uInt8 nUnitSpecifier = *maDataIter++; in GetBitmapEx()
663 mpInflateInBuf = new (std::nothrow) sal_uInt8[ mnScansize ]; in ImplReadHeader()
665 mpScanPrior = new (std::nothrow) sal_uInt8[ mnScansize ]; in ImplReadHeader()
762 sal_uInt8 nRed = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
763 sal_uInt8 nGreen = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
764 sal_uInt8 nBlue = mpColorTable[ *maDataIter++ ]; in ImplReadPalette()
788 mpTransTab = new sal_uInt8[ 256 ]; in ImplReadTransparent()
792 sal_uInt8 nIndex = ImplScaleColor(); in ImplReadTransparent()
815 mpTransTab = new sal_uInt8 [ 256 ]; in ImplReadTransparent()
868 mpColorTable = new sal_uInt8[ 256 ]; in ImplGetGamma()
871 mpColorTable[ i ] = (sal_uInt8)(pow((double)i/255.0, fInvGamma) * 255.0 + 0.5); in ImplGetGamma()
891 mpAcc->Erase( mpAcc->GetPaletteColor( (sal_uInt8)nCol ) ); in ImplGetBackground()
905 sal_uInt8 nIndex = ImplScaleColor(); in ImplGetBackground()
916 sal_uInt8 nRed = ImplScaleColor(); in ImplGetBackground()
917 sal_uInt8 nGreen = ImplScaleColor(); in ImplGetBackground()
918 sal_uInt8 nBlue = ImplScaleColor(); in ImplGetBackground()
930 sal_uInt8 PNGReaderImpl::ImplScaleColor() in ImplScaleColor()
940 return (sal_uInt8) nCol; in ImplScaleColor()
1071 const sal_uInt8* const pScanEnd = mpInflateInBuf + mnScansize; in ImplApplyFilter()
1073 sal_uInt8 nFilterType = *mpInflateInBuf; // the filter type may change each scanline in ImplApplyFilter()
1083 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1084 const sal_uInt8* p2 = p1; in ImplApplyFilter()
1089 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1096 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1097 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1102 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1110 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1111 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1112 const sal_uInt8* p3 = p1; in ImplApplyFilter()
1116 *p1 = static_cast<sal_uInt8>( *p1 + (*p2 >> 1) ); in ImplApplyFilter()
1121 *p1 = static_cast<sal_uInt8>( *p1 + ((*(p2++) + *(p3++)) >> 1) ); in ImplApplyFilter()
1129 sal_uInt8* p1 = mpInflateInBuf + 1; in ImplApplyFilter()
1130 const sal_uInt8* p2 = mpScanPrior + 1; in ImplApplyFilter()
1131 const sal_uInt8* p3 = p1; in ImplApplyFilter()
1132 const sal_uInt8* p4 = p2; in ImplApplyFilter()
1136 *p1 = static_cast<sal_uInt8>( *p1 + *(p2++) ); in ImplApplyFilter()
1161 *p1 = static_cast<sal_uInt8>( *p1 + na ); in ImplApplyFilter()
1187 const sal_uInt8* pTmp = mpInflateInBuf + 1; in ImplDrawScanline()
1198 sal_uInt8 nCol; in ImplDrawScanline()
1203 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1215 sal_uInt8 nCol; in ImplDrawScanline()
1219 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1251 sal_uInt8 nCol; in ImplDrawScanline()
1401 mpScanline = new sal_uInt8[maOrigSize.Width() * 3]; in ImplDrawScanline()
1409 mpScanlineAlpha = new sal_uInt8[maOrigSize.Width()]; in ImplDrawScanline()
1421 sal_uInt8* pScanline(mpScanline); in ImplDrawScanline()
1422 sal_uInt8* pScanlineAlpha(mpScanlineAlpha); in ImplDrawScanline()
1502 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline()
1503 sal_uInt8 nGreen = pTmp[ 1 ]; in ImplDrawScanline()
1504 sal_uInt8 nBlue = pTmp[ 2 ]; in ImplDrawScanline()
1519 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline()
1520 sal_uInt8 nGreen = pTmp[ 2 ]; in ImplDrawScanline()
1521 sal_uInt8 nBlue = pTmp[ 4 ]; in ImplDrawScanline()
1546 mpScanline = new sal_uInt8[maOrigSize.Width() * 3]; in ImplDrawScanline()
1557 sal_uInt8* pScanline(mpScanline); in ImplDrawScanline()
1640 void PNGReaderImpl::ImplSetPixel( sal_uInt32 nY, sal_uInt32 nX, sal_uInt8 nPalIndex ) in ImplSetPixel()
1670 sal_uInt8 nPalIndex, sal_uInt8 nAlpha ) in ImplSetAlphaPixel()
1684 const BitmapColor& rBitmapColor, sal_uInt8 nAlpha ) in ImplSetAlphaPixel()