Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4RTJpegCoder.cc 66373 2012-12-18 09:41:34Z gcosmo $
// $Id: G4RTJpegCoder.cc 96733 2016-05-02 11:52:48Z gcosmo $
//
//
//
@@ -262,13 +262,12 @@ G4JpegCoder::ForwardDCT(int* picData)
for( int u=0; u<8; u++ ){
double cu = u ? 1.0 : DisSqrt2;
double sum = 0;
for( int y=0; y<8; y++ )
for( int x=0; x<8; x++ )
sum += picData[ y * 8 + x ] * mCosT[u][x] * mCosT[v][y];
mDCTData[ v * 8 + u ] = int( sum * cu * cv / 4 );
}
mDCTData[ v * 8 + u ] = int( sum * cu * cv / 4 );
}
}
}