Back to index

tetex-bin  3.0
Defines | Variables
JPXStream.cc File Reference
#include <aconf.h>
#include "gmem.h"
#include "Error.h"
#include "JArithmeticDecoder.h"
#include "JPXStream.h"

Go to the source code of this file.

Defines

#define jpxNContexts   19
#define jpxContextSigProp   0
#define jpxContextSign   9
#define jpxContextMagRef   14
#define jpxContextRunLength   17
#define jpxContextUniform   18
#define jpxPassSigProp   0
#define jpxPassMagRef   1
#define jpxPassCleanup   2
#define idwtAlpha   -1.586134342059924
#define idwtBeta   -0.052980118572961
#define idwtGamma   0.882911075530934
#define idwtDelta   0.443506852043971
#define idwtKappa   1.230174104914001
#define idwtIKappa   (1.0 / idwtKappa)
#define fracBits   16
#define jpxFloorDiv(x, y)   ((x) / (y))
#define jpxFloorDivPow2(x, y)   ((x) >> (y))
#define jpxCeilDiv(x, y)   (((x) + (y) - 1) / (y))
#define jpxCeilDivPow2(x, y)   (((x) + (1 << (y)) - 1) >> (y))

Variables

static Guint sigPropContext [3][3][5][3]
static Guint signContext [5][5][2]

Define Documentation

#define fracBits   16

Definition at line 161 of file JPXStream.cc.

#define idwtAlpha   -1.586134342059924

Definition at line 152 of file JPXStream.cc.

#define idwtBeta   -0.052980118572961

Definition at line 153 of file JPXStream.cc.

#define idwtDelta   0.443506852043971

Definition at line 155 of file JPXStream.cc.

#define idwtGamma   0.882911075530934

Definition at line 154 of file JPXStream.cc.

#define idwtIKappa   (1.0 / idwtKappa)

Definition at line 157 of file JPXStream.cc.

#define idwtKappa   1.230174104914001

Definition at line 156 of file JPXStream.cc.

#define jpxCeilDiv (   x,
  y 
)    (((x) + (y) - 1) / (y))

Definition at line 172 of file JPXStream.cc.

#define jpxCeilDivPow2 (   x,
  y 
)    (((x) + (1 << (y)) - 1) >> (y))

Definition at line 175 of file JPXStream.cc.

#define jpxContextMagRef   14

Definition at line 49 of file JPXStream.cc.

#define jpxContextRunLength   17

Definition at line 50 of file JPXStream.cc.

#define jpxContextSign   9

Definition at line 48 of file JPXStream.cc.

#define jpxContextSigProp   0

Definition at line 47 of file JPXStream.cc.

#define jpxContextUniform   18

Definition at line 51 of file JPXStream.cc.

#define jpxFloorDiv (   x,
  y 
)    ((x) / (y))

Definition at line 166 of file JPXStream.cc.

#define jpxFloorDivPow2 (   x,
  y 
)    ((x) >> (y))

Definition at line 169 of file JPXStream.cc.

#define jpxNContexts   19

Definition at line 45 of file JPXStream.cc.

#define jpxPassCleanup   2

Definition at line 57 of file JPXStream.cc.

#define jpxPassMagRef   1

Definition at line 56 of file JPXStream.cc.

#define jpxPassSigProp   0

Definition at line 55 of file JPXStream.cc.


Variable Documentation

Guint signContext[5][5][2] [static]
Initial value:
 {
  {{ 13, 1 },  
   { 13, 1 },  
   { 12, 1 },  
   { 11, 1 },  
   { 11, 1 }}, 
  {{ 13, 1 },  
   { 13, 1 },  
   { 12, 1 },  
   { 11, 1 },  
   { 11, 1 }}, 
  {{ 10, 1 },  
   { 10, 1 },  
   {  9, 0 },  
   { 10, 0 },  
   { 10, 0 }}, 
  {{ 11, 0 },  
   { 11, 0 },  
   { 12, 0 },  
   { 13, 0 },  
   { 13, 0 }}, 
  {{ 11, 0 },  
   { 11, 0 },  
   { 12, 0 },  
   { 13, 0 },  
   { 13, 0 }}, 
}

Definition at line 121 of file JPXStream.cc.

Guint sigPropContext[3][3][5][3] [static]

Definition at line 67 of file JPXStream.cc.