| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 virtual void JBig2_Free(void* pMem) | 300 virtual void JBig2_Free(void* pMem) |
| 301 { | 301 { |
| 302 FX_Free(pMem); | 302 FX_Free(pMem); |
| 303 } | 303 } |
| 304 }; | 304 }; |
| 305 class CCodec_Jbig2Context | 305 class CCodec_Jbig2Context |
| 306 { | 306 { |
| 307 public: | 307 public: |
| 308 CCodec_Jbig2Context(); | 308 CCodec_Jbig2Context(); |
| 309 ~CCodec_Jbig2Context() {}; | 309 ~CCodec_Jbig2Context() {}; |
| 310 IFX_FileRead* m_file_ptr; | 310 |
| 311 FX_DWORD m_width; | 311 FX_DWORD m_width; |
| 312 FX_DWORD m_height; | 312 FX_DWORD m_height; |
| 313 uint8_t* m_src_buf; | 313 uint8_t* m_src_buf; |
| 314 FX_DWORD m_src_size; | 314 FX_DWORD m_src_size; |
| 315 const uint8_t* m_global_data; | 315 const uint8_t* m_global_data; |
| 316 FX_DWORD m_global_size; | 316 FX_DWORD m_global_size; |
| 317 uint8_t* m_dest_buf; | 317 uint8_t* m_dest_buf; |
| 318 FX_DWORD m_dest_pitch; | 318 FX_DWORD m_dest_pitch; |
| 319 FX_BOOL m_bFileReader; | 319 FX_BOOL m_bFileReader; |
| 320 IFX_Pause* m_pPause; | 320 IFX_Pause* m_pPause; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 OPJ_SIZE_T offset; | 377 OPJ_SIZE_T offset; |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 /* Wrappers for C-style callbacks. */ | 380 /* Wrappers for C-style callbacks. */ |
| 381 OPJ_SIZE_T opj_read_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); | 381 OPJ_SIZE_T opj_read_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); |
| 382 OPJ_SIZE_T opj_write_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); | 382 OPJ_SIZE_T opj_write_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); |
| 383 OPJ_OFF_T opj_skip_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); | 383 OPJ_OFF_T opj_skip_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); |
| 384 OPJ_BOOL opj_seek_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); | 384 OPJ_BOOL opj_seek_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); |
| 385 | 385 |
| 386 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 386 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
| OLD | NEW |