summaryrefslogtreecommitdiff
path: root/core/include/fxcodec/fx_codec.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-03 14:45:32 -0700
committerLei Zhang <thestig@chromium.org>2015-09-03 14:45:32 -0700
commit928c183ece333e4eb55acbbd8036cf473b94f516 (patch)
tree6273b16804fd06cdd9a90c4c8040b9db080b17f1 /core/include/fxcodec/fx_codec.h
parent55512706477c035ee27413a7a2c9a75f31ceae34 (diff)
downloadpdfium-928c183ece333e4eb55acbbd8036cf473b94f516.tar.xz
Merge to XFA: Remove dead JBig2 code.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1328643002 . (cherry picked from commit 9df5d9701ddf75f8050566132694bf435efb3ca0) Review URL: https://codereview.chromium.org/1319563003 .
Diffstat (limited to 'core/include/fxcodec/fx_codec.h')
-rw-r--r--core/include/fxcodec/fx_codec.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 833ac2d10d..06eaf85063 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -355,20 +355,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,
@@ -382,13 +368,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;