Index: core/fxcodec/codec/fx_codec_progress.h |
diff --git a/core/src/fxcodec/codec/fx_codec_progress.h b/core/fxcodec/codec/fx_codec_progress.h |
similarity index 96% |
rename from core/src/fxcodec/codec/fx_codec_progress.h |
rename to core/fxcodec/codec/fx_codec_progress.h |
index 4fb13640ff6bea7f2e2ffd63a096b65c6cebf980..c9ee389e022964903eb9d6274e9d081abb75ce74 100644 |
--- a/core/src/fxcodec/codec/fx_codec_progress.h |
+++ b/core/fxcodec/codec/fx_codec_progress.h |
@@ -4,20 +4,28 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
-#ifndef CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
-#define CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
+#ifndef CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
+#define CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
+ |
+#include "core/include/fxcodec/fx_codec.h" |
+#include "core/include/fxcrt/fx_memory.h" |
+#include "core/include/fxcrt/fx_system.h" |
+#include "core/include/fxge/fx_dib.h" |
#define FXCODEC_BLOCK_SIZE 4096 |
#define FXCODEC_PNG_GAMMA 2.2 |
+ |
#if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ |
#undef FXCODEC_PNG_GAMMA |
#define FXCODEC_PNG_GAMMA 1.7 |
#endif |
+ |
struct PixelWeight { |
int m_SrcStart; |
int m_SrcEnd; |
int m_Weights[1]; |
}; |
+ |
class CFXCODEC_WeightTable { |
public: |
CFXCODEC_WeightTable() { m_pWeightTables = NULL; } |
@@ -210,4 +218,4 @@ class CCodec_ProgressiveDecoder : public ICodec_ProgressiveDecoder { |
FXCODEC_STATUS m_status; |
}; |
-#endif // CORE_SRC_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |
+#endif // CORE_FXCODEC_CODEC_FX_CODEC_PROGRESS_H_ |