Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1295)

Side by Side Diff: core/src/fxcodec/codec/codec_int.h

Issue 1249643003: Remove dead code found by Scythe. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fpdftext/txtproc.h ('k') | core/src/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/src/fpdftext/txtproc.h ('k') | core/src/fxge/dib/fx_dib_composite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698