GNU Radio's SATNOGS Package
|
Performs data whitening and de-whitening. More...
#include <whitening.h>
Public Types | |
using | sptr = std::shared_ptr< whitening > |
Public Member Functions | |
int | unique_id () |
whitening (uint32_t mask, uint32_t seed, uint32_t order, bool msb=false, bool self_sync=false) | |
~whitening () | |
void | reset () |
void | scramble (uint8_t *out, const uint8_t *in, size_t len) |
void | descramble (uint8_t *out, const uint8_t *in, size_t len) |
void | scramble_one_bit_per_byte (uint8_t *out, const uint8_t *in, size_t bits_num) |
void | descramble_one_bit_per_byte (uint8_t *out, const uint8_t *in, size_t bits_num) |
Static Public Member Functions | |
static sptr | make (uint32_t mask, uint32_t seed, uint32_t order, bool msb=false, bool self_sync=false) |
static sptr | make_ccsds (bool msb=false) |
static sptr | make_g3ruh (bool msb=false) |
static sptr | make_none () |
Static Public Attributes | |
static int | base_unique_id |
Performs data whitening and de-whitening.
using gr::satnogs::whitening::sptr = std::shared_ptr<whitening> |
gr::satnogs::whitening::whitening | ( | uint32_t | mask, |
uint32_t | seed, | ||
uint32_t | order, | ||
bool | msb = false , |
||
bool | self_sync = false |
||
) |
gr::satnogs::whitening::~whitening | ( | ) |
void gr::satnogs::whitening::descramble | ( | uint8_t * | out, |
const uint8_t * | in, | ||
size_t | len | ||
) |
void gr::satnogs::whitening::descramble_one_bit_per_byte | ( | uint8_t * | out, |
const uint8_t * | in, | ||
size_t | bits_num | ||
) |
|
static |
|
static |
|
static |
|
static |
void gr::satnogs::whitening::reset | ( | ) |
void gr::satnogs::whitening::scramble | ( | uint8_t * | out, |
const uint8_t * | in, | ||
size_t | len | ||
) |
void gr::satnogs::whitening::scramble_one_bit_per_byte | ( | uint8_t * | out, |
const uint8_t * | in, | ||
size_t | bits_num | ||
) |
int gr::satnogs::whitening::unique_id | ( | ) |
|
static |