OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 _JBIG2_GENERAL_DECODER_H_ | 7 #ifndef _JBIG2_GENERAL_DECODER_H_ |
8 #define _JBIG2_GENERAL_DECODER_H_ | 8 #define _JBIG2_GENERAL_DECODER_H_ |
9 | 9 |
10 #include "../../../include/fxcodec/fx_codec_def.h" | 10 #include "../../../include/fxcodec/fx_codec_def.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 IFX_Pause* pPause); | 92 IFX_Pause* pPause); |
93 FXCODEC_STATUS decode_Arith_Template3_opt3(CJBig2_Image* pImage, | 93 FXCODEC_STATUS decode_Arith_Template3_opt3(CJBig2_Image* pImage, |
94 CJBig2_ArithDecoder* pArithDecoder, | 94 CJBig2_ArithDecoder* pArithDecoder, |
95 JBig2ArithCtx* gbContext, | 95 JBig2ArithCtx* gbContext, |
96 IFX_Pause* pPause); | 96 IFX_Pause* pPause); |
97 FXCODEC_STATUS decode_Arith_Template3_unopt( | 97 FXCODEC_STATUS decode_Arith_Template3_unopt( |
98 CJBig2_Image* pImage, | 98 CJBig2_Image* pImage, |
99 CJBig2_ArithDecoder* pArithDecoder, | 99 CJBig2_ArithDecoder* pArithDecoder, |
100 JBig2ArithCtx* gbContext, | 100 JBig2ArithCtx* gbContext, |
101 IFX_Pause* pPause); | 101 IFX_Pause* pPause); |
102 CJBig2_Image* decode_Arith_Template0_opt(CJBig2_ArithDecoder* pArithDecoder, | |
103 JBig2ArithCtx* gbContext); | |
104 | |
105 CJBig2_Image* decode_Arith_Template0_opt2(CJBig2_ArithDecoder* pArithDecoder, | |
106 JBig2ArithCtx* gbContext); | |
107 | |
108 CJBig2_Image* decode_Arith_Template0_opt3(CJBig2_ArithDecoder* pArithDecoder, | 102 CJBig2_Image* decode_Arith_Template0_opt3(CJBig2_ArithDecoder* pArithDecoder, |
109 JBig2ArithCtx* gbContext); | 103 JBig2ArithCtx* gbContext); |
110 | 104 |
111 CJBig2_Image* decode_Arith_Template0_unopt(CJBig2_ArithDecoder* pArithDecoder, | 105 CJBig2_Image* decode_Arith_Template0_unopt(CJBig2_ArithDecoder* pArithDecoder, |
112 JBig2ArithCtx* gbContext); | 106 JBig2ArithCtx* gbContext); |
113 | 107 |
114 CJBig2_Image* decode_Arith_Template1_opt(CJBig2_ArithDecoder* pArithDecoder, | |
115 JBig2ArithCtx* gbContext); | |
116 | |
117 CJBig2_Image* decode_Arith_Template1_opt2(CJBig2_ArithDecoder* pArithDecoder, | |
118 JBig2ArithCtx* gbContext); | |
119 | |
120 CJBig2_Image* decode_Arith_Template1_opt3(CJBig2_ArithDecoder* pArithDecoder, | 108 CJBig2_Image* decode_Arith_Template1_opt3(CJBig2_ArithDecoder* pArithDecoder, |
121 JBig2ArithCtx* gbContext); | 109 JBig2ArithCtx* gbContext); |
122 | 110 |
123 CJBig2_Image* decode_Arith_Template1_unopt(CJBig2_ArithDecoder* pArithDecoder, | 111 CJBig2_Image* decode_Arith_Template1_unopt(CJBig2_ArithDecoder* pArithDecoder, |
124 JBig2ArithCtx* gbContext); | 112 JBig2ArithCtx* gbContext); |
125 | 113 |
126 CJBig2_Image* decode_Arith_Template2_opt(CJBig2_ArithDecoder* pArithDecoder, | |
127 JBig2ArithCtx* gbContext); | |
128 | |
129 CJBig2_Image* decode_Arith_Template2_opt2(CJBig2_ArithDecoder* pArithDecoder, | |
130 JBig2ArithCtx* gbContext); | |
131 | |
132 CJBig2_Image* decode_Arith_Template2_opt3(CJBig2_ArithDecoder* pArithDecoder, | 114 CJBig2_Image* decode_Arith_Template2_opt3(CJBig2_ArithDecoder* pArithDecoder, |
133 JBig2ArithCtx* gbContext); | 115 JBig2ArithCtx* gbContext); |
134 | 116 |
135 CJBig2_Image* decode_Arith_Template2_unopt(CJBig2_ArithDecoder* pArithDecoder, | 117 CJBig2_Image* decode_Arith_Template2_unopt(CJBig2_ArithDecoder* pArithDecoder, |
136 JBig2ArithCtx* gbContext); | 118 JBig2ArithCtx* gbContext); |
137 | 119 |
138 CJBig2_Image* decode_Arith_Template3_opt(CJBig2_ArithDecoder* pArithDecoder, | |
139 JBig2ArithCtx* gbContext); | |
140 | |
141 CJBig2_Image* decode_Arith_Template3_opt2(CJBig2_ArithDecoder* pArithDecoder, | |
142 JBig2ArithCtx* gbContext); | |
143 | |
144 CJBig2_Image* decode_Arith_Template3_opt3(CJBig2_ArithDecoder* pArithDecoder, | 120 CJBig2_Image* decode_Arith_Template3_opt3(CJBig2_ArithDecoder* pArithDecoder, |
145 JBig2ArithCtx* gbContext); | 121 JBig2ArithCtx* gbContext); |
146 | 122 |
147 CJBig2_Image* decode_Arith_Template3_unopt(CJBig2_ArithDecoder* pArithDecoder, | 123 CJBig2_Image* decode_Arith_Template3_unopt(CJBig2_ArithDecoder* pArithDecoder, |
148 JBig2ArithCtx* gbContext); | 124 JBig2ArithCtx* gbContext); |
149 | 125 |
150 FX_DWORD m_loopIndex; | 126 FX_DWORD m_loopIndex; |
151 uint8_t* m_pLine; | 127 uint8_t* m_pLine; |
152 IFX_Pause* m_pPause; | 128 IFX_Pause* m_pPause; |
153 FXCODEC_STATUS m_ProssiveStatus; | 129 FXCODEC_STATUS m_ProssiveStatus; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 272 |
297 public: | 273 public: |
298 FX_BOOL GSMMR; | 274 FX_BOOL GSMMR; |
299 FX_BOOL GSUSESKIP; | 275 FX_BOOL GSUSESKIP; |
300 uint8_t GSBPP; | 276 uint8_t GSBPP; |
301 FX_DWORD GSW, GSH; | 277 FX_DWORD GSW, GSH; |
302 uint8_t GSTEMPLATE; | 278 uint8_t GSTEMPLATE; |
303 CJBig2_Image* GSKIP; | 279 CJBig2_Image* GSKIP; |
304 }; | 280 }; |
305 #endif | 281 #endif |
OLD | NEW |