SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
Namespaces | |
filtergen | |
Typedefs | |
typedef deconvol_sync< u8, 0 > | deconvol_sync_simple |
typedef dvb_deconvol_sync< eucl_ss > | dvb_deconvol_sync_soft |
typedef dvb_deconvol_sync< u8 > | dvb_deconvol_sync_hard |
typedef ldpc_table< uint16_t > | s2_ldpc_table |
typedef ldpc_engine< bool, hard_sb, 8, uint16_t > | s2_ldpc_engine |
typedef unsigned char | u8 |
typedef unsigned short | u16 |
typedef unsigned long | u32 |
typedef signed char | s8 |
typedef signed short | s16 |
typedef signed long | s32 |
typedef float | f32 |
typedef complex< u8 > | cu8 |
typedef complex< s8 > | cs8 |
typedef complex< u16 > | cu16 |
typedef complex< s16 > | cs16 |
typedef complex< f32 > | cf32 |
typedef uint16_t | u_angle |
typedef int16_t | s_angle |
typedef uint8_t | hard_ss |
typedef int8_t | llr_t |
typedef uint8_t | hard_sb |
Enumerations | |
enum | code_rate { FEC12, FEC23, FEC46, FEC34, FEC56, FEC78, FEC45, FEC89, FEC910, FEC14, FEC13, FEC25, FEC35, FEC_COUNT } |
Functions | |
uint32_t | crc32 (const uint8_t *buf, int len) |
template<typename T , int N, typename Tm > | |
bitvect< T, N > | divmod (const Tm *m, size_t nm, const bitvect< T, N > &p) |
template<typename T , int N, typename Tm > | |
bitvect< T, N > | shiftdivmod (const Tm *m, size_t nm, const bitvect< T, N > &p, T init=0) |
template<typename T , int N> | |
bool | operator== (const bitvect< T, N > &a, const bitvect< T, N > &b) |
template<typename T , int N> | |
bitvect< T, N > | operator+ (const bitvect< T, N > &a, const bitvect< T, N > &b) |
template<typename T , int N, int NB> | |
bitvect< T, N > | operator* (bitvect< T, N > a, const bitvect< T, NB > &b) |
deconvol_sync_simple * | make_deconvol_sync_simple (scheduler *sch, pipebuf< eucl_ss > &_in, pipebuf< u8 > &_out, enum code_rate rate) |
const modcod_info * | check_modcod (int m) |
void | fatal (const char *s) |
void | fail (const char *s) |
template<typename T > | |
pipewriter< T > * | opt_writer (pipebuf< T > *buf, unsigned long min_write=1) |
template<typename T > | |
bool | opt_writable (pipewriter< T > *p, int n=1) |
template<typename T > | |
void | opt_write (pipewriter< T > *p, T val) |
template<typename T > | |
T | gen_sqrt (T x) |
float | gen_sqrt (float x) |
unsigned int | gen_sqrt (unsigned int x) |
long double | gen_sqrt (long double x) |
template<typename T > | |
T | gen_abs (T x) |
float | gen_abs (float x) |
int | gen_abs (int x) |
long int | gen_abs (long int x) |
template<typename T > | |
T | gen_hypot (T x, T y) |
float | gen_hypot (float x, float y) |
long double | gen_hypot (long double x, long double y) |
template<typename T > | |
T | gen_atan2 (T y, T x) |
float | gen_atan2 (float y, float x) |
long double | gen_atan2 (long double y, long double x) |
template<typename T > | |
T | min (const T &x, const T &y) |
template<typename T > | |
T | max (const T &x, const T &y) |
int | hamming_weight (uint8_t x) |
int | hamming_weight (uint16_t x) |
int | hamming_weight (uint32_t x) |
int | hamming_weight (uint64_t x) |
unsigned char | parity (uint8_t x) |
unsigned char | parity (uint16_t x) |
unsigned char | parity (uint32_t x) |
unsigned char | parity (uint64_t x) |
int | log2i (uint64_t x) |
template<typename T > | |
complex< T > | operator+ (const complex< T > &a, const complex< T > &b) |
template<typename T > | |
complex< T > | operator* (const complex< T > &a, const complex< T > &b) |
template<typename T > | |
complex< T > | operator* (const complex< T > &a, const T &k) |
template<typename T > | |
complex< T > | operator* (const T &k, const complex< T > &a) |
template<typename T > | |
T | dotprod (const T *u, const T *v, int n) |
template<typename T > | |
T | cnorm2 (const complex< T > &u) |
template<typename T > | |
T | cnorm2 (const complex< T > *p, int n) |
template<typename T > | |
complex< T > | conjprod (const complex< T > &u, const complex< T > &v) |
template<typename T > | |
complex< T > | conjprod (const complex< T > *u, const complex< T > *v, int n) |
void | softsymb_harden (llr_ss *ss) |
void | softsymb_harden (hard_ss *ss) |
void | softsymb_harden (eucl_ss *ss) |
uint8_t | softsymb_to_dump (const llr_ss &ss, int bit) |
uint8_t | softsymb_to_dump (const hard_ss &ss, int bit) |
uint8_t | softsymb_to_dump (const eucl_ss &ss, int bit) |
void | to_softsymb (const full_ss *fss, hard_ss *ss) |
void | to_softsymb (const full_ss *fss, eucl_ss *ss) |
void | to_softsymb (const full_ss *fss, llr_ss *ss) |
bool | llr_harden (llr_t v) |
bool | softword_get (const hard_sb &p, int b) |
void | softword_set (hard_sb *p, int b, bool v) |
void | softword_clear (hard_sb *p) |
bool | softword_weight (const bool &l) |
void | softbit_set (bool *p, bool v) |
bool | softbit_harden (bool b) |
uint8_t | softbyte_harden (const hard_sb &b) |
bool | softbit_xor (bool x, bool y) |
void | softbit_clear (bool *p) |
bool | softwords_xor (const hard_sb p1[], const hard_sb p2[], int b) |
void | softword_zero (hard_sb *p) |
void | softwords_set (hard_sb p[], int b) |
void | softword_write (hard_sb &p, int b, bool v) |
void | softwords_write (hard_sb p[], int b, bool v) |
void | softwords_flip (hard_sb p[], int b) |
uint8_t * | softbytes_harden (hard_sb p[], int nbytes, uint8_t storage[]) |
float | prob (llr_t l) |
llr_t | llr (float p) |
llr_t | llr_xor (llr_t lx, llr_t ly) |
llr_t | softword_get (const llr_sb &p, int b) |
llr_t | softwords_get (const llr_sb p[], int b) |
void | softword_set (llr_sb *p, int b, llr_t v) |
void | softword_clear (llr_sb *p) |
llr_t | softword_weight (llr_t l) |
void | softbit_set (llr_t *p, bool v) |
bool | softbit_harden (llr_t l) |
uint8_t | softbyte_harden (const llr_sb &b) |
llr_t | softbit_xor (llr_t x, llr_t y) |
void | softbit_clear (llr_t *p) |
llr_t | softwords_xor (const llr_sb p1[], const llr_sb p2[], int b) |
void | softword_zero (llr_sb *p) |
void | softwords_set (llr_sb p[], int b) |
void | softword_write (llr_sb &p, int b, llr_t v) |
void | softwords_write (llr_sb p[], int b, llr_t v) |
void | softwords_flip (llr_sb p[], int b) |
uint8_t * | softbytes_harden (llr_sb p[], int nbytes, uint8_t storage[]) |
template<typename SOFTBIT , typename SOFTBYTE > | |
SOFTBIT | softwords_get (const SOFTBYTE p[], int b) |
template<typename SOFTBIT , typename SOFTBYTE > | |
void | softwords_set (SOFTBYTE p[], int b, SOFTBIT v) |
template<typename SOFTBIT , typename SOFTBYTE > | |
SOFTBIT | softwords_weight (const SOFTBYTE p[], int b) |
Variables | |
const struct leansdr::modcod_info | modcod_infos [32] |
const float | cstln_amp = 75 |
typedef complex<f32> leansdr::cf32 |
typedef complex<s16> leansdr::cs16 |
typedef complex<s8> leansdr::cs8 |
typedef complex<u16> leansdr::cu16 |
typedef complex<u8> leansdr::cu8 |
typedef deconvol_sync<u8, 0> leansdr::deconvol_sync_simple |
typedef float leansdr::f32 |
typedef uint8_t leansdr::hard_sb |
Definition at line 21 of file softword.h.
typedef uint8_t leansdr::hard_ss |
typedef int8_t leansdr::llr_t |
typedef signed short leansdr::s16 |
Definition at line 457 of file framework.h.
typedef ldpc_engine<bool, hard_sb, 8, uint16_t> leansdr::s2_ldpc_engine |
typedef ldpc_table<uint16_t> leansdr::s2_ldpc_table |
typedef signed long leansdr::s32 |
Definition at line 458 of file framework.h.
typedef signed char leansdr::s8 |
Definition at line 456 of file framework.h.
typedef int16_t leansdr::s_angle |
typedef unsigned short leansdr::u16 |
Definition at line 454 of file framework.h.
typedef unsigned long leansdr::u32 |
Definition at line 455 of file framework.h.
typedef unsigned char leansdr::u8 |
Definition at line 453 of file framework.h.
typedef uint16_t leansdr::u_angle |
enum leansdr::code_rate |
Enumerator | |
---|---|
FEC12 | |
FEC23 | |
FEC46 | |
FEC34 | |
FEC56 | |
FEC78 | |
FEC45 | |
FEC89 | |
FEC910 | |
FEC14 | |
FEC13 | |
FEC25 | |
FEC35 | |
FEC_COUNT |
const modcod_info* leansdr::check_modcod | ( | int | m | ) |
Definition at line 285 of file dvbs2.h.
References fail(), modcod_infos, and leansdr::modcod_info::nslots_nf.
Referenced by leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::receive_frame(), leansdr::s2_frame_transmitter< T >::run(), leansdr::s2_interleaver::run(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::run(), leansdr::s2_fecdec< SOFTBIT, SOFTBYTE >::run(), leansdr::s2_framer::run(), and leansdr::s2_fecenc::run_frame().
|
inline |
Definition at line 89 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
Referenced by cnorm2(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::init_agc().
T leansdr::cnorm2 | ( | const complex< T > * | p, |
int | n | ||
) |
|
inline |
Definition at line 105 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
Referenced by conjprod(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_locked().
complex<T> leansdr::conjprod | ( | const complex< T > * | u, |
const complex< T > * | v, | ||
int | n | ||
) |
Definition at line 113 of file math.h.
References conjprod(), hamming_weight(), log2i(), and parity().
Definition at line 58 of file crc.h.
References i.
Referenced by FileRecord::readHeader(), UDPSinkFEC::write(), and FileRecord::writeHeader().
bitvect<T, N> leansdr::divmod | ( | const Tm * | m, |
size_t | nm, | ||
const bitvect< T, N > & | p | ||
) |
Definition at line 111 of file discrmath.h.
References leansdr::bitvect< T, N >::v.
Referenced by leansdr::bch_engine< T, N, NP, DP, TGF, GFTRUNCGEN >::decode().
T leansdr::dotprod | ( | const T * | u, |
const T * | v, | ||
int | n | ||
) |
void leansdr::fail | ( | const char * | s | ) |
Definition at line 11 of file framework.cpp.
Referenced by leansdr::scheduler::add_pipe(), leansdr::pipebuf< leansdr::complex< leansdr::f32 > >::add_reader(), leansdr::scheduler::add_runnable(), leansdr::s2_frame_receiver< T, SOFTSYMB >::add_syncs(), leansdr::bch_engine< T, N, NP, DP, TGF, GFTRUNCGEN >::bch_engine(), check_modcod(), leansdr::cnr_fft< leansdr::f32 >::cnr_fft(), leansdr::cstln_lut< SOFTSYMB, 256 >::cstln_lut(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::decode_bitflip(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deserialize_qpsk(), leansdr::dvb_convol::dvb_convol(), leansdr::fir_resampler< T, Tc >::fir_resampler(), leansdr::gf2n< TGF, DP, 2, GFTRUNCGEN >::gf2n(), leansdr::gf2x_p< unsigned char, unsigned short, 0x11d, 8, 2 >::gf2x_p(), leansdr::s2_interleaver::interleave(), leansdr::deconvol_sync< leansdr::u8, 0 >::inverse_convolution(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::ldpc_engine(), leansdr::deconvol_sync< leansdr::u8, 0 >::next_sync(), leansdr::bitvect< T, DP >::operator<<=(), leansdr::deconvol_poly2< Tin, uint32_t, uint64_t, 0x3ba, 0x38f70 >::run(), leansdr::s2_frame_transmitter< T >::run(), leansdr::cstln_receiver< leansdr::f32, leansdr::eucl_ss >::run(), leansdr::rs_decoder< leansdr::u8, 0 >::run(), leansdr::fast_qpsk_receiver< T >::run(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::run(), leansdr::cstln_transmitter< Tout, Zout >::run(), leansdr::viterbi_sync::run(), leansdr::s2_framer::run(), leansdr::s2_frame_transmitter< T >::run_frame(), leansdr::s2_interleaver::serialize_qpsk(), leansdr::serializer< Tin, Tout >::serializer(), and leansdr::viterbi_sync::viterbi_sync().
void leansdr::fatal | ( | const char * | s | ) |
Definition at line 6 of file framework.cpp.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::node::append(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::count_edges(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave4050(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deserialize_qpsk(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::encode(), leansdr::convol_multipoly< uint16_t, 16 >::encode(), leansdr::file_vectorprinter< T, N >::file_vectorprinter(), leansdr::s2_interleaver::interleave(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::ldpc_engine(), leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::receive_frame(), leansdr::datvvideoplayer< leansdr::tspacket >::run(), leansdr::file_reader< T >::run(), leansdr::file_writer< leansdr::complex >::run(), leansdr::file_printer< T >::run(), leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::send_frame(), leansdr::s2_interleaver::serialize_qpsk(), leansdr::file_reader< T >::set_realtime(), and leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::spawn_helper().
T leansdr::gen_abs | ( | T | x | ) |
Referenced by leansdr::auto_notch< leansdr::f32 >::detect(), and gen_sqrt().
|
inline |
Definition at line 400 of file framework.h.
|
inline |
Definition at line 405 of file framework.h.
References abs().
|
inline |
Definition at line 410 of file framework.h.
References gen_hypot().
T leansdr::gen_atan2 | ( | T | y, |
T | x | ||
) |
|
inline |
Definition at line 429 of file framework.h.
|
inline |
Definition at line 434 of file framework.h.
T leansdr::gen_hypot | ( | T | x, |
T | y | ||
) |
|
inline |
Definition at line 417 of file framework.h.
|
inline |
Definition at line 422 of file framework.h.
References gen_atan2().
T leansdr::gen_sqrt | ( | T | x | ) |
Referenced by leansdr::auto_notch< leansdr::f32 >::detect(), leansdr::filtergen::normalize_power(), leansdr::pipereader< leansdr::complex< leansdr::f32 > >::read(), leansdr::cstln_receiver< leansdr::f32, leansdr::eucl_ss >::run(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::update_agc().
|
inline |
Definition at line 383 of file framework.h.
|
inline |
Definition at line 388 of file framework.h.
|
inline |
Definition at line 393 of file framework.h.
References gen_abs().
int leansdr::hamming_weight | ( | uint8_t | x | ) |
Definition at line 6 of file math.cpp.
Referenced by conjprod(), leansdr::rs_engine::correct(), leansdr::deconvol_sync< leansdr::u8, 0 >::deconvol_sync(), hamming_weight(), leansdr::deconvol_sync< leansdr::u8, 0 >::inverse_convolution(), leansdr::deconvol_poly2< Tin, uint32_t, uint64_t, 0x3ba, 0x38f70 >::run(), leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_locked(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_search().
int leansdr::hamming_weight | ( | uint16_t | x | ) |
Definition at line 12 of file math.cpp.
References hamming_weight().
int leansdr::hamming_weight | ( | uint32_t | x | ) |
Definition at line 17 of file math.cpp.
References hamming_weight().
int leansdr::hamming_weight | ( | uint64_t | x | ) |
Definition at line 22 of file math.cpp.
References hamming_weight().
llr_t leansdr::llr | ( | float | p | ) |
Definition at line 83 of file softword.h.
Referenced by llr_xor().
|
inline |
Definition at line 446 of file sdr.h.
Referenced by leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::pack_qpsk_symbol(), and leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::split_symbol().
Definition at line 92 of file softword.h.
Referenced by softbit_xor(), and softwords_xor().
int leansdr::log2i | ( | uint64_t | x | ) |
Definition at line 48 of file math.cpp.
Referenced by conjprod(), leansdr::trellis< TS, NSTATES, TUS, NUS, NCS >::init_convolutional(), and leansdr::viterbi_sync::viterbi_sync().
deconvol_sync_simple * leansdr::make_deconvol_sync_simple | ( | scheduler * | sch, |
pipebuf< eucl_ss > & | _in, | ||
pipebuf< u8 > & | _out, | ||
enum code_rate | rate | ||
) |
T leansdr::max | ( | const T & | x, |
const T & | y | ||
) |
Definition at line 446 of file framework.h.
Referenced by FreeDVDemod::FreeDVSNR::accumulate(), FreeDVDemod::LevelRMS::accumulate(), Bladerf1Output::applySettings(), HackRFOutput::applySettings(), BladeRF2Output::applySettings(), SoapySDROutput::applySettings(), BladeRF2Input::applySettings(), LimeSDROutput::applySettings(), BladeRF2InputGui::BladeRF2InputGui(), BladeRF2OutputGui::BladeRF2OutputGui(), ScaleEngine::calcCharSize(), UDPSource::calculateLevel(), WFMMod::calculateLevel(), AMMod::calculateLevel(), NFMMod::calculateLevel(), FreeDVMod::calculateLevel(), SSBMod::calculateLevel(), ATVMod::calculateLevel(), clamp(), AudioCompressorSnd::clampf(), SoapySDRInputGui::createGlobalGainControl(), SoapySDROutputGui::createGlobalGainControl(), Interpolator::createPolyphaseLowPass(), decimation(), BladeRF2InputGui::displaySampleRate(), BladeRF2OutputGui::displaySampleRate(), LoRaDemod::dumpRaw(), SpectrumVis::feed(), PlutoSDROutput::getbbLPRange(), PlutoSDRInput::getbbLPRange(), DeviceBladeRF2::getDev(), PlutoSDROutput::getLORange(), PlutoSDRInput::getLORange(), ScaleEngine::getScaleWidth(), ArgInfoGUI::getValueType(), BladeRF2InputGui::handleMessage(), BladeRF2OutputGui::handleMessage(), BladeRF2Input::handleMessage(), qrtplib::RTPPacketBuilder::Init(), DATVDemod::InitDATVFramework(), DATVDemod::InitDATVS2Framework(), polar(), PhaseLock::process(), PhaseLock::process_phasor(), UDPSourceUDPHandler::resizeBuffer(), LevelMeterSignalDB::setColorTheme(), qrtplib::RTPSessionParams::SetMaximumPacketSize(), qrtplib::RTPPacketBuilder::SetMaximumPacketSize(), ArgInfoGUI::setRange(), BladeRF2Output::setSampleRate(), SoapySDROutput::setSampleRate(), BladeRF2Input::setSampleRate(), SoapySDRInput::setSampleRate(), ValueDial::setValueRange(), ValueDialZ::setValueRange(), Max2D< double >::storeAndGetMax(), BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Input::webapiFormatDeviceReport().
T leansdr::min | ( | const T & | x, |
const T & | y | ||
) |
Definition at line 440 of file framework.h.
Referenced by SSBDemodGUI::applyBandwidths(), GLScope::applyConfig(), AMMod::applyFeedbackAudioSampleRate(), NFMMod::applyFeedbackAudioSampleRate(), SSBMod::applyFeedbackAudioSampleRate(), BladeRF2Output::applySettings(), BladeRF2Input::applySettings(), BladeRF2InputGui::BladeRF2InputGui(), BladeRF2OutputGui::BladeRF2OutputGui(), clamp(), SoapySDRInputGui::createGlobalGainControl(), SoapySDROutputGui::createGlobalGainControl(), BladeRF2InputGui::displaySampleRate(), BladeRF2OutputGui::displaySampleRate(), PlutoSDROutput::getbbLPRange(), PlutoSDRInput::getbbLPRange(), DeviceBladeRF2::getDev(), PlutoSDROutput::getLORange(), PlutoSDRInput::getLORange(), ArgInfoGUI::getValueType(), BladeRF2InputGui::handleMessage(), BladeRF2OutputGui::handleMessage(), BladeRF2Input::handleMessage(), GLScope::paintGL(), PhaseLock::process(), PhaseLock::process_phasor(), leansdr::etr192_descrambler::run(), leansdr::cconverter< Tin, Zin, Tout, Zout, Gn, Gd >::run(), leansdr::scaler< Tscale, Tin, Tout >::run(), leansdr::naive_lowpass< T >::run(), leansdr::fir_filter< leansdr::complex, float >::run(), leansdr::decimator< leansdr::complex >::run(), leansdr::rate_estimator< float >::run(), leansdr::fir_resampler< T, Tc >::run(), leansdr::buffer_reader< T >::run(), leansdr::buffer_writer< T >::run(), leansdr::dvb_convol::run(), leansdr::cstln_transmitter< Tout, Zout >::run(), leansdr::rotator< leansdr::f32 >::run(), LevelMeterSignalDB::setColorTheme(), GLScope::setPolarDisplays(), ArgInfoGUI::setRange(), BladeRF2Output::setSampleRate(), SoapySDROutput::setSampleRate(), BladeRF2Input::setSampleRate(), SoapySDRInput::setSampleRate(), ValueDial::setValueRange(), ValueDialZ::setValueRange(), FileSinkThread::tick(), BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Input::webapiFormatDeviceReport().
complex<T> leansdr::operator* | ( | const complex< T > & | a, |
const complex< T > & | b | ||
) |
Definition at line 62 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
Definition at line 68 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
Definition at line 74 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
bitvect<T, N> leansdr::operator* | ( | bitvect< T, N > | a, |
const bitvect< T, NB > & | b | ||
) |
Definition at line 186 of file discrmath.h.
References i.
complex<T> leansdr::operator+ | ( | const complex< T > & | a, |
const complex< T > & | b | ||
) |
Definition at line 56 of file math.h.
References leansdr::complex< T >::im, and leansdr::complex< T >::re.
bitvect<T, N> leansdr::operator+ | ( | const bitvect< T, N > & | a, |
const bitvect< T, N > & | b | ||
) |
Definition at line 175 of file discrmath.h.
References i, leansdr::bitvect< T, N >::NW, and leansdr::bitvect< T, N >::v.
bool leansdr::operator== | ( | const bitvect< T, N > & | a, |
const bitvect< T, N > & | b | ||
) |
Definition at line 164 of file discrmath.h.
References i, leansdr::bitvect< T, N >::NW, and leansdr::bitvect< T, N >::v.
Referenced by qrtplib::RTPAddress::GetAddressType().
bool leansdr::opt_writable | ( | pipewriter< T > * | p, |
int | n = 1 |
||
) |
Definition at line 335 of file framework.h.
References leansdr::pipewriter< T >::writable().
Referenced by leansdr::hdlc_sync::run(), leansdr::s2_frame_receiver< T, SOFTSYMB >::run(), leansdr::s2_fecdec< SOFTBIT, SOFTBYTE >::run(), leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::run(), and leansdr::s2_deframer::run().
void leansdr::opt_write | ( | pipewriter< T > * | p, |
T | val | ||
) |
Definition at line 341 of file framework.h.
References leansdr::pipewriter< T >::write().
Referenced by leansdr::s2_frame_receiver< T, SOFTSYMB >::enter_coarse_freq(), leansdr::s2_frame_receiver< T, SOFTSYMB >::enter_frame_locked(), leansdr::s2_frame_receiver< T, SOFTSYMB >::enter_frame_search(), leansdr::s2_deframer::info_good_packet(), leansdr::s2_deframer::info_is_locked(), leansdr::hdlc_sync::output_frame(), leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::receive_frame(), leansdr::hdlc_sync::run(), leansdr::s2_frame_receiver< T, SOFTSYMB >::run(), leansdr::s2_fecdec< SOFTBIT, SOFTBYTE >::run(), leansdr::s2_deframer::run(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_locked().
pipewriter<T>* leansdr::opt_writer | ( | pipebuf< T > * | buf, |
unsigned long | min_write = 1 |
||
) |
Definition at line 329 of file framework.h.
unsigned char leansdr::parity | ( | uint8_t | x | ) |
Definition at line 27 of file math.cpp.
Referenced by conjprod(), leansdr::deconvol_sync< leansdr::u8, 0 >::convolve(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::count_edges(), leansdr::bch_engine< T, N, NP, DP, TGF, GFTRUNCGEN >::encode(), leansdr::convol_multipoly< uint16_t, 16 >::encode(), leansdr::trellis< TS, NSTATES, TUS, NUS, NCS >::init_convolutional(), leansdr::deconvol_sync< leansdr::u8, 0 >::inverse_convolution(), parity(), leansdr::deconvol_sync< leansdr::u8, 0 >::readbyte(), leansdr::deconvol_sync< leansdr::u8, 0 >::readerrors(), leansdr::deconvol_poly< Tin, Thist, POLY_DECONVOL, POLY_ERRORS >::run(), leansdr::convol_poly2< Thist, POLY1, POLY2 >::run(), and leansdr::deconvol_sync< leansdr::u8, 0 >::solve_rec().
unsigned char leansdr::parity | ( | uint16_t | x | ) |
unsigned char leansdr::parity | ( | uint32_t | x | ) |
unsigned char leansdr::parity | ( | uint64_t | x | ) |
float leansdr::prob | ( | llr_t | l | ) |
Definition at line 79 of file softword.h.
Referenced by llr_xor().
bitvect<T, N> leansdr::shiftdivmod | ( | const Tm * | m, |
size_t | nm, | ||
const bitvect< T, N > & | p, | ||
T | init = 0 |
||
) |
Definition at line 138 of file discrmath.h.
References i, leansdr::bitvect< T, N >::NW, and leansdr::bitvect< T, N >::v.
Referenced by leansdr::crc8_engine::crc8_engine(), and leansdr::bch_engine< T, N, NP, DP, TGF, GFTRUNCGEN >::encode().
|
inline |
Definition at line 41 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::diff_bits(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::integrate_bits().
|
inline |
Definition at line 135 of file softword.h.
|
inline |
Definition at line 38 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::compute_scores(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::decode_bitflip(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::encode().
|
inline |
Definition at line 120 of file softword.h.
|
inline |
Definition at line 37 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::decode_bitflip().
|
inline |
Definition at line 119 of file softword.h.
|
inline |
Definition at line 40 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::diff_bits(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::integrate_bits().
Definition at line 134 of file softword.h.
References llr_xor().
Definition at line 39 of file softword.h.
Referenced by softbytes_harden().
Definition at line 67 of file softword.h.
Referenced by leansdr::s2_fecdec_helper< SOFTBIT, SOFTBYTE >::receive_frame(), and leansdr::s2_fecdec< SOFTBIT, SOFTBYTE >::run().
Definition at line 161 of file softword.h.
References softbyte_harden().
void leansdr::softsymb_harden | ( | llr_ss * | ss | ) |
Definition at line 20 of file sdr.cpp.
References leansdr::llr_ss::bits.
Referenced by leansdr::cstln_lut< SOFTSYMB, 256 >::harden().
void leansdr::softsymb_harden | ( | hard_ss * | ss | ) |
void leansdr::softsymb_harden | ( | eucl_ss * | ss | ) |
Definition at line 31 of file sdr.cpp.
References leansdr::eucl_ss::dists2, leansdr::eucl_ss::MAX_SYMBOLS, and leansdr::eucl_ss::nearest.
Definition at line 38 of file sdr.cpp.
References leansdr::llr_ss::bits.
Referenced by leansdr::cstln_lut< SOFTSYMB, 256 >::dump().
Definition at line 48 of file sdr.cpp.
References leansdr::eucl_ss::dists2, and leansdr::eucl_ss::nearest.
|
inline |
Definition at line 32 of file softword.h.
Referenced by leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave4050(), and leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deserialize_qpsk().
|
inline |
Definition at line 111 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 23 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::count_edges(), leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave4050(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::diff_bits(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::encode(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::integrate_bits(), and softwords_get().
Definition at line 98 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 27 of file softword.h.
Referenced by softwords_set().
Definition at line 107 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 33 of file softword.h.
Referenced by softwords_weight().
Definition at line 118 of file softword.h.
References abs().
|
inline |
Definition at line 54 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::diff_bits(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::integrate_bits(), and softwords_write().
Definition at line 148 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 46 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::count_edges(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::encode().
|
inline |
Definition at line 140 of file softword.h.
|
inline |
Definition at line 63 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::count_edges(), leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::decode_bitflip(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::encode().
|
inline |
Definition at line 103 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 171 of file softword.h.
References softword_get().
|
inline |
Definition at line 50 of file softword.h.
Referenced by leansdr::s2_deinterleaver< SOFTSYMB, SOFTBYTE >::deinterleave4050().
|
inline |
Definition at line 144 of file softword.h.
References leansdr::llr_sb::bits.
|
inline |
Definition at line 176 of file softword.h.
References softword_set().
|
inline |
Definition at line 181 of file softword.h.
References softword_weight().
|
inline |
Definition at line 59 of file softword.h.
References softword_write().
Definition at line 152 of file softword.h.
References softword_write().
Definition at line 42 of file softword.h.
Referenced by leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::compute_scores(), and leansdr::ldpc_engine< SOFTBIT, SOFTWORD, SWSIZE, Taddr >::decode_bitflip().
Definition at line 136 of file softword.h.
References leansdr::llr_sb::bits, and llr_xor().
Definition at line 55 of file sdr.cpp.
References leansdr::full_ss::nearest.
Referenced by leansdr::cstln_lut< SOFTSYMB, 256 >::make_lut_from_symbols().
Definition at line 60 of file sdr.cpp.
References leansdr::eucl_ss::discr2, leansdr::full_ss::dists2, leansdr::eucl_ss::dists2, leansdr::eucl_ss::MAX_SYMBOLS, leansdr::full_ss::nearest, and leansdr::eucl_ss::nearest.
Definition at line 84 of file sdr.cpp.
References leansdr::llr_ss::bits, and leansdr::full_ss::p.
const float leansdr::cstln_amp = 75 |
Definition at line 404 of file sdr.h.
Referenced by leansdr::cstln_lut< SOFTSYMB, 256 >::make_qam(), leansdr::cstln_lut< SOFTSYMB, 256 >::polar(), leansdr::cstln_lut< SOFTSYMB, 256 >::polar2(), leansdr::cstln_receiver< leansdr::f32, leansdr::eucl_ss >::run(), leansdr::fast_qpsk_receiver< T >::run(), leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_locked(), leansdr::s2_frame_transmitter< T >::s2_frame_transmitter(), leansdr::s2_plscodes< T >::s2_plscodes(), leansdr::s2_sof< T >::s2_sof(), leansdr::s2_frame_receiver< T, SOFTSYMB >::track_symbol(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::update_agc().
const struct leansdr::modcod_info leansdr::modcod_infos[32] |
Referenced by check_modcod(), and leansdr::s2_frame_receiver< T, SOFTSYMB >::run_frame_locked().