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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 public: | 50 public: |
51 FX_BOOL SBHUFF; | 51 FX_BOOL SBHUFF; |
52 FX_BOOL SBREFINE; | 52 FX_BOOL SBREFINE; |
53 FX_DWORD SBW; | 53 uint32_t SBW; |
54 FX_DWORD SBH; | 54 uint32_t SBH; |
55 FX_DWORD SBNUMINSTANCES; | 55 uint32_t SBNUMINSTANCES; |
56 FX_DWORD SBSTRIPS; | 56 uint32_t SBSTRIPS; |
57 FX_DWORD SBNUMSYMS; | 57 uint32_t SBNUMSYMS; |
58 | 58 |
59 JBig2HuffmanCode* SBSYMCODES; | 59 JBig2HuffmanCode* SBSYMCODES; |
60 uint8_t SBSYMCODELEN; | 60 uint8_t SBSYMCODELEN; |
61 | 61 |
62 CJBig2_Image** SBSYMS; | 62 CJBig2_Image** SBSYMS; |
63 FX_BOOL SBDEFPIXEL; | 63 FX_BOOL SBDEFPIXEL; |
64 | 64 |
65 JBig2ComposeOp SBCOMBOP; | 65 JBig2ComposeOp SBCOMBOP; |
66 FX_BOOL TRANSPOSED; | 66 FX_BOOL TRANSPOSED; |
67 | 67 |
68 JBig2Corner REFCORNER; | 68 JBig2Corner REFCORNER; |
69 int8_t SBDSOFFSET; | 69 int8_t SBDSOFFSET; |
70 CJBig2_HuffmanTable* SBHUFFFS; | 70 CJBig2_HuffmanTable* SBHUFFFS; |
71 CJBig2_HuffmanTable* SBHUFFDS; | 71 CJBig2_HuffmanTable* SBHUFFDS; |
72 CJBig2_HuffmanTable* SBHUFFDT; | 72 CJBig2_HuffmanTable* SBHUFFDT; |
73 CJBig2_HuffmanTable* SBHUFFRDW; | 73 CJBig2_HuffmanTable* SBHUFFRDW; |
74 CJBig2_HuffmanTable* SBHUFFRDH; | 74 CJBig2_HuffmanTable* SBHUFFRDH; |
75 CJBig2_HuffmanTable* SBHUFFRDX; | 75 CJBig2_HuffmanTable* SBHUFFRDX; |
76 CJBig2_HuffmanTable* SBHUFFRDY; | 76 CJBig2_HuffmanTable* SBHUFFRDY; |
77 CJBig2_HuffmanTable* SBHUFFRSIZE; | 77 CJBig2_HuffmanTable* SBHUFFRSIZE; |
78 FX_BOOL SBRTEMPLATE; | 78 FX_BOOL SBRTEMPLATE; |
79 int8_t SBRAT[4]; | 79 int8_t SBRAT[4]; |
80 }; | 80 }; |
81 | 81 |
82 #endif // CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ | 82 #endif // CORE_FXCODEC_JBIG2_JBIG2_TRDPROC_H_ |
OLD | NEW |