#include <G4RTJpegCoder.hh>
Definition at line 51 of file G4RTJpegCoder.hh.
 
      
        
          | G4JpegCoder::~G4JpegCoder  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void G4JpegCoder::CodeHuffman  | 
          ( | 
          int  | 
          cs | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 187 of file G4RTJpegCoder.cc.
  196   int absDiff = std::abs(diff);
 
  214   for(
int n=1; 
n<64; 
n++){
 
  216         if( absCoefficient ){
 
  222                 while( absCoefficient > 0 ){
 
  223                         absCoefficient >>= 1;
 
  226                 int     aIdx = run * 10 + is + (run == 15);
 
static const G4HuffmanCodeTable YAcHuffmanT
 
static const G4HuffmanCodeTable CAcHuffmanT
 
static const int Zigzag[64]
 
static const G4HuffmanCodeTable YDcHuffmanT
 
static const G4HuffmanCodeTable CDcHuffmanT
 
void SetBits(int v, int numBits)
 
 
 
 
Definition at line 116 of file G4RTJpegCoder.cc.
  118   for(
int n=0; 
n<4; 
n++){
 
void ForwardDCT(int *picData)
 
void Quantization(int cs)
 
 
 
 
Definition at line 75 of file G4RTJpegCoder.cc.
   93   for(
int i=0; i<64; i++)
 
void makeYCC(int ux, int uy)
 
 
 
 
  
  
      
        
          | void G4JpegCoder::ForwardDCT  | 
          ( | 
          int *  | 
          picData | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 258 of file G4RTJpegCoder.cc.
  260   for( 
int v=0; 
v<8; 
v++ ){
 
  262     for( 
int u=0; u<8; u++ ){
 
  265       for( 
int y=0; y<8; y++ )
 
  266         for( 
int x=0; 
x<8; 
x++ )
 
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
 
 
 
 
      
        
          | void G4JpegCoder::GetJpegData  | 
          ( | 
          char **  | 
          aJpegData,  | 
        
        
           | 
           | 
          int &  | 
          size  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
Definition at line 133 of file G4RTJpegCoder.cc.
  139   for(
int u=0; u<4; u++){
 
  141         int *cbp = tCbBlock[u];
 
  142         int *crp = tCrBlock[u];
 
  144         int sx = ux * 16 + ((u&1) ? 8 : 0);
 
  146         int sy = uy * 16 + ((u>1) ? 8 : 0);
 
  149      for(
int iv=sy; iv<ey; iv++){
 
  151           for(
int ih=sx; ih<ex; ih++){
 
  158                 *yp++ = 
int((0.2990 * rv) + (0.5870 * gv) + (0.1140 * bv) - 128)
 
  160                 *cbp++ = 
int(-(0.1687 * rv) - (0.3313 * gv) + (0.5000 * bv));
 
  161                 *crp++ = 
int((0.5000 * rv) - (0.4187 * gv) - (0.0813 * bv));
 
  167   for(
int b=0; 
b<4; 
b++){
 
  174         for(
int y=0; y<8; y+=2){
 
  175                 for(
int x=0; 
x<8; 
x+=2){
 
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
 
 
 
 
  
  
      
        
          | void G4JpegCoder::Quantization  | 
          ( | 
          int  | 
          cs | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 248 of file G4RTJpegCoder.cc.
  251   for( 
int i=0; i<64; i++ ){
 
static const int CQuantumT[]
 
static const int YQuantumT[]
 
 
 
 
Definition at line 275 of file G4RTJpegCoder.cc.
  308   for( i=0; i<64; i++ )
 
  314   for( i=0; i<64; i++ )
 
static const int AcDhtLength
 
static const int CQuantumT[]
 
static const u_char CAcDht[]
 
static const u_char CDcDht[]
 
static const int Zigzag[64]
 
static const int DcDhtLength
 
void CopyByte(const char *src, int n)
 
static const u_char YDcDht[]
 
static const u_char YAcDht[]
 
static const int YQuantumT[]
 
 
 
 
  
  
      
        
          | int G4JpegCoder::mCbBlock[64] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | double G4JpegCoder::mCosT[8][8] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mCrBlock[64] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mDCTData[64] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mNumHUnits | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mNumVUnits | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mPreDC[3] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int G4JpegCoder::mYBlock[4][64] | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: