Lines Matching refs:i
557 for( long i=0; i<nNonAlphaBytes; ++i ) in getData() local
783 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToRGB() local
786 sal::static_int_cast<sal_uInt16>(deviceColor[i+m_nIndexIndex])); in convertToRGB()
799 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToRGB() local
803 deviceColor[i+m_nRedIndex], in convertToRGB()
804 deviceColor[i+m_nGreenIndex], in convertToRGB()
805 deviceColor[i+m_nBlueIndex]); in convertToRGB()
832 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToARGB() local
835 sal::static_int_cast<sal_uInt16>(deviceColor[i+m_nIndexIndex])); in convertToARGB()
838 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToARGB()
850 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToARGB() local
853 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToARGB()
856 deviceColor[i+m_nRedIndex], in convertToARGB()
857 deviceColor[i+m_nGreenIndex], in convertToARGB()
858 deviceColor[i+m_nBlueIndex]); in convertToARGB()
885 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToPARGB() local
888 sal::static_int_cast<sal_uInt16>(deviceColor[i+m_nIndexIndex])); in convertToPARGB()
891 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToPARGB()
903 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToPARGB() local
906 const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertToPARGB()
909 nAlpha*deviceColor[i+m_nRedIndex], in convertToPARGB()
910 nAlpha*deviceColor[i+m_nGreenIndex], in convertToPARGB()
911 nAlpha*deviceColor[i+m_nBlueIndex]); in convertToPARGB()
930 for( sal_Size i=0; i<nLen; ++i ) in convertFromRGB() local
933 BitmapColor(toByteColor(rgbColor[i].Red), in convertFromRGB()
934 toByteColor(rgbColor[i].Green), in convertFromRGB()
935 toByteColor(rgbColor[i].Blue))); in convertFromRGB()
944 for( sal_Size i=0; i<nLen; ++i ) in convertFromRGB() local
946 pColors[m_nRedIndex] = rgbColor[i].Red; in convertFromRGB()
947 pColors[m_nGreenIndex] = rgbColor[i].Green; in convertFromRGB()
948 pColors[m_nBlueIndex] = rgbColor[i].Blue; in convertFromRGB()
970 for( sal_Size i=0; i<nLen; ++i ) in convertFromARGB() local
973 BitmapColor(toByteColor(rgbColor[i].Red), in convertFromARGB()
974 toByteColor(rgbColor[i].Green), in convertFromARGB()
975 toByteColor(rgbColor[i].Blue))); in convertFromARGB()
977 pColors[m_nAlphaIndex] = rgbColor[i].Alpha; in convertFromARGB()
984 for( sal_Size i=0; i<nLen; ++i ) in convertFromARGB() local
986 pColors[m_nRedIndex] = rgbColor[i].Red; in convertFromARGB()
987 pColors[m_nGreenIndex] = rgbColor[i].Green; in convertFromARGB()
988 pColors[m_nBlueIndex] = rgbColor[i].Blue; in convertFromARGB()
990 pColors[m_nAlphaIndex] = rgbColor[i].Alpha; in convertFromARGB()
1010 for( sal_Size i=0; i<nLen; ++i ) in convertFromPARGB() local
1012 const double nAlpha( rgbColor[i].Alpha ); in convertFromPARGB()
1014 BitmapColor(toByteColor(rgbColor[i].Red / nAlpha), in convertFromPARGB()
1015 toByteColor(rgbColor[i].Green / nAlpha), in convertFromPARGB()
1016 toByteColor(rgbColor[i].Blue / nAlpha))); in convertFromPARGB()
1025 for( sal_Size i=0; i<nLen; ++i ) in convertFromPARGB() local
1027 const double nAlpha( rgbColor[i].Alpha ); in convertFromPARGB()
1028 pColors[m_nRedIndex] = rgbColor[i].Red / nAlpha; in convertFromPARGB()
1029 pColors[m_nGreenIndex] = rgbColor[i].Green / nAlpha; in convertFromPARGB()
1030 pColors[m_nBlueIndex] = rgbColor[i].Blue / nAlpha; in convertFromPARGB()
1081 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertFromIntegerColorSpace() local
1084 sal::static_int_cast<sal_uInt16>(deviceColor[i+m_nIndexIndex])); in convertFromIntegerColorSpace()
1087 … const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertFromIntegerColorSpace()
1099 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertFromIntegerColorSpace() local
1102 … const double nAlpha( m_nAlphaIndex != -1 ? 1.0 - deviceColor[i+m_nAlphaIndex] : 1.0 ); in convertFromIntegerColorSpace()
1103 *pOut++ = deviceColor[i+m_nRedIndex]; in convertFromIntegerColorSpace()
1104 *pOut++ = deviceColor[i+m_nGreenIndex]; in convertFromIntegerColorSpace()
1105 *pOut++ = deviceColor[i+m_nBlueIndex]; in convertFromIntegerColorSpace()
1157 for( sal_Size i=0; i<nLen; i+=nBytesPerPixel ) in convertIntegerToRGB() local
1175 for( sal_Int32 i=0; i<nNumColors; ++i ) in convertIntegerToRGB() local
1179 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex()) : in convertIntegerToRGB()
1180 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToRGB()
1211 for( sal_Size i=0; i<nLen; i+=nBytesPerPixel ) in convertIntegerToARGB() local
1229 for( sal_Int32 i=0; i<nNumColors; ++i ) in convertIntegerToARGB() local
1233 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex() ) : in convertIntegerToARGB()
1234 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToARGB()
1266 for( sal_Size i=0; i<nLen; i+=nBytesPerPixel ) in convertIntegerToPARGB() local
1285 for( sal_Int32 i=0; i<nNumColors; ++i ) in convertIntegerToPARGB() local
1289 m_pBmpAcc->GetPaletteColor( m_pBmpAcc->GetPixelFromData( pIn, i ).GetIndex() ) : in convertIntegerToPARGB()
1290 m_pBmpAcc->GetPixelFromData(pIn, i); in convertIntegerToPARGB()
1316 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromRGB() local
1318 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromRGB()
1319 toByteColor(rgbColor[i].Green), in convertIntegerFromRGB()
1320 toByteColor(rgbColor[i].Blue)); in convertIntegerFromRGB()
1334 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromRGB() local
1336 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromRGB()
1337 toByteColor(rgbColor[i].Green), in convertIntegerFromRGB()
1338 toByteColor(rgbColor[i].Blue)); in convertIntegerFromRGB()
1345 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromRGB()
1365 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromARGB() local
1367 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromARGB()
1368 toByteColor(rgbColor[i].Green), in convertIntegerFromARGB()
1369 toByteColor(rgbColor[i].Blue)); in convertIntegerFromARGB()
1378 *pColors++ = 255 - toByteColor(rgbColor[i].Alpha); in convertIntegerFromARGB()
1383 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromARGB() local
1385 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromARGB()
1386 toByteColor(rgbColor[i].Green), in convertIntegerFromARGB()
1387 toByteColor(rgbColor[i].Blue)); in convertIntegerFromARGB()
1394 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromARGB()
1414 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromPARGB() local
1416 const double nAlpha( rgbColor[i].Alpha ); in convertIntegerFromPARGB()
1417 const BitmapColor aCol(toByteColor(rgbColor[i].Red / nAlpha), in convertIntegerFromPARGB()
1418 toByteColor(rgbColor[i].Green / nAlpha), in convertIntegerFromPARGB()
1419 toByteColor(rgbColor[i].Blue / nAlpha)); in convertIntegerFromPARGB()
1433 for( sal_Size i=0; i<nLen; ++i ) in convertIntegerFromPARGB() local
1435 const BitmapColor aCol(toByteColor(rgbColor[i].Red), in convertIntegerFromPARGB()
1436 toByteColor(rgbColor[i].Green), in convertIntegerFromPARGB()
1437 toByteColor(rgbColor[i].Blue)); in convertIntegerFromPARGB()
1444 m_pBmpAcc->SetPixelOnData(pColors,i,aCol2); in convertIntegerFromPARGB()