| 250 | |
| 251 | template<typename B, typename R> |
| 252 | int |
| 253 | Decoder_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 | |
| 265 | template<typename B, typename R> |
| 266 | int |