| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 virtual void JBig2_Free(void* pMem) | 237 virtual void JBig2_Free(void* pMem) |
| 238 { | 238 { |
| 239 FX_Free(pMem); | 239 FX_Free(pMem); |
| 240 } | 240 } |
| 241 }; | 241 }; |
| 242 class CCodec_Jbig2Context | 242 class CCodec_Jbig2Context |
| 243 { | 243 { |
| 244 public: | 244 public: |
| 245 CCodec_Jbig2Context(); | 245 CCodec_Jbig2Context(); |
| 246 ~CCodec_Jbig2Context() {}; | 246 ~CCodec_Jbig2Context() {}; |
| 247 IFX_FileRead* m_file_ptr; | 247 |
| 248 FX_DWORD m_width; | 248 FX_DWORD m_width; |
| 249 FX_DWORD m_height; | 249 FX_DWORD m_height; |
| 250 uint8_t* m_src_buf; | 250 uint8_t* m_src_buf; |
| 251 FX_DWORD m_src_size; | 251 FX_DWORD m_src_size; |
| 252 const uint8_t* m_global_data; | 252 const uint8_t* m_global_data; |
| 253 FX_DWORD m_global_size; | 253 FX_DWORD m_global_size; |
| 254 uint8_t* m_dest_buf; | 254 uint8_t* m_dest_buf; |
| 255 FX_DWORD m_dest_pitch; | 255 FX_DWORD m_dest_pitch; |
| 256 FX_BOOL m_bFileReader; | 256 FX_BOOL m_bFileReader; |
| 257 IFX_Pause* m_pPause; | 257 IFX_Pause* m_pPause; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 OPJ_SIZE_T offset; | 290 OPJ_SIZE_T offset; |
| 291 }; | 291 }; |
| 292 | 292 |
| 293 /* Wrappers for C-style callbacks. */ | 293 /* Wrappers for C-style callbacks. */ |
| 294 OPJ_SIZE_T opj_read_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); | 294 OPJ_SIZE_T opj_read_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); |
| 295 OPJ_SIZE_T opj_write_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); | 295 OPJ_SIZE_T opj_write_from_memory (void* p_buffer, OPJ_SIZE_T nb_bytes, void* p_u
ser_data); |
| 296 OPJ_OFF_T opj_skip_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); | 296 OPJ_OFF_T opj_skip_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); |
| 297 OPJ_BOOL opj_seek_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); | 297 OPJ_BOOL opj_seek_from_memory (OPJ_OFF_T nb_bytes, void* p_user_data); |
| 298 | 298 |
| 299 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 299 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
| OLD | NEW |