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.
Public Types | Public Member Functions | Public Attributes | List of all members
leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE > Struct Template Reference

#include <dvbs2.h>

+ Collaboration diagram for leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >:

Public Types

typedef ldpc_engine< SOFTBIT, SOFTBYTE, 8, uint16_ts2_ldpc_engine
 

Public Member Functions

 s2_ldpc_engines ()
 
void print_node_stats ()
 

Public Attributes

s2_ldpc_engineldpcs [2][FEC_COUNT]
 

Detailed Description

template<typename SOFTBIT, typename SOFTBYTE>
struct leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >

Definition at line 1924 of file dvbs2.h.

Member Typedef Documentation

◆ s2_ldpc_engine

template<typename SOFTBIT, typename SOFTBYTE>
typedef ldpc_engine<SOFTBIT, SOFTBYTE, 8, uint16_t> leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >::s2_ldpc_engine

Definition at line 1926 of file dvbs2.h.

Constructor & Destructor Documentation

◆ s2_ldpc_engines()

template<typename SOFTBIT, typename SOFTBYTE>
leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >::s2_ldpc_engines ( )
inline

Definition at line 1928 of file dvbs2.h.

1929  {
1930  memset(ldpcs, 0, sizeof(ldpcs));
1931  for (int sf = 0; sf <= 1; ++sf)
1932  {
1933  for (int fec = 0; fec < FEC_COUNT; ++fec)
1934  {
1935  const fec_info *fi = &fec_infos[sf][fec];
1936  if (!fi->ldpc)
1937  {
1938  ldpcs[sf][fec] = NULL;
1939  }
1940  else
1941  {
1942  int n = (sf ? 64800 / 4 : 64800);
1943  int k = fi->kldpc;
1944  ldpcs[sf][fec] = new s2_ldpc_engine(fi->ldpc, k, n);
1945  }
1946  }
1947  }
1948  }
ldpc_engine< SOFTBIT, SOFTBYTE, 8, uint16_t > s2_ldpc_engine
Definition: dvbs2.h:1926
s2_ldpc_engine * ldpcs[2][FEC_COUNT]
Definition: dvbs2.h:1927

Member Function Documentation

◆ print_node_stats()

template<typename SOFTBIT, typename SOFTBYTE>
void leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >::print_node_stats ( )
inline

Definition at line 1949 of file dvbs2.h.

1950  {
1951  for (int sf = 0; sf <= 1; ++sf)
1952  for (int fec = 0; fec < FEC_COUNT; ++fec)
1953  {
1954  s2_ldpc_engine *ldpc = ldpcs[sf][fec];
1955  if (ldpc)
1956  ldpc->print_node_stats();
1957  }
1958  }
void print_node_stats()
Definition: ldpc.h:137
ldpc_engine< SOFTBIT, SOFTBYTE, 8, uint16_t > s2_ldpc_engine
Definition: dvbs2.h:1926
s2_ldpc_engine * ldpcs[2][FEC_COUNT]
Definition: dvbs2.h:1927

Member Data Documentation

◆ ldpcs

template<typename SOFTBIT, typename SOFTBYTE>
s2_ldpc_engine* leansdr::s2_ldpc_engines< SOFTBIT, SOFTBYTE >::ldpcs[2][FEC_COUNT]

Definition at line 1927 of file dvbs2.h.


The documentation for this struct was generated from the following file: