jabcode
|
LDPC encoder/decoder header. More...
Go to the source code of this file.
Macros | |
#define | LPDC_METADATA_SEED 38545 |
#define | LPDC_MESSAGE_SEED 785465 |
Functions | |
jab_data * | encodeLDPC (jab_data *data, jab_int32 *coderate_params) |
LDPC encoding. More... | |
jab_int32 | decodeLDPChd (jab_byte *data, jab_int32 length, jab_int32 wc, jab_int32 wr) |
LDPC decoding to perform hard decision. More... | |
jab_int32 | decodeLDPC (jab_float *enc, jab_int32 length, jab_int32 wc, jab_int32 wr, jab_byte *dec) |
LDPC decoding to performe soft decision. More... | |
LDPC encoder/decoder header.
libjabcode - JABCode Encoding/Decoding Library
Copyright 2016 by Fraunhofer SIT. All rights reserved. See LICENSE file for full terms of use and distribution.
Contact: Huajian Liu liu@s Waldemar Berchtold it.f raunh ofer .dewalde mar. berch told @sit. frau nhofe r.de
jab_int32 decodeLDPC | ( | jab_float * | enc, |
jab_int32 | length, | ||
jab_int32 | wc, | ||
jab_int32 | wr, | ||
jab_byte * | dec | ||
) |
LDPC decoding to performe soft decision.
enc | the probability value for each bit position |
length | the encoded data length |
wc | the number of '1's in each column |
wr | the number of '1's in each row |
dec | the decoded data |
jab_int32 decodeLDPChd | ( | jab_byte * | data, |
jab_int32 | length, | ||
jab_int32 | wc, | ||
jab_int32 | wr | ||
) |
LDPC decoding to perform hard decision.
data | the encoded data |
length | the encoded data length |
wc | the number of '1's in a column |
wr | the number of '1's in a row |
LDPC encoding.
data | the data to be encoded |
coderate_params | the two code rate parameter wc and wr indicating how many '1' in a column (Wc) and how many '1' in a row of the parity check matrix |