From af15b57b30fcf442262f3a797d169d6bc3c1a44a Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 17 May 2004 18:12:38 +0000 Subject: Import of Xpdf 3.00 --- (limited to 'pdf/xpdf/JBIG2Stream.h') diff --git a/pdf/xpdf/JBIG2Stream.h b/pdf/xpdf/JBIG2Stream.h index 877dd7f..ed26d4e 100644 --- a/pdf/xpdf/JBIG2Stream.h +++ b/pdf/xpdf/JBIG2Stream.h @@ -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: @@ -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; }; -- cgit v0.9.1