summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-08-04 13:00:21 -0700
committerNico Weber <thakis@chromium.org>2015-08-04 13:00:21 -0700
commit9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f (patch)
treec97037f398d714665aefccb6eb54d0969ad7030c /xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h
parent780cee82236d1b3b0f9b01a22424e4b8ec9a6f12 (diff)
downloadpdfium-9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f.tar.xz
XFA: clang-format all pdfium code.
No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163|tiff_v403' | \ xargs ../../buildtools/mac/clang-format -i Then manually merged https://codereview.chromium.org/1269223002/ See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none
Diffstat (limited to 'xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h')
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h b/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h
index 424d31b2ce..5f31f9110e 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h
@@ -7,21 +7,21 @@
#ifndef _BC_PDF417CODEWORDDECODER_H_
#define _BC_PDF417CODEWORDDECODER_H_
class CBC_PDF417CodewordDecoder;
-#define column 8
+#define column 8
class CBC_PDF417Common;
-class CBC_PDF417CodewordDecoder
-{
-public:
- CBC_PDF417CodewordDecoder();
- virtual ~CBC_PDF417CodewordDecoder();
- static void Initialize();
- static void Finalize();
- static int32_t getDecodedValue(CFX_Int32Array& moduleBitCount);
-private:
- static FX_FLOAT RATIOS_TABLE[][8];
- static CFX_Int32Array* sampleBitCounts(CFX_Int32Array& moduleBitCount);
- static int32_t getDecodedCodewordValue(CFX_Int32Array& moduleBitCount);
- static int32_t getBitValue(CFX_Int32Array& moduleBitCount);
- static int32_t getClosestDecodedValue(CFX_Int32Array& moduleBitCount);
+class CBC_PDF417CodewordDecoder {
+ public:
+ CBC_PDF417CodewordDecoder();
+ virtual ~CBC_PDF417CodewordDecoder();
+ static void Initialize();
+ static void Finalize();
+ static int32_t getDecodedValue(CFX_Int32Array& moduleBitCount);
+
+ private:
+ static FX_FLOAT RATIOS_TABLE[][8];
+ static CFX_Int32Array* sampleBitCounts(CFX_Int32Array& moduleBitCount);
+ static int32_t getDecodedCodewordValue(CFX_Int32Array& moduleBitCount);
+ static int32_t getBitValue(CFX_Int32Array& moduleBitCount);
+ static int32_t getClosestDecodedValue(CFX_Int32Array& moduleBitCount);
};
#endif