#include <BCH.h>
Public Member Functions | |
| BCH () | |
| bool | decode (int &err_n, _64bits &orig_n, const int encoded_bits[BCH_DEFAULT_LENGTH]) | 
| bool | decode (int &err_n, _64bits &orig_n, const _64bits encoded_n) | 
| void | encode (int encoded_bits[BCH_DEFAULT_LENGTH], const _64bits orig_n) | 
| void | encode (_64bits &encoded_n, const _64bits orig_n) | 
Protected Member Functions | |
| BCH (int _m, int _length, int _t) | |
| int | decode_bch (int *recd) | 
| void | encode_bch (int *bb, const int *data) | 
| bool | gen_poly (int _t) | 
| void | generate_gf () | 
| void | initialize (int _m, int _length, int _t) | 
Protected Attributes | |
| std::vector< int > | _d | 
| std::vector< std::vector< int > > | _elp | 
| std::vector< int > | _l | 
| std::vector< int > | _loc | 
| std::vector< int > | _reg | 
| std::vector< int > | _root | 
| std::vector< int > | _s | 
| std::vector< int > | _u_lu | 
| std::vector< int > | alpha_to | 
| int | d | 
| std::vector< int > | g | 
| std::vector< int > | index_of | 
| int | k | 
| int | length | 
| int | m | 
| int | n | 
| std::vector< int > | p | 
| int | t | 
| ARToolKitPlus::BCH::BCH | ( | int | _m, | 
| int | _length, | ||
| int | _t | ||
| ) |  [protected] | 
        
| bool ARToolKitPlus::BCH::decode | ( | int & | err_n, | 
| _64bits & | orig_n, | ||
| const int | encoded_bits[BCH_DEFAULT_LENGTH] | ||
| ) | 
| bool ARToolKitPlus::BCH::decode | ( | int & | err_n, | 
| _64bits & | orig_n, | ||
| const _64bits | encoded_n | ||
| ) | 
| int ARToolKitPlus::BCH::decode_bch | ( | int * | recd | ) |  [protected] | 
        
| void ARToolKitPlus::BCH::encode | ( | int | encoded_bits[BCH_DEFAULT_LENGTH], | 
| const _64bits | orig_n | ||
| ) | 
| void ARToolKitPlus::BCH::encode | ( | _64bits & | encoded_n, | 
| const _64bits | orig_n | ||
| ) | 
| void ARToolKitPlus::BCH::encode_bch | ( | int * | bb, | 
| const int * | data | ||
| ) |  [protected] | 
        
| bool ARToolKitPlus::BCH::gen_poly | ( | int | _t | ) |  [protected] | 
        
| void ARToolKitPlus::BCH::generate_gf | ( | ) |  [protected] | 
        
| void ARToolKitPlus::BCH::initialize | ( | int | _m, | 
| int | _length, | ||
| int | _t | ||
| ) |  [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_d [protected] | 
        
std::vector<std::vector<int> > ARToolKitPlus::BCH::_elp [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_l [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_loc [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_reg [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_root [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_s [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::_u_lu [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::alpha_to [protected] | 
        
int ARToolKitPlus::BCH::d [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::g [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::index_of [protected] | 
        
int ARToolKitPlus::BCH::k [protected] | 
        
int ARToolKitPlus::BCH::length [protected] | 
        
int ARToolKitPlus::BCH::m [protected] | 
        
int ARToolKitPlus::BCH::n [protected] | 
        
std::vector<int> ARToolKitPlus::BCH::p [protected] | 
        
int ARToolKitPlus::BCH::t [protected] |