Public Member Functions | Protected Member Functions | Protected Attributes
ARToolKitPlus::BCH Class Reference

#include <BCH.h>

List of all members.

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

Detailed Description

Definition at line 89 of file BCH.h.


Constructor & Destructor Documentation

ARToolKitPlus::BCH::BCH ( int  _m,
int  _length,
int  _t 
) [protected]

Member Function Documentation

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]

Member Data Documentation

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

Definition at line 119 of file BCH.h.

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

Definition at line 118 of file BCH.h.

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

Definition at line 120 of file BCH.h.

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

Definition at line 124 of file BCH.h.

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

Definition at line 125 of file BCH.h.

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

Definition at line 123 of file BCH.h.

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

Definition at line 122 of file BCH.h.

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

Definition at line 121 of file BCH.h.

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

Definition at line 114 of file BCH.h.

int ARToolKitPlus::BCH::d [protected]

Definition at line 111 of file BCH.h.

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

Definition at line 116 of file BCH.h.

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

Definition at line 115 of file BCH.h.

int ARToolKitPlus::BCH::k [protected]

Definition at line 111 of file BCH.h.

int ARToolKitPlus::BCH::length [protected]

Definition at line 111 of file BCH.h.

int ARToolKitPlus::BCH::m [protected]

Definition at line 111 of file BCH.h.

int ARToolKitPlus::BCH::n [protected]

Definition at line 111 of file BCH.h.

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

Definition at line 113 of file BCH.h.

int ARToolKitPlus::BCH::t [protected]

Definition at line 110 of file BCH.h.


The documentation for this class was generated from the following file:


tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun May 29 2016 02:50:12