MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / _decode_siho

Method _decode_siho

src/Module/Decoder/BCH/Standard/Decoder_BCH_std.cpp:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251template<typename B, typename R>
252int
253Decoder_BCH_std<B, R>::_decode_siho(const R* Y_N, int8_t* CWD, B* V_K, const size_t frame_id)
254{
255 tools::hard_decide(Y_N, this->YH_N.data(), this->N);
256
257 auto status = this->_decode(this->YH_N.data(), frame_id);
258
259 std::copy(this->YH_N.data() + this->N - this->K, this->YH_N.data() + this->N, V_K);
260
261 CWD[0] = !status;
262 return status;
263}
264
265template<typename B, typename R>
266int

Callers

nothing calls this directly

Calls 1

_decodeMethod · 0.95

Tested by

no test coverage detected