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

Unified Diff: core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp

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/jbig2/JBig2_ArithIntDecoder.h ('k') | core/fxcodec/jbig2/JBig2_BitStream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
diff --git a/core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
similarity index 90%
rename from core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
rename to core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
index 2fac8df5a95da2d32f001c3f1960533f6d1bf4a0..63594672c700653ae7cef9484e4ced0035c291e5 100644
--- a/core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
+++ b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h"
+#include "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h"
#include <vector>
@@ -20,12 +20,7 @@ const struct ArithIntDecodeData {
int nNeedBits;
int nValue;
} g_ArithIntDecodeData[] = {
- {2, 0},
- {4, 4},
- {6, 20},
- {8, 84},
- {12, 340},
- {32, 4436},
+ {2, 0}, {4, 4}, {6, 20}, {8, 84}, {12, 340}, {32, 4436},
};
size_t RecursiveDecode(CJBig2_ArithDecoder* decoder,
@@ -50,8 +45,7 @@ CJBig2_ArithIntDecoder::CJBig2_ArithIntDecoder() {
m_IAx.resize(512);
}
-CJBig2_ArithIntDecoder::~CJBig2_ArithIntDecoder() {
-}
+CJBig2_ArithIntDecoder::~CJBig2_ArithIntDecoder() {}
bool CJBig2_ArithIntDecoder::decode(CJBig2_ArithDecoder* pArithDecoder,
int* nResult) {
@@ -84,8 +78,7 @@ CJBig2_ArithIaidDecoder::CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA)
m_IAID.resize(1 << SBSYMCODELEN);
}
-CJBig2_ArithIaidDecoder::~CJBig2_ArithIaidDecoder() {
-}
+CJBig2_ArithIaidDecoder::~CJBig2_ArithIaidDecoder() {}
void CJBig2_ArithIaidDecoder::decode(CJBig2_ArithDecoder* pArithDecoder,
FX_DWORD* nResult) {
« no previous file with comments | « core/fxcodec/jbig2/JBig2_ArithIntDecoder.h ('k') | core/fxcodec/jbig2/JBig2_BitStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698