1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef FXBARCODE_QRCODE_BC_QRCODERECBLOCKSDATA_H_ 8 #define FXBARCODE_QRCODE_BC_QRCODERECBLOCKSDATA_H_ 9 10 #include <stdint.h> 11 12 struct CBC_QRCoderECBlockData { 13 uint8_t ecCodeWordsPerBlock; 14 uint8_t count1; 15 uint8_t dataCodeWords1; 16 uint8_t count2; 17 uint8_t dataCodeWords2; 18 }; 19 20 extern const CBC_QRCoderECBlockData g_ECBData[40][4]; 21 22 #endif // FXBARCODE_QRCODE_BC_QRCODERECBLOCKSDATA_H_ 23