[−][src]Struct bchlib_sys::bch_control
struct bch_control - BCH control structure @m: Galois field order @n: maximum codeword size in bits (= 2^m-1) @t: error correction capability in bits @ecc_bits: ecc exact size in bits, i.e. generator polynomial degree (<=mt) @ecc_bytes: ecc max size (mt bits) in bytes @a_pow_tab: Galois field GF(2^m) exponentiation lookup table @a_log_tab: Galois field GF(2^m) log lookup table @mod8_tab: remainder generator polynomial lookup tables @ecc_buf: ecc parity words buffer @ecc_buf2: ecc parity words buffer @xi_tab: GF(2^m) base for solving degree 2 polynomial roots @syn: syndrome buffer @cache: log-based polynomial representation buffer @elp: error locator polynomial @poly_2t: temporary polynomials of degree 2t
Fields
m: c_uint
n: c_uint
t: c_uint
ecc_bits: c_uint
ecc_bytes: c_uint
a_pow_tab: *mut u16
a_log_tab: *mut u16
mod8_tab: *mut u32
ecc_buf: *mut u32
ecc_buf2: *mut u32
xi_tab: *mut c_uint
syn: *mut c_uint
cache: *mut c_int
elp: *mut gf_poly
poly_2t: [*mut gf_poly; 4]
databuf: *mut u8
Trait Implementations
impl Clone for bch_control
[src]
fn clone(&self) -> bch_control
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for bch_control
[src]
impl Debug for bch_control
[src]
Auto Trait Implementations
impl !Send for bch_control
impl !Sync for bch_control
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,