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

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _BC_DETECTIONRESULTCOLUMN_H_ 7 #ifndef _BC_DETECTIONRESULTCOLUMN_H_
8 #define _BC_DETECTIONRESULTCOLUMN_H_ 8 #define _BC_DETECTIONRESULTCOLUMN_H_
9 class CBC_Codeword; 9 class CBC_Codeword;
10 class CBC_BoundingBox; 10 class CBC_BoundingBox;
11 class CBC_DetectionResultColumn 11 class CBC_DetectionResultColumn
12 { 12 {
13 public: 13 public:
14 CBC_DetectionResultColumn(CBC_BoundingBox* boundingBox); 14 CBC_DetectionResultColumn(CBC_BoundingBox* boundingBox);
15 virtual ~CBC_DetectionResultColumn(); 15 virtual ~CBC_DetectionResultColumn();
16 CBC_Codeword* getCodewordNearby(FX_INT32 imageRow); 16 CBC_Codeword* getCodewordNearby(int32_t imageRow);
17 FX_INT32 imageRowToCodewordIndex(FX_INT32 imageRow); 17 int32_t imageRowToCodewordIndex(int32_t imageRow);
18 FX_INT32 codewordIndexToImageRow(FX_INT32 codewordIndex); 18 int32_t codewordIndexToImageRow(int32_t codewordIndex);
19 void setCodeword(FX_INT32 imageRow, CBC_Codeword* codeword); 19 void setCodeword(int32_t imageRow, CBC_Codeword* codeword);
20 CBC_Codeword* getCodeword(FX_INT32 imageRow); 20 CBC_Codeword* getCodeword(int32_t imageRow);
21 CBC_BoundingBox* getBoundingBox(); 21 CBC_BoundingBox* getBoundingBox();
22 CFX_PtrArray* getCodewords(); 22 CFX_PtrArray* getCodewords();
23 CFX_ByteString toString(); 23 CFX_ByteString toString();
24 public: 24 public:
25 CBC_BoundingBox* m_boundingBox; 25 CBC_BoundingBox* m_boundingBox;
26 CFX_PtrArray* m_codewords; 26 CFX_PtrArray* m_codewords;
27 private: 27 private:
28 static FX_INT32 MAX_NEARBY_DISTANCE; 28 static int32_t MAX_NEARBY_DISTANCE;
29 }; 29 };
30 #endif 30 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698