| 222 | |
| 223 | template<typename B, typename R> |
| 224 | int |
| 225 | Decoder_BCH_std<B, R>::_decode_hiho(const B* Y_N, int8_t* CWD, B* V_K, const size_t frame_id) |
| 226 | { |
| 227 | std::copy(Y_N, Y_N + this->N, this->YH_N.begin()); |
| 228 | |
| 229 | auto status = this->_decode(this->YH_N.data(), frame_id); |
| 230 | |
| 231 | std::copy(this->YH_N.data() + this->N - this->K, this->YH_N.data() + this->N, V_K); |
| 232 | |
| 233 | CWD[0] = !status; |
| 234 | return status; |
| 235 | } |
| 236 | |
| 237 | template<typename B, typename R> |
| 238 | int |