mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
added DVB-S2X FULL BCH(32767, 32587) T=12
This commit is contained in:
parent
3092fa68ee
commit
bd202fa2f7
1 changed files with 24 additions and 0 deletions
|
|
@ -164,6 +164,18 @@ int main()
|
|||
CODE::BoseChaudhuriHocquenghemDecoder<24, 1, 16215, GF> decoder;
|
||||
bch_test(&encoder, &decoder, 100);
|
||||
}
|
||||
if (1) {
|
||||
// DVB-S2X FULL BCH(32767, 32587) T=12
|
||||
typedef CODE::GaloisField<15, 0b1000000000101101, uint16_t> GF;
|
||||
GF instance;
|
||||
CODE::BoseChaudhuriHocquenghemEncoder<32767, 32587> encoder({
|
||||
0b1000000000101101, 0b1000110010010011, 0b1011010101010101,
|
||||
0b1000110101101101, 0b1001010011010111, 0b1011000011010001,
|
||||
0b1101100010110101, 0b1100101101010101, 0b1011101010110111,
|
||||
0b1011110010011111, 0b1000101000010111, 0b1110110100010101});
|
||||
CODE::BoseChaudhuriHocquenghemDecoder<24, 1, 32587, GF> decoder;
|
||||
bch_test(&encoder, &decoder, 100);
|
||||
}
|
||||
if (1) {
|
||||
// DVB-S2 FULL BCH(65535, 65343) T=12
|
||||
typedef CODE::GaloisField<16, 0b10000000000101101, uint16_t> GF;
|
||||
|
|
@ -196,6 +208,18 @@ int main()
|
|||
CODE::BoseChaudhuriHocquenghemDecoderReference<24, 1, 16215, GF> decoder;
|
||||
bch_reference_test(&encoder, &decoder, 100);
|
||||
}
|
||||
if (1) {
|
||||
// DVB-S2X FULL BCH(32767, 32587) T=12
|
||||
typedef CODE::GaloisField<15, 0b1000000000101101, uint16_t> GF;
|
||||
GF instance;
|
||||
CODE::BoseChaudhuriHocquenghemEncoderReference<24, 1, 32587, GF> encoder({
|
||||
0b1000000000101101, 0b1000110010010011, 0b1011010101010101,
|
||||
0b1000110101101101, 0b1001010011010111, 0b1011000011010001,
|
||||
0b1101100010110101, 0b1100101101010101, 0b1011101010110111,
|
||||
0b1011110010011111, 0b1000101000010111, 0b1110110100010101});
|
||||
CODE::BoseChaudhuriHocquenghemDecoderReference<24, 1, 32587, GF> decoder;
|
||||
bch_reference_test(&encoder, &decoder, 100);
|
||||
}
|
||||
if (1) {
|
||||
// DVB-S2 FULL BCH(65535, 65343) T=12
|
||||
typedef CODE::GaloisField<16, 0b10000000000101101, uint16_t> GF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue