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

Unified Diff: core/include/fxcodec/fx_codec.h

Issue 1328643002: Remove dead JBig2 code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/src/fxcodec/codec/codec_int.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcodec/fx_codec.h
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 48c1a3086fa1e1251c41d089c276b297a8d207e5..53280c526c2d795b2d455b0a01e80dbd4140ab8e 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -223,20 +223,6 @@ class ICodec_Jbig2Module {
public:
virtual ~ICodec_Jbig2Module() {}
- virtual FX_BOOL Decode(FX_DWORD width,
- FX_DWORD height,
- const uint8_t* src_buf,
- FX_DWORD src_size,
- const uint8_t* global_data,
- FX_DWORD global_size,
- uint8_t* dest_buf,
- FX_DWORD dest_pitch) = 0;
-
- virtual FX_BOOL Decode(IFX_FileRead* file_ptr,
- FX_DWORD& width,
- FX_DWORD& height,
- FX_DWORD& pitch,
- uint8_t*& dest_buf) = 0;
virtual void* CreateJbig2Context() = 0;
virtual FXCODEC_STATUS StartDecode(void* pJbig2Context,
@@ -250,13 +236,6 @@ class ICodec_Jbig2Module {
FX_DWORD dest_pitch,
IFX_Pause* pPause) = 0;
- virtual FXCODEC_STATUS StartDecode(void* pJbig2Context,
- IFX_FileRead* file_ptr,
- FX_DWORD& width,
- FX_DWORD& height,
- FX_DWORD& pitch,
- uint8_t*& dest_buf,
- IFX_Pause* pPause) = 0;
virtual FXCODEC_STATUS ContinueDecode(void* pJbig2Content,
IFX_Pause* pPause) = 0;
virtual void DestroyJbig2Context(void* pJbig2Content) = 0;
« no previous file with comments | « no previous file | core/src/fxcodec/codec/codec_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698