| 223 | |
| 224 | template<typename B> |
| 225 | void |
| 226 | Encoder_RSC_DB<B>::__pre_encode(const B* U_K, int& end_state) |
| 227 | { |
| 228 | auto state = 0; |
| 229 | for (auto i = 0; i < this->K; i += 2) |
| 230 | { |
| 231 | auto in = U_K[i] * 2 + U_K[i + 1]; |
| 232 | state = next_state[in][state]; |
| 233 | } |
| 234 | end_state = state; |
| 235 | } |
| 236 | |
| 237 | template<typename B> |
| 238 | void |
nothing calls this directly
no outgoing calls
no test coverage detected