7 lines
227 B
C
7 lines
227 B
C
#pragma once
|
|
|
|
// codeword is 174 log-likelihoods.
|
|
// plain is a return value, 174 ints, to be 0 or 1.
|
|
// iters is how hard to try.
|
|
// ok == 87 means success.
|
|
void ldpc_decode(float codeword[], int iters, int plain[], int *ok);
|