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

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417.cpp

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 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 // Original code is licensed as follows: 6 // Original code is licensed as follows:
7 /* 7 /*
8 * Copyright 2006 Jeremias Maerki in part, and ZXing Authors in part 8 * Copyright 2006 Jeremias Maerki in part, and ZXing Authors in part
9 * 9 *
10 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License. 11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at 12 * You may obtain a copy of the License at
13 * 13 *
14 * http://www.apache.org/licenses/LICENSE-2.0 14 * http://www.apache.org/licenses/LICENSE-2.0
15 * 15 *
16 * Unless required by applicable law or agreed to in writing, software 16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS, 17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and 19 * See the License for the specific language governing permissions and
20 * limitations under the License. 20 * limitations under the License.
21 */ 21 */
22 22
23 #include "xfa/src/fxbarcode/barcode.h" 23 #include "xfa/src/fxbarcode/barcode.h"
24 #include "xfa/src/fxbarcode/pdf417/BC_PDF417.h"
25 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h"
26 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h"
24 #include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h" 27 #include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h"
25 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h"
26 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h"
27 #include "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h" 28 #include "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h"
28 #include "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h" 29 #include "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h"
29 #include "xfa/src/fxbarcode/pdf417/BC_PDF417.h"
30 int32_t CBC_PDF417::START_PATTERN = 0x1fea8; 30 int32_t CBC_PDF417::START_PATTERN = 0x1fea8;
31 int32_t CBC_PDF417::STOP_PATTERN = 0x3fa29; 31 int32_t CBC_PDF417::STOP_PATTERN = 0x3fa29;
32 int32_t CBC_PDF417::CODEWORD_TABLE[][1000] = { 32 int32_t CBC_PDF417::CODEWORD_TABLE[][1000] = {
33 {0x1d5c0, 0x1eaf0, 0x1f57c, 0x1d4e0, 0x1ea78, 0x1f53e, 0x1a8c0, 0x1d470, 33 {0x1d5c0, 0x1eaf0, 0x1f57c, 0x1d4e0, 0x1ea78, 0x1f53e, 0x1a8c0, 0x1d470,
34 0x1a860, 0x15040, 0x1a830, 0x15020, 0x1adc0, 0x1d6f0, 0x1eb7c, 0x1ace0, 34 0x1a860, 0x15040, 0x1a830, 0x15020, 0x1adc0, 0x1d6f0, 0x1eb7c, 0x1ace0,
35 0x1d678, 0x1eb3e, 0x158c0, 0x1ac70, 0x15860, 0x15dc0, 0x1aef0, 0x1d77c, 35 0x1d678, 0x1eb3e, 0x158c0, 0x1ac70, 0x15860, 0x15dc0, 0x1aef0, 0x1d77c,
36 0x15ce0, 0x1ae78, 0x1d73e, 0x15c70, 0x1ae3c, 0x15ef0, 0x1af7c, 0x15e78, 36 0x15ce0, 0x1ae78, 0x1d73e, 0x15c70, 0x1ae3c, 0x15ef0, 0x1af7c, 0x15e78,
37 0x1af3e, 0x15f7c, 0x1f5fa, 0x1d2e0, 0x1e978, 0x1f4be, 0x1a4c0, 0x1d270, 37 0x1af3e, 0x15f7c, 0x1f5fa, 0x1d2e0, 0x1e978, 0x1f4be, 0x1a4c0, 0x1d270,
38 0x1e93c, 0x1a460, 0x1d238, 0x14840, 0x1a430, 0x1d21c, 0x14820, 0x1a418, 38 0x1e93c, 0x1a460, 0x1d238, 0x14840, 0x1a430, 0x1d21c, 0x14820, 0x1a418,
39 0x14810, 0x1a6e0, 0x1d378, 0x1e9be, 0x14cc0, 0x1a670, 0x1d33c, 0x14c60, 39 0x14810, 0x1a6e0, 0x1d378, 0x1e9be, 0x14cc0, 0x1a670, 0x1d33c, 0x14c60,
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 dimension->Add(m_minCols); 576 dimension->Add(m_minCols);
577 dimension->Add(rows); 577 dimension->Add(rows);
578 } 578 }
579 } 579 }
580 if (dimension == NULL) { 580 if (dimension == NULL) {
581 e = BCExceptionUnableToFitMessageInColumns; 581 e = BCExceptionUnableToFitMessageInColumns;
582 return NULL; 582 return NULL;
583 } 583 }
584 return dimension; 584 return dimension;
585 } 585 }
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417.h ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698