Back to index

tetex-bin  3.0
Public Member Functions | Private Attributes | Friends
JArithmeticDecoderStats Class Reference

#include <JArithmeticDecoder.h>

List of all members.

Public Member Functions

 JArithmeticDecoderStats (int contextSizeA)
 ~JArithmeticDecoderStats ()
JArithmeticDecoderStatscopy ()
void reset ()
int getContextSize ()
void copyFrom (JArithmeticDecoderStats *stats)
void setEntry (Guint cx, int i, int mps)

Private Attributes

GucharcxTab
int contextSize

Friends

class JArithmeticDecoder

Detailed Description

Definition at line 28 of file JArithmeticDecoder.h.


Constructor & Destructor Documentation

Definition at line 23 of file JArithmeticDecoder.cc.

                                                                 {
  contextSize = contextSizeA;
  cxTab = (Guchar *)gmalloc(contextSize * sizeof(Guchar));
  reset();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 29 of file JArithmeticDecoder.cc.

                                                  {
  gfree(cxTab);
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 33 of file JArithmeticDecoder.cc.

                                                       {
  JArithmeticDecoderStats *stats;

  stats = new JArithmeticDecoderStats(contextSize);
  memcpy(stats->cxTab, cxTab, contextSize);
  return stats;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 45 of file JArithmeticDecoder.cc.

                                                                     {
  memcpy(cxTab, stats->cxTab, contextSize);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 35 of file JArithmeticDecoder.h.

{ return contextSize; }

Here is the caller graph for this function:

Definition at line 41 of file JArithmeticDecoder.cc.

Here is the caller graph for this function:

Definition at line 49 of file JArithmeticDecoder.cc.

                                                               {
  cxTab[cx] = (i << 1) + mps;
}

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class JArithmeticDecoder [friend]

Definition at line 44 of file JArithmeticDecoder.h.


Member Data Documentation

Definition at line 42 of file JArithmeticDecoder.h.

Definition at line 41 of file JArithmeticDecoder.h.


The documentation for this class was generated from the following files: