ARToolKitPlus::BCH Class Reference
#include <BCH.h>
List of all members.
Public Member Functions |
| BCH () |
bool | decode (int &err_n, _64bits &orig_n, const _64bits encoded_n) |
bool | decode (int &err_n, _64bits &orig_n, const int encoded_bits[BCH_DEFAULT_LENGTH]) |
void | encode (_64bits &encoded_n, const _64bits orig_n) |
void | encode (int encoded_bits[BCH_DEFAULT_LENGTH], 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 |
Detailed Description
Definition at line 67 of file BCH.h.
Constructor & Destructor Documentation
ARToolKitPlus::BCH::BCH |
( |
|
) |
|
ARToolKitPlus::BCH::BCH |
( |
int |
_m, |
|
|
int |
_length, |
|
|
int |
_t | |
|
) |
| | [protected] |
Member Function Documentation
bool ARToolKitPlus::BCH::decode |
( |
int & |
err_n, |
|
|
_64bits & |
orig_n, |
|
|
const _64bits |
encoded_n | |
|
) |
| | |
bool ARToolKitPlus::BCH::decode |
( |
int & |
err_n, |
|
|
_64bits & |
orig_n, |
|
|
const int |
encoded_bits[BCH_DEFAULT_LENGTH] | |
|
) |
| | |
int ARToolKitPlus::BCH::decode_bch |
( |
int * |
recd |
) |
[protected] |
void ARToolKitPlus::BCH::encode |
( |
_64bits & |
encoded_n, |
|
|
const _64bits |
orig_n | |
|
) |
| | |
void ARToolKitPlus::BCH::encode |
( |
int |
encoded_bits[BCH_DEFAULT_LENGTH], |
|
|
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] |
Member Data Documentation
Definition at line 96 of file BCH.h.
Definition at line 95 of file BCH.h.
Definition at line 97 of file BCH.h.
Definition at line 99 of file BCH.h.
Definition at line 98 of file BCH.h.
Definition at line 91 of file BCH.h.
Definition at line 88 of file BCH.h.
Definition at line 93 of file BCH.h.
Definition at line 92 of file BCH.h.
Definition at line 88 of file BCH.h.
Definition at line 88 of file BCH.h.
Definition at line 88 of file BCH.h.
Definition at line 88 of file BCH.h.
Definition at line 90 of file BCH.h.
Definition at line 87 of file BCH.h.
The documentation for this class was generated from the following file: