X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FJBIG2Stream.h;h=ed26d4e5d3eb3ddb6db229370acd8430b3e7975b;hb=ac6e61a0860b741e22072696e0ac6a78e386db0d;hp=e15c3ac9fb32ea9789a4478b4b43280e96af9ab4;hpb=6112dfe4b45b0305c7a6f61bd8a847f69f892cbb;p=evince.git diff --git a/pdf/xpdf/JBIG2Stream.h b/pdf/xpdf/JBIG2Stream.h index e15c3ac9..ed26d4e5 100644 --- a/pdf/xpdf/JBIG2Stream.h +++ b/pdf/xpdf/JBIG2Stream.h @@ -2,7 +2,7 @@ // // JBIG2Stream.h // -// Copyright 2002 Glyph & Cog, LLC +// Copyright 2002-2003 Glyph & Cog, LLC // //======================================================================== @@ -22,8 +22,8 @@ class GList; class JBIG2Segment; class JBIG2Bitmap; -class JBIG2ArithmeticDecoder; -class JBIG2ArithmeticDecoderStats; +class JArithmeticDecoder; +class JArithmeticDecoderStats; class JBIG2HuffmanDecoder; struct JBIG2HuffmanTable; class JBIG2MMRDecoder; @@ -39,7 +39,7 @@ public: virtual void reset(); virtual int getChar(); virtual int lookChar(); - virtual GString *getPSFilter(char *indent); + virtual GString *getPSFilter(int psLevel, char *indent); virtual GBool isBinary(GBool last = gTrue); private: @@ -60,7 +60,7 @@ private: JBIG2Bitmap **syms, Guint defPixel, Guint combOp, Guint transposed, Guint refCorner, - Guint sOffset, + int sOffset, JBIG2HuffmanTable *huffFSTable, JBIG2HuffmanTable *huffDSTable, JBIG2HuffmanTable *huffDTTable, @@ -99,9 +99,9 @@ private: JBIG2Segment *findSegment(Guint segNum); void discardSegment(Guint segNum); void resetGenericStats(Guint templ, - JBIG2ArithmeticDecoderStats *prevStats); + JArithmeticDecoderStats *prevStats); void resetRefinementStats(Guint templ, - JBIG2ArithmeticDecoderStats *prevStats); + JArithmeticDecoderStats *prevStats); void resetIntStats(int symCodeLen); GBool readUByte(Guint *x); GBool readByte(int *x); @@ -119,23 +119,23 @@ private: Guchar *dataPtr; Guchar *dataEnd; - JBIG2ArithmeticDecoder *arithDecoder; - JBIG2ArithmeticDecoderStats *genericRegionStats; - JBIG2ArithmeticDecoderStats *refinementRegionStats; - JBIG2ArithmeticDecoderStats *iadhStats; - JBIG2ArithmeticDecoderStats *iadwStats; - JBIG2ArithmeticDecoderStats *iaexStats; - JBIG2ArithmeticDecoderStats *iaaiStats; - JBIG2ArithmeticDecoderStats *iadtStats; - JBIG2ArithmeticDecoderStats *iaitStats; - JBIG2ArithmeticDecoderStats *iafsStats; - JBIG2ArithmeticDecoderStats *iadsStats; - JBIG2ArithmeticDecoderStats *iardxStats; - JBIG2ArithmeticDecoderStats *iardyStats; - JBIG2ArithmeticDecoderStats *iardwStats; - JBIG2ArithmeticDecoderStats *iardhStats; - JBIG2ArithmeticDecoderStats *iariStats; - JBIG2ArithmeticDecoderStats *iaidStats; + JArithmeticDecoder *arithDecoder; + JArithmeticDecoderStats *genericRegionStats; + JArithmeticDecoderStats *refinementRegionStats; + JArithmeticDecoderStats *iadhStats; + JArithmeticDecoderStats *iadwStats; + JArithmeticDecoderStats *iaexStats; + JArithmeticDecoderStats *iaaiStats; + JArithmeticDecoderStats *iadtStats; + JArithmeticDecoderStats *iaitStats; + JArithmeticDecoderStats *iafsStats; + JArithmeticDecoderStats *iadsStats; + JArithmeticDecoderStats *iardxStats; + JArithmeticDecoderStats *iardyStats; + JArithmeticDecoderStats *iardwStats; + JArithmeticDecoderStats *iardhStats; + JArithmeticDecoderStats *iariStats; + JArithmeticDecoderStats *iaidStats; JBIG2HuffmanDecoder *huffDecoder; JBIG2MMRDecoder *mmrDecoder; };