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

std::vector<int> ARToolKitPlus::BCH::_d [protected]

Definition at line 96 of file BCH.h.

std::vector<std::vector<int> > ARToolKitPlus::BCH::_elp [protected]

Definition at line 95 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_l [protected]

Definition at line 97 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_loc [protected]

Definition at line 101 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_reg [protected]

Definition at line 102 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_root [protected]

Definition at line 100 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_s [protected]

Definition at line 99 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::_u_lu [protected]

Definition at line 98 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::alpha_to [protected]

Definition at line 91 of file BCH.h.

int ARToolKitPlus::BCH::d [protected]

Definition at line 88 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::g [protected]

Definition at line 93 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::index_of [protected]

Definition at line 92 of file BCH.h.

int ARToolKitPlus::BCH::k [protected]

Definition at line 88 of file BCH.h.

int ARToolKitPlus::BCH::length [protected]

Definition at line 88 of file BCH.h.

int ARToolKitPlus::BCH::m [protected]

Definition at line 88 of file BCH.h.

int ARToolKitPlus::BCH::n [protected]

Definition at line 88 of file BCH.h.

std::vector<int> ARToolKitPlus::BCH::p [protected]

Definition at line 90 of file BCH.h.

int ARToolKitPlus::BCH::t [protected]

Definition at line 87 of file BCH.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


artoolkitplus
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:12:20 2013