OLD | NEW |
1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ | 7 #ifndef CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ |
8 #define CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ | 8 #define CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ |
9 | 9 |
10 #include "core/fxcodec/jbig2/JBig2_Image.h" | 10 #include "core/fxcodec/jbig2/JBig2_Image.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 class CJBig2_TRDProc { | 41 class CJBig2_TRDProc { |
42 public: | 42 public: |
43 CJBig2_Image* decode_Huffman(CJBig2_BitStream* pStream, | 43 CJBig2_Image* decode_Huffman(CJBig2_BitStream* pStream, |
44 JBig2ArithCtx* grContext); | 44 JBig2ArithCtx* grContext); |
45 | 45 |
46 CJBig2_Image* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, | 46 CJBig2_Image* decode_Arith(CJBig2_ArithDecoder* pArithDecoder, |
47 JBig2ArithCtx* grContext, | 47 JBig2ArithCtx* grContext, |
48 JBig2IntDecoderState* pIDS); | 48 JBig2IntDecoderState* pIDS); |
49 | 49 |
50 FX_BOOL SBHUFF; | 50 bool SBHUFF; |
51 FX_BOOL SBREFINE; | 51 bool SBREFINE; |
52 uint32_t SBW; | 52 uint32_t SBW; |
53 uint32_t SBH; | 53 uint32_t SBH; |
54 uint32_t SBNUMINSTANCES; | 54 uint32_t SBNUMINSTANCES; |
55 uint32_t SBSTRIPS; | 55 uint32_t SBSTRIPS; |
56 uint32_t SBNUMSYMS; | 56 uint32_t SBNUMSYMS; |
57 | 57 |
58 JBig2HuffmanCode* SBSYMCODES; | 58 JBig2HuffmanCode* SBSYMCODES; |
59 uint8_t SBSYMCODELEN; | 59 uint8_t SBSYMCODELEN; |
60 | 60 |
61 CJBig2_Image** SBSYMS; | 61 CJBig2_Image** SBSYMS; |
62 FX_BOOL SBDEFPIXEL; | 62 bool SBDEFPIXEL; |
63 | 63 |
64 JBig2ComposeOp SBCOMBOP; | 64 JBig2ComposeOp SBCOMBOP; |
65 FX_BOOL TRANSPOSED; | 65 bool TRANSPOSED; |
66 | 66 |
67 JBig2Corner REFCORNER; | 67 JBig2Corner REFCORNER; |
68 int8_t SBDSOFFSET; | 68 int8_t SBDSOFFSET; |
69 CJBig2_HuffmanTable* SBHUFFFS; | 69 CJBig2_HuffmanTable* SBHUFFFS; |
70 CJBig2_HuffmanTable* SBHUFFDS; | 70 CJBig2_HuffmanTable* SBHUFFDS; |
71 CJBig2_HuffmanTable* SBHUFFDT; | 71 CJBig2_HuffmanTable* SBHUFFDT; |
72 CJBig2_HuffmanTable* SBHUFFRDW; | 72 CJBig2_HuffmanTable* SBHUFFRDW; |
73 CJBig2_HuffmanTable* SBHUFFRDH; | 73 CJBig2_HuffmanTable* SBHUFFRDH; |
74 CJBig2_HuffmanTable* SBHUFFRDX; | 74 CJBig2_HuffmanTable* SBHUFFRDX; |
75 CJBig2_HuffmanTable* SBHUFFRDY; | 75 CJBig2_HuffmanTable* SBHUFFRDY; |
76 CJBig2_HuffmanTable* SBHUFFRSIZE; | 76 CJBig2_HuffmanTable* SBHUFFRSIZE; |
77 bool SBRTEMPLATE; | 77 bool SBRTEMPLATE; |
78 int8_t SBRAT[4]; | 78 int8_t SBRAT[4]; |
79 }; | 79 }; |
80 | 80 |
81 #endif // CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ | 81 #endif // CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ |
OLD | NEW |