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

Unified Diff: core/fxcodec/codec/fx_codec_progress.h

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « core/fxcodec/codec/fx_codec_png.cpp ('k') | core/fxcodec/codec/fx_codec_progress.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « core/fxcodec/codec/fx_codec_png.cpp ('k') | core/fxcodec/codec/fx_codec_progress.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698