| 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) {
|
|
|