1*3ac0a46fSAndroid Build Coastguard Worker // Copyright 2014 The PDFium Authors
2*3ac0a46fSAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
3*3ac0a46fSAndroid Build Coastguard Worker // found in the LICENSE file.
4*3ac0a46fSAndroid Build Coastguard Worker
5*3ac0a46fSAndroid Build Coastguard Worker // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6*3ac0a46fSAndroid Build Coastguard Worker // Original code is licensed as follows:
7*3ac0a46fSAndroid Build Coastguard Worker /*
8*3ac0a46fSAndroid Build Coastguard Worker * Copyright 2006 Jeremias Maerki
9*3ac0a46fSAndroid Build Coastguard Worker *
10*3ac0a46fSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
11*3ac0a46fSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
12*3ac0a46fSAndroid Build Coastguard Worker * You may obtain a copy of the License at
13*3ac0a46fSAndroid Build Coastguard Worker *
14*3ac0a46fSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0
15*3ac0a46fSAndroid Build Coastguard Worker *
16*3ac0a46fSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
17*3ac0a46fSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
18*3ac0a46fSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19*3ac0a46fSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
20*3ac0a46fSAndroid Build Coastguard Worker * limitations under the License.
21*3ac0a46fSAndroid Build Coastguard Worker */
22*3ac0a46fSAndroid Build Coastguard Worker
23*3ac0a46fSAndroid Build Coastguard Worker #include "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h"
24*3ac0a46fSAndroid Build Coastguard Worker
25*3ac0a46fSAndroid Build Coastguard Worker #include "fxbarcode/datamatrix/BC_Encoder.h"
26*3ac0a46fSAndroid Build Coastguard Worker #include "fxbarcode/datamatrix/BC_SymbolInfo.h"
27*3ac0a46fSAndroid Build Coastguard Worker
28*3ac0a46fSAndroid Build Coastguard Worker namespace {
29*3ac0a46fSAndroid Build Coastguard Worker
30*3ac0a46fSAndroid Build Coastguard Worker constexpr CBC_SymbolInfo::Data kSymbolDatum = {1558, 620, -1, 62, 22, 22, 36};
31*3ac0a46fSAndroid Build Coastguard Worker
32*3ac0a46fSAndroid Build Coastguard Worker } // namespace
33*3ac0a46fSAndroid Build Coastguard Worker
CBC_DataMatrixSymbolInfo144()34*3ac0a46fSAndroid Build Coastguard Worker CBC_DataMatrixSymbolInfo144::CBC_DataMatrixSymbolInfo144()
35*3ac0a46fSAndroid Build Coastguard Worker : CBC_SymbolInfo(&kSymbolDatum) {}
36*3ac0a46fSAndroid Build Coastguard Worker
37*3ac0a46fSAndroid Build Coastguard Worker CBC_DataMatrixSymbolInfo144::~CBC_DataMatrixSymbolInfo144() = default;
38*3ac0a46fSAndroid Build Coastguard Worker
GetInterleavedBlockCount() const39*3ac0a46fSAndroid Build Coastguard Worker size_t CBC_DataMatrixSymbolInfo144::GetInterleavedBlockCount() const {
40*3ac0a46fSAndroid Build Coastguard Worker return 10;
41*3ac0a46fSAndroid Build Coastguard Worker }
42