Lines Matching refs:nSamplesPerPixel

87 	sal_uLong				nSamplesPerPixel;			// Anzahl der Ebenen  member in TIFFReader
371 nSamplesPerPixel = ReadIntData(); in ReadTagData()
372 OOODEBUG("SamplesPerPixel",nSamplesPerPixel); in ReadTagData()
567 …if ( aCCIDecom.DecompressScanline( pMap[ np ], nImageWidth * nBitsPerSample * nSamplesPerPixel / n… in ReadMap()
734 if ( nBitsPerSample == 8 && nSamplesPerPixel >= 3 && in ConvertScanline()
745 for ( nx = 0; nx < nImageWidth; nx++, pt += nSamplesPerPixel ) in ConvertScanline()
755 for ( nx = 0; nx < nImageWidth; nx++, pt += nSamplesPerPixel ) in ConvertScanline()
761 else if ( nPhotometricInterpretation == 2 && nSamplesPerPixel >= 3 ) in ConvertScanline()
770 nRed = GetBits( pMap[ 0 ], ( nx * nSamplesPerPixel + 0 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
771 nGreen = GetBits( pMap[ 1 ], ( nx * nSamplesPerPixel + 1 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
772 nBlue = GetBits( pMap[ 2 ], ( nx * nSamplesPerPixel + 2 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
784 else if ( nPhotometricInterpretation == 5 && nSamplesPerPixel == 3 ) in ConvertScanline()
793 nRed = GetBits( pMap[ 0 ],( nx * nSamplesPerPixel + 0 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
794 nGreen = GetBits( pMap[ 0 ],( nx * nSamplesPerPixel + 1 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
795 nBlue = GetBits( pMap[ 0 ],( nx * nSamplesPerPixel + 2 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
810 else if( nPhotometricInterpretation == 5 && nSamplesPerPixel == 4 ) in ConvertScanline()
826 …nSampLast[ ns ] = nSampLast[ ns ] + (sal_uInt8) GetBits( pMap[ 0 ], ( nx * nSamplesPerPixel + ns )… in ConvertScanline()
837 …nSamp[ ns ] = (sal_uInt8) GetBits( pMap[ 0 ], ( nx * nSamplesPerPixel + ns ) * nBitsPerSample, nBi… in ConvertScanline()
854 …else if ( nSamplesPerPixel == 1 && ( nPhotometricInterpretation <= 1 || nPhotometricInterpretation… in ConvertScanline()
1003 else if ( ( nSamplesPerPixel == 2 ) && ( nBitsPerSample == 8 ) && in ConvertScanline()
1174 nSamplesPerPixel = 1; // Defaultwert laut Doku in ReadTIFF()
1233 else if ( nBitsPerSample*nSamplesPerPixel <= 1 ) in ReadTIFF()
1235 else if ( nBitsPerSample*nSamplesPerPixel <= 4 ) in ReadTIFF()
1247 nPlanes = nSamplesPerPixel; in ReadTIFF()
1253 nBytesPerRow = ( nImageWidth * nSamplesPerPixel / nPlanes * nBitsPerSample + 7 ) >> 3; in ReadTIFF()