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

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

Issue 1380243004: Various changes to JBig2 cache: (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase Created 5 years, 2 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
Index: core/include/fxcodec/fx_codec.h
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 625ec08e7d77c5f29e7cadd60fe8438b546e9be3..a8b1ebdf5e52600cbdffaaf8eb142382c407d957 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -10,6 +10,7 @@
#include <vector>
#include "../../../third_party/base/nonstd_unique_ptr.h"
+#include "../fpdfapi/fpdf_objects.h"
Lei Zhang 2015/10/08 03:22:44 nit: forward declare CFX_PrivateData and CPDF_Stre
David Lattimore 2015/10/08 03:44:39 Done.
#include "../fxcrt/fx_basic.h"
#include "fx_codec_def.h"
#include "fx_codec_provider.h"
@@ -230,12 +231,11 @@ class ICodec_Jbig2Module {
virtual void* CreateJbig2Context() = 0;
virtual FXCODEC_STATUS StartDecode(void* pJbig2Context,
+ CFX_PrivateData* pPrivateData,
FX_DWORD width,
FX_DWORD height,
- const uint8_t* src_buf,
- FX_DWORD src_size,
- const uint8_t* global_data,
- FX_DWORD global_size,
+ CPDF_StreamAcc* src_stream,
+ CPDF_StreamAcc* global_stream,
uint8_t* dest_buf,
FX_DWORD dest_pitch,
IFX_Pause* pPause) = 0;
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp » ('j') | core/src/fxcodec/jbig2/JBig2_BitStream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698