OLD | NEW |
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_REEDSOLOMONGF256_H_ | 7 #ifndef _BC_REEDSOLOMONGF256_H_ |
8 #define _BC_REEDSOLOMONGF256_H_ | 8 #define _BC_REEDSOLOMONGF256_H_ |
9 class CBC_ReedSolomonGF256Poly; | 9 class CBC_ReedSolomonGF256Poly; |
10 class CBC_ReedSolomonGF256 { | 10 class CBC_ReedSolomonGF256 { |
(...skipping 16 matching lines...) Expand all Loading... |
27 int32_t Multiply(int32_t a, int32_t b); | 27 int32_t Multiply(int32_t a, int32_t b); |
28 virtual void Init(); | 28 virtual void Init(); |
29 | 29 |
30 private: | 30 private: |
31 int32_t m_expTable[256]; | 31 int32_t m_expTable[256]; |
32 int32_t m_logTable[256]; | 32 int32_t m_logTable[256]; |
33 CBC_ReedSolomonGF256Poly* m_zero; | 33 CBC_ReedSolomonGF256Poly* m_zero; |
34 CBC_ReedSolomonGF256Poly* m_one; | 34 CBC_ReedSolomonGF256Poly* m_one; |
35 }; | 35 }; |
36 #endif | 36 #endif |
OLD | NEW |