| 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 CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 7 #ifndef CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
| 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
| 9 | 9 |
| 10 #include <limits.h> | 10 #include <limits.h> |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 ~CCodec_Jbig2Context() {} | 273 ~CCodec_Jbig2Context() {} |
| 274 | 274 |
| 275 FX_DWORD m_width; | 275 FX_DWORD m_width; |
| 276 FX_DWORD m_height; | 276 FX_DWORD m_height; |
| 277 uint8_t* m_src_buf; | 277 uint8_t* m_src_buf; |
| 278 FX_DWORD m_src_size; | 278 FX_DWORD m_src_size; |
| 279 const uint8_t* m_global_data; | 279 const uint8_t* m_global_data; |
| 280 FX_DWORD m_global_size; | 280 FX_DWORD m_global_size; |
| 281 uint8_t* m_dest_buf; | 281 uint8_t* m_dest_buf; |
| 282 FX_DWORD m_dest_pitch; | 282 FX_DWORD m_dest_pitch; |
| 283 FX_BOOL m_bFileReader; | |
| 284 IFX_Pause* m_pPause; | 283 IFX_Pause* m_pPause; |
| 285 CJBig2_Context* m_pContext; | 284 CJBig2_Context* m_pContext; |
| 286 CJBig2_Image* m_dest_image; | 285 CJBig2_Image* m_dest_image; |
| 287 }; | 286 }; |
| 288 class CCodec_Jbig2Module : public ICodec_Jbig2Module { | 287 class CCodec_Jbig2Module : public ICodec_Jbig2Module { |
| 289 public: | 288 public: |
| 290 CCodec_Jbig2Module() {} | 289 CCodec_Jbig2Module() {} |
| 291 ~CCodec_Jbig2Module() override; | 290 ~CCodec_Jbig2Module() override; |
| 292 | 291 |
| 293 // ICodec_Jbig2Module | 292 // ICodec_Jbig2Module |
| (...skipping 29 matching lines...) Expand all Loading... |
| 323 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, | 322 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, |
| 324 OPJ_SIZE_T nb_bytes, | 323 OPJ_SIZE_T nb_bytes, |
| 325 void* p_user_data); | 324 void* p_user_data); |
| 326 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, | 325 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, |
| 327 OPJ_SIZE_T nb_bytes, | 326 OPJ_SIZE_T nb_bytes, |
| 328 void* p_user_data); | 327 void* p_user_data); |
| 329 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 328 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
| 330 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 329 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
| 331 | 330 |
| 332 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 331 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
| OLD | NEW |