#include <dvbs2.h>
Definition at line 127 of file dvbs2.h.
◆ s2_scrambling()
leansdr::s2_scrambling::s2_scrambling |
( |
int |
codenum = 0 | ) |
|
|
inline |
Definition at line 130 of file dvbs2.h.
References i.
132 uint32_t stx = 0x00001, sty = 0x3ffff;
134 for (
int i = 0;
i < codenum; ++
i)
137 for (
int i = 0;
i < 131072; ++
i)
139 int zn = (stx ^ sty) & 1;
145 for (
int i = 0;
i < 131072; ++
i)
147 int zn = (stx ^ sty) & 1;
uint32_t lfsr_x(uint32_t X)
uint32_t lfsr_y(uint32_t Y)
◆ lfsr_x()
Definition at line 153 of file dvbs2.h.
155 int bit = ((X >> 7) ^ X) & 1;
156 return ((bit << 18) | X) >> 1;
◆ lfsr_y()
Definition at line 158 of file dvbs2.h.
160 int bit = ((Y >> 10) ^ (Y >> 7) ^ (Y >> 5) ^ Y) & 1;
161 return ((bit << 18) | Y) >> 1;
◆ Rn
uint8_t leansdr::s2_scrambling::Rn[131072] |
The documentation for this struct was generated from the following file:
- plugins/channelrx/demoddatv/leansdr/dvbs2.h