JBIG2Stream.h (xpdf-4.03) | : | JBIG2Stream.h (xpdf-4.04) | ||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
virtual void close(); | virtual void close(); | |||
virtual int getChar(); | virtual int getChar(); | |||
virtual int lookChar(); | virtual int lookChar(); | |||
virtual int getBlock(char *blk, int size); | virtual int getBlock(char *blk, int size); | |||
virtual GString *getPSFilter(int psLevel, const char *indent, | virtual GString *getPSFilter(int psLevel, const char *indent, | |||
GBool okToReadStream); | GBool okToReadStream); | |||
virtual GBool isBinary(GBool last = gTrue); | virtual GBool isBinary(GBool last = gTrue); | |||
private: | private: | |||
void decodeImage(); | ||||
void readSegments(); | void readSegments(); | |||
GBool readSymbolDictSeg(Guint segNum, Guint length, | GBool readSymbolDictSeg(Guint segNum, Guint length, | |||
Guint *refSegs, Guint nRefSegs); | Guint *refSegs, Guint nRefSegs); | |||
void readTextRegionSeg(Guint segNum, GBool imm, | void readTextRegionSeg(Guint segNum, GBool imm, | |||
GBool lossless, Guint length, | GBool lossless, Guint length, | |||
Guint *refSegs, Guint nRefSegs); | Guint *refSegs, Guint nRefSegs); | |||
JBIG2Bitmap *readTextRegion(GBool huff, GBool refine, | JBIG2Bitmap *readTextRegion(GBool huff, GBool refine, | |||
int w, int h, | int w, int h, | |||
Guint numInstances, | Guint numInstances, | |||
Guint logStrips, | Guint logStrips, | |||
skipping to change at line 120 | skipping to change at line 121 | |||
JArithmeticDecoderStats *prevStats); | JArithmeticDecoderStats *prevStats); | |||
void resetRefinementStats(Guint templ, | void resetRefinementStats(Guint templ, | |||
JArithmeticDecoderStats *prevStats); | JArithmeticDecoderStats *prevStats); | |||
void resetIntStats(int symCodeLen); | void resetIntStats(int symCodeLen); | |||
GBool readUByte(Guint *x); | GBool readUByte(Guint *x); | |||
GBool readByte(int *x); | GBool readByte(int *x); | |||
GBool readUWord(Guint *x); | GBool readUWord(Guint *x); | |||
GBool readULong(Guint *x); | GBool readULong(Guint *x); | |||
GBool readLong(int *x); | GBool readLong(int *x); | |||
GBool decoded; | ||||
Object globalsStream; | Object globalsStream; | |||
Guint pageW, pageH, curPageH; | Guint pageW, pageH, curPageH; | |||
Guint pageDefPixel; | Guint pageDefPixel; | |||
JBIG2Bitmap *pageBitmap; | JBIG2Bitmap *pageBitmap; | |||
Guint defCombOp; | Guint defCombOp; | |||
GList *segments; // [JBIG2Segment] | GList *segments; // [JBIG2Segment] | |||
GList *globalSegments; // [JBIG2Segment] | GList *globalSegments; // [JBIG2Segment] | |||
Stream *curStr; | Stream *curStr; | |||
Guchar *dataPtr; | Guchar *dataPtr; | |||
Guchar *dataEnd; | Guchar *dataEnd; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |