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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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 unified diff | Download patch
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/pdf417/BC_PDF417.h" 23 #include "xfa/fxbarcode/pdf417/BC_PDF417.h"
24 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h" 24 #include "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h"
25 #include "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h" 25 #include "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h"
26 #include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h" 26 #include "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h"
27 #include "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h" 27 #include "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h"
28 #include "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h" 28 #include "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h"
29 #include "xfa/src/fxbarcode/utils.h" 29 #include "xfa/fxbarcode/utils.h"
30 30
31 int32_t CBC_PDF417::START_PATTERN = 0x1fea8; 31 int32_t CBC_PDF417::START_PATTERN = 0x1fea8;
32 int32_t CBC_PDF417::STOP_PATTERN = 0x3fa29; 32 int32_t CBC_PDF417::STOP_PATTERN = 0x3fa29;
33 int32_t CBC_PDF417::CODEWORD_TABLE[][1000] = { 33 int32_t CBC_PDF417::CODEWORD_TABLE[][1000] = {
34 {0x1d5c0, 0x1eaf0, 0x1f57c, 0x1d4e0, 0x1ea78, 0x1f53e, 0x1a8c0, 0x1d470, 34 {0x1d5c0, 0x1eaf0, 0x1f57c, 0x1d4e0, 0x1ea78, 0x1f53e, 0x1a8c0, 0x1d470,
35 0x1a860, 0x15040, 0x1a830, 0x15020, 0x1adc0, 0x1d6f0, 0x1eb7c, 0x1ace0, 35 0x1a860, 0x15040, 0x1a830, 0x15020, 0x1adc0, 0x1d6f0, 0x1eb7c, 0x1ace0,
36 0x1d678, 0x1eb3e, 0x158c0, 0x1ac70, 0x15860, 0x15dc0, 0x1aef0, 0x1d77c, 36 0x1d678, 0x1eb3e, 0x158c0, 0x1ac70, 0x15860, 0x15dc0, 0x1aef0, 0x1d77c,
37 0x15ce0, 0x1ae78, 0x1d73e, 0x15c70, 0x1ae3c, 0x15ef0, 0x1af7c, 0x15e78, 37 0x15ce0, 0x1ae78, 0x1d73e, 0x15c70, 0x1ae3c, 0x15ef0, 0x1af7c, 0x15e78,
38 0x1af3e, 0x15f7c, 0x1f5fa, 0x1d2e0, 0x1e978, 0x1f4be, 0x1a4c0, 0x1d270, 38 0x1af3e, 0x15f7c, 0x1f5fa, 0x1d2e0, 0x1e978, 0x1f4be, 0x1a4c0, 0x1d270,
39 0x1e93c, 0x1a460, 0x1d238, 0x14840, 0x1a430, 0x1d21c, 0x14820, 0x1a418, 39 0x1e93c, 0x1a460, 0x1d238, 0x14840, 0x1a430, 0x1d21c, 0x14820, 0x1a418,
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 dimension->Add(m_minCols); 577 dimension->Add(m_minCols);
578 dimension->Add(rows); 578 dimension->Add(rows);
579 } 579 }
580 } 580 }
581 if (dimension == NULL) { 581 if (dimension == NULL) {
582 e = BCExceptionUnableToFitMessageInColumns; 582 e = BCExceptionUnableToFitMessageInColumns;
583 return NULL; 583 return NULL;
584 } 584 }
585 return dimension; 585 return dimension;
586 } 586 }
OLDNEW
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698