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

Side by Side Diff: core/include/fxcodec/fx_codec.h

Issue 1423583005: Merge to XFA: Remove dead code in fx_codec_jbig_enc.cpp. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 | « BUILD.gn ('k') | core/src/fxcodec/codec/fx_codec_jbig_enc.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_INCLUDE_FXCODEC_FX_CODEC_H_ 7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_H_
8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int32_t m_nGifTop; 51 int32_t m_nGifTop;
52 FX_DWORD* m_pGifLocalPalette; 52 FX_DWORD* m_pGifLocalPalette;
53 FX_DWORD m_nGifLocalPalNum; 53 FX_DWORD m_nGifLocalPalNum;
54 int32_t m_nBmpCompressType; 54 int32_t m_nBmpCompressType;
55 std::map<FX_DWORD, void*> m_Exif; 55 std::map<FX_DWORD, void*> m_Exif;
56 }; 56 };
57 57
58 class CCodec_ModuleMgr { 58 class CCodec_ModuleMgr {
59 public: 59 public:
60 CCodec_ModuleMgr(); 60 CCodec_ModuleMgr();
61 ICodec_Jbig2Encoder* CreateJbig2Encoder(); 61
62 ICodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); } 62 ICodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); }
63 ICodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); } 63 ICodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); }
64 ICodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); } 64 ICodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); }
65 ICodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); } 65 ICodec_JpxModule* GetJpxModule() const { return m_pJpxModule.get(); }
66 ICodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); } 66 ICodec_Jbig2Module* GetJbig2Module() const { return m_pJbig2Module.get(); }
67 ICodec_IccModule* GetIccModule() const { return m_pIccModule.get(); } 67 ICodec_IccModule* GetIccModule() const { return m_pIccModule.get(); }
68 ICodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); } 68 ICodec_FlateModule* GetFlateModule() const { return m_pFlateModule.get(); }
69 69
70 ICodec_ProgressiveDecoder* CreateProgressiveDecoder(); 70 ICodec_ProgressiveDecoder* CreateProgressiveDecoder();
71 ICodec_PngModule* GetPngModule() const { return m_pPngModule.get(); } 71 ICodec_PngModule* GetPngModule() const { return m_pPngModule.get(); }
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]); 530 FX_BOOL MD5ComputeID(const void* buf, FX_DWORD dwSize, uint8_t ID[16]);
531 void FaxG4Decode(const uint8_t* src_buf, 531 void FaxG4Decode(const uint8_t* src_buf,
532 FX_DWORD src_size, 532 FX_DWORD src_size,
533 int* pbitpos, 533 int* pbitpos,
534 uint8_t* dest_buf, 534 uint8_t* dest_buf,
535 int width, 535 int width,
536 int height, 536 int height,
537 int pitch); 537 int pitch);
538 538
539 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ 539 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/src/fxcodec/codec/fx_codec_jbig_enc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698