Home | History | Annotate | Download | only in jbig2
      1 // Copyright 2014 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #ifndef _JBIG2_HUFFMAN_DECODER_H_
      8 #define _JBIG2_HUFFMAN_DECODER_H_
      9 #include "JBig2_BitStream.h"
     10 #include "JBig2_HuffmanTable.h"
     11 class CJBig2_HuffmanDecoder : public CJBig2_Object
     12 {
     13 public:
     14 
     15     CJBig2_HuffmanDecoder(CJBig2_BitStream *pStream);
     16 
     17     ~CJBig2_HuffmanDecoder();
     18 
     19     int decodeAValue(CJBig2_HuffmanTable *pTable, int *nResult);
     20 private:
     21 
     22     CJBig2_BitStream *m_pStream;
     23 };
     24 #endif
     25