Added tetra rx ext app (#3257)

This commit is contained in:
Totoo
2026-07-09 09:10:08 +02:00
committed by GitHub
parent 42122a739c
commit d671455f79
22 changed files with 1402 additions and 0 deletions
@@ -0,0 +1,21 @@
#include "tetra_interleave.hpp"
namespace ui::external_app::tetra_rx {
void Interleave::block_deinterleave(
BitVector& in,
BitVector& out,
uint32_t K,
uint32_t a) {
for (uint32_t i = 1; i <= K; i++) {
uint32_t k =
1 +
((a * i) % K);
out.set(
i - 1,
in.get(k - 1));
}
}
} // namespace ui::external_app::tetra_rx