Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 177.77 KB | None | 0 0
  1. # 1 "include\\liquid.h"
  2. # 1 "<built-in>"
  3. # 1 "<command-line>"
  4. # 1 "include\\liquid.h"
  5. # 33 "include\\liquid.h"
  6. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 1 3
  7. # 11 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 3
  8. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/crtdefs.h" 1 3
  9. # 10 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/crtdefs.h" 3
  10. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 1 3
  11. # 10 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  12. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 1 3
  13. # 10 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 3
  14. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw_mac.h" 1 3
  15. # 98 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw_mac.h" 3
  16.              
  17. # 107 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw_mac.h" 3
  18.              
  19. # 11 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 2 3
  20. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw_secapi.h" 1 3
  21. # 12 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 2 3
  22. # 284 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 3
  23. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 1 3
  24. # 9 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 3
  25. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 1 3
  26. # 609 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 3
  27. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/sdks/_mingw_ddk.h" 1 3
  28. # 610 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 2 3
  29. # 10 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 2 3
  30.  
  31.  
  32.  
  33.  
  34. #pragma pack(push,_CRT_PACKING)
  35. # 24 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 3
  36.  
  37. # 24 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 3
  38.  typedef __builtin_va_list __gnuc_va_list;
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.   typedef __gnuc_va_list va_list;
  46. # 103 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/vadefs.h" 3
  47. #pragma pack(pop)
  48. # 285 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 2 3
  49. # 580 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/_mingw.h" 3
  50. void __attribute__((__cdecl__)) __debugbreak(void);
  51. extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) void __attribute__((__cdecl__)) __debugbreak(void)
  52. {
  53.   __asm__ __volatile__("int {$}3":);
  54. }
  55.  
  56.  
  57.  
  58.  
  59. const char *__mingw_get_crt_info (void);
  60. # 11 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 2 3
  61.  
  62.  
  63.  
  64.  
  65. #pragma pack(push,_CRT_PACKING)
  66. # 40 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  67. __extension__ typedef unsigned long long size_t;
  68. # 50 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  69. __extension__ typedef long long ssize_t;
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76. typedef size_t rsize_t;
  77. # 67 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  78. __extension__ typedef long long intptr_t;
  79. # 80 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  80. __extension__ typedef unsigned long long uintptr_t;
  81. # 93 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  82. __extension__ typedef long long ptrdiff_t;
  83. # 103 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  84. typedef unsigned short wchar_t;
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. typedef unsigned short wint_t;
  93. typedef unsigned short wctype_t;
  94.  
  95.  
  96.  
  97.  
  98.  
  99. typedef int errno_t;
  100.  
  101.  
  102.  
  103.  
  104. typedef long __time32_t;
  105.  
  106.  
  107.  
  108.  
  109. __extension__ typedef long long __time64_t;
  110. # 143 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  111. typedef __time64_t time_t;
  112. # 435 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/corecrt.h" 3
  113. struct threadlocaleinfostruct;
  114. struct threadmbcinfostruct;
  115. typedef struct threadlocaleinfostruct *pthreadlocinfo;
  116. typedef struct threadmbcinfostruct *pthreadmbcinfo;
  117. struct __lc_time_data;
  118.  
  119. typedef struct localeinfo_struct {
  120.   pthreadlocinfo locinfo;
  121.   pthreadmbcinfo mbcinfo;
  122. } _locale_tstruct,*_locale_t;
  123.  
  124.  
  125.  
  126. typedef struct tagLC_ID {
  127.   unsigned short wLanguage;
  128.   unsigned short wCountry;
  129.   unsigned short wCodePage;
  130. } LC_ID,*LPLC_ID;
  131.  
  132.  
  133.  
  134.  
  135. typedef struct threadlocaleinfostruct {
  136.  
  137.  
  138.  
  139.  
  140.  
  141.   int refcount;
  142.   unsigned int lc_codepage;
  143.   unsigned int lc_collate_cp;
  144.   unsigned long lc_handle[6];
  145.   LC_ID lc_id[6];
  146.   struct {
  147.     char *locale;
  148.     wchar_t *wlocale;
  149.     int *refcount;
  150.     int *wrefcount;
  151.   } lc_category[6];
  152.   int lc_clike;
  153.   int mb_cur_max;
  154.   int *lconv_intl_refcount;
  155.   int *lconv_num_refcount;
  156.   int *lconv_mon_refcount;
  157.   struct lconv *lconv;
  158.   int *ctype1_refcount;
  159.   unsigned short *ctype1;
  160.   const unsigned short *pctype;
  161.   const unsigned char *pclmap;
  162.   const unsigned char *pcumap;
  163.   struct __lc_time_data *lc_time_curr;
  164.  
  165. } threadlocinfo;
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. #pragma pack(pop)
  174. # 11 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/crtdefs.h" 2 3
  175. # 12 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 2 3
  176. # 1 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stdint.h" 1 3 4
  177. # 9 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stdint.h" 3 4
  178. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stdint.h" 1 3 4
  179. # 32 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stdint.h" 3 4
  180. # 1 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 1 3 4
  181. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stddef.h" 1 3 4
  182. # 18 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stddef.h" 3 4
  183.   __attribute__ ((__dllimport__)) extern int *__attribute__((__cdecl__)) _errno(void);
  184.  
  185.   errno_t __attribute__((__cdecl__)) _set_errno(int _Value);
  186.   errno_t __attribute__((__cdecl__)) _get_errno(int *_Value);
  187.  
  188.  
  189.   __attribute__ ((__dllimport__)) extern unsigned long __attribute__((__cdecl__)) __threadid(void);
  190.  
  191.   __attribute__ ((__dllimport__)) extern uintptr_t __attribute__((__cdecl__)) __threadhandle(void);
  192. # 2 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 2 3 4
  193. # 416 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 3 4
  194. typedef struct {
  195.   long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
  196.   long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
  197. # 427 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 3 4
  198. } max_align_t;
  199. # 33 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stdint.h" 2 3 4
  200.  
  201.  
  202. typedef signed char int8_t;
  203. typedef unsigned char uint8_t;
  204. typedef short int16_t;
  205. typedef unsigned short uint16_t;
  206. typedef int int32_t;
  207. typedef unsigned uint32_t;
  208. __extension__ typedef long long int64_t;
  209. __extension__ typedef unsigned long long uint64_t;
  210.  
  211.  
  212. typedef signed char int_least8_t;
  213. typedef unsigned char uint_least8_t;
  214. typedef short int_least16_t;
  215. typedef unsigned short uint_least16_t;
  216. typedef int int_least32_t;
  217. typedef unsigned uint_least32_t;
  218. __extension__ typedef long long int_least64_t;
  219. __extension__ typedef unsigned long long uint_least64_t;
  220.  
  221.  
  222.  
  223.  
  224.  
  225. typedef signed char int_fast8_t;
  226. typedef unsigned char uint_fast8_t;
  227. typedef short int_fast16_t;
  228. typedef unsigned short uint_fast16_t;
  229. typedef int int_fast32_t;
  230. typedef unsigned int uint_fast32_t;
  231. __extension__ typedef long long int_fast64_t;
  232. __extension__ typedef unsigned long long uint_fast64_t;
  233.  
  234.  
  235. __extension__ typedef long long intmax_t;
  236. __extension__ typedef unsigned long long uintmax_t;
  237. # 10 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stdint.h" 2 3 4
  238. # 13 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 2 3
  239.  
  240. # 1 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 1 3 4
  241. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/stddef.h" 1 3 4
  242. # 2 "D:/Programas/msys2/mingw64/lib/gcc/x86_64-w64-mingw32/9.3.0/include/stddef.h" 2 3 4
  243. # 15 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 2 3
  244.  
  245.  
  246.  
  247.  
  248.  
  249. typedef struct {
  250.  intmax_t quot;
  251.  intmax_t rem;
  252.  } imaxdiv_t;
  253. # 281 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/inttypes.h" 3
  254. intmax_t __attribute__((__cdecl__)) imaxabs (intmax_t j);
  255.  
  256.  
  257.  
  258.  
  259. imaxdiv_t __attribute__((__cdecl__)) imaxdiv (intmax_t numer, intmax_t denom);
  260.  
  261.  
  262.  
  263. intmax_t __attribute__((__cdecl__)) strtoimax (const char* __restrict__ nptr,
  264.                             char** __restrict__ endptr, int base);
  265. uintmax_t __attribute__((__cdecl__)) strtoumax (const char* __restrict__ nptr,
  266.         char** __restrict__ endptr, int base);
  267.  
  268. intmax_t __attribute__((__cdecl__)) wcstoimax (const wchar_t* __restrict__ nptr,
  269.                             wchar_t** __restrict__ endptr, int base);
  270. uintmax_t __attribute__((__cdecl__)) wcstoumax (const wchar_t* __restrict__ nptr,
  271.         wchar_t** __restrict__ endptr, int base);
  272. # 34 "include\\liquid.h" 2
  273. # 58 "include\\liquid.h"
  274.  
  275. # 58 "include\\liquid.h"
  276. extern const char liquid_version[];
  277. const char * liquid_libversion(void);
  278. int liquid_libversion_number(void);
  279. # 81 "include\\liquid.h"
  280. # 1 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/complex.h" 1 3
  281. # 51 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/complex.h" 3
  282.  
  283. # 51 "D:/Programas/msys2/mingw64/x86_64-w64-mingw32/include/complex.h" 3
  284. double __attribute__ ((__const__)) creal (double _Complex);
  285. double __attribute__ ((__const__)) cimag (double _Complex);
  286. double __attribute__ ((__const__)) carg (double _Complex);
  287. double __attribute__ ((__const__)) cabs (double _Complex) ;
  288. double _Complex __attribute__ ((__const__)) conj (double _Complex);
  289. double _Complex cacos (double _Complex);
  290. double _Complex casin (double _Complex);
  291. double _Complex catan (double _Complex);
  292. double _Complex ccos (double _Complex);
  293. double _Complex csin (double _Complex);
  294. double _Complex ctan (double _Complex);
  295. double _Complex cacosh (double _Complex);
  296. double _Complex casinh (double _Complex);
  297. double _Complex catanh (double _Complex);
  298. double _Complex ccosh (double _Complex);
  299. double _Complex csinh (double _Complex);
  300. double _Complex ctanh (double _Complex);
  301. double _Complex cexp (double _Complex);
  302. double _Complex clog (double _Complex);
  303.  
  304.  
  305.  
  306. double _Complex cpow (double _Complex, double _Complex);
  307. double _Complex csqrt (double _Complex);
  308. double _Complex __attribute__ ((__const__)) cproj (double _Complex);
  309.  
  310. float __attribute__ ((__const__)) crealf (float _Complex);
  311. float __attribute__ ((__const__)) cimagf (float _Complex);
  312. float __attribute__ ((__const__)) cargf (float _Complex);
  313. float __attribute__ ((__const__)) cabsf (float _Complex);
  314. float _Complex __attribute__ ((__const__)) conjf (float _Complex);
  315. float _Complex cacosf (float _Complex);
  316. float _Complex casinf (float _Complex);
  317. float _Complex catanf (float _Complex);
  318. float _Complex ccosf (float _Complex);
  319. float _Complex csinf (float _Complex);
  320. float _Complex ctanf (float _Complex);
  321. float _Complex cacoshf (float _Complex);
  322. float _Complex casinhf (float _Complex);
  323. float _Complex catanhf (float _Complex);
  324. float _Complex ccoshf (float _Complex);
  325. float _Complex csinhf (float _Complex);
  326. float _Complex ctanhf (float _Complex);
  327. float _Complex cexpf (float _Complex);
  328. float _Complex clogf (float _Complex);
  329.  
  330.  
  331.  
  332. float _Complex cpowf (float _Complex, float _Complex);
  333. float _Complex csqrtf (float _Complex);
  334. float _Complex __attribute__ ((__const__)) cprojf (float _Complex);
  335.  
  336. long double __attribute__ ((__const__)) creall (long double _Complex);
  337. long double __attribute__ ((__const__)) cimagl (long double _Complex);
  338. long double __attribute__ ((__const__)) cargl (long double _Complex);
  339. long double __attribute__ ((__const__)) cabsl (long double _Complex);
  340. long double _Complex __attribute__ ((__const__)) conjl (long double _Complex);
  341. long double _Complex cacosl (long double _Complex);
  342. long double _Complex casinl (long double _Complex);
  343. long double _Complex catanl (long double _Complex);
  344. long double _Complex ccosl (long double _Complex);
  345. long double _Complex csinl (long double _Complex);
  346. long double _Complex ctanl (long double _Complex);
  347. long double _Complex cacoshl (long double _Complex);
  348. long double _Complex casinhl (long double _Complex);
  349. long double _Complex catanhl (long double _Complex);
  350. long double _Complex ccoshl (long double _Complex);
  351. long double _Complex csinhl (long double _Complex);
  352. long double _Complex ctanhl (long double _Complex);
  353. long double _Complex cexpl (long double _Complex);
  354. long double _Complex clogl (long double _Complex);
  355.  
  356.  
  357.  
  358. long double _Complex cpowl (long double _Complex, long double _Complex);
  359. long double _Complex csqrtl (long double _Complex);
  360. long double _Complex __attribute__ ((__const__)) cprojl (long double _Complex);
  361. # 82 "include\\liquid.h" 2
  362. # 90 "include\\liquid.h"
  363.  
  364. # 90 "include\\liquid.h"
  365. typedef float _Complex liquid_float_complex;
  366. typedef double _Complex liquid_double_complex;
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373. typedef enum {
  374.     LIQUID_AGC_SQUELCH_UNKNOWN=0,
  375.     LIQUID_AGC_SQUELCH_ENABLED,
  376.     LIQUID_AGC_SQUELCH_RISE,
  377.     LIQUID_AGC_SQUELCH_SIGNALHI,
  378.     LIQUID_AGC_SQUELCH_FALL,
  379.     LIQUID_AGC_SQUELCH_SIGNALLO,
  380.     LIQUID_AGC_SQUELCH_TIMEOUT,
  381.     LIQUID_AGC_SQUELCH_DISABLED,
  382. } agc_squelch_mode;
  383. # 264 "include\\liquid.h"
  384. typedef struct agc_crcf_s * agc_crcf; agc_crcf agc_crcf_create(void); void agc_crcf_destroy(agc_crcf _q); void agc_crcf_print(agc_crcf _q); void agc_crcf_reset(agc_crcf _q); void agc_crcf_execute(agc_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void agc_crcf_execute_block(agc_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); void agc_crcf_lock(agc_crcf _q); void agc_crcf_unlock(agc_crcf _q); void agc_crcf_set_bandwidth(agc_crcf _q, float _bt); float agc_crcf_get_bandwidth(agc_crcf _q); float agc_crcf_get_signal_level(agc_crcf _q); void agc_crcf_set_signal_level(agc_crcf _q, float _x2); float agc_crcf_get_rssi(agc_crcf _q); void agc_crcf_set_rssi(agc_crcf _q, float _rssi); float agc_crcf_get_gain(agc_crcf _q); void agc_crcf_set_gain(agc_crcf _q, float _gain); float agc_crcf_get_scale(agc_crcf _q); void agc_crcf_set_scale(agc_crcf _q, float _scale); void agc_crcf_init(agc_crcf _q, liquid_float_complex * _x, unsigned int _n); void agc_crcf_squelch_enable(agc_crcf _q); void agc_crcf_squelch_disable(agc_crcf _q); int agc_crcf_squelch_is_enabled(agc_crcf _q); void agc_crcf_squelch_set_threshold(agc_crcf _q, float _thresh); float agc_crcf_squelch_get_threshold(agc_crcf _q); void agc_crcf_squelch_set_timeout(agc_crcf _q, unsigned int _timeout); unsigned int agc_crcf_squelch_get_timeout(agc_crcf _q); int agc_crcf_squelch_get_status(agc_crcf _q);
  385. typedef struct agc_rrrf_s * agc_rrrf; agc_rrrf agc_rrrf_create(void); void agc_rrrf_destroy(agc_rrrf _q); void agc_rrrf_print(agc_rrrf _q); void agc_rrrf_reset(agc_rrrf _q); void agc_rrrf_execute(agc_rrrf _q, float _x, float * _y); void agc_rrrf_execute_block(agc_rrrf _q, float * _x, unsigned int _n, float * _y); void agc_rrrf_lock(agc_rrrf _q); void agc_rrrf_unlock(agc_rrrf _q); void agc_rrrf_set_bandwidth(agc_rrrf _q, float _bt); float agc_rrrf_get_bandwidth(agc_rrrf _q); float agc_rrrf_get_signal_level(agc_rrrf _q); void agc_rrrf_set_signal_level(agc_rrrf _q, float _x2); float agc_rrrf_get_rssi(agc_rrrf _q); void agc_rrrf_set_rssi(agc_rrrf _q, float _rssi); float agc_rrrf_get_gain(agc_rrrf _q); void agc_rrrf_set_gain(agc_rrrf _q, float _gain); float agc_rrrf_get_scale(agc_rrrf _q); void agc_rrrf_set_scale(agc_rrrf _q, float _scale); void agc_rrrf_init(agc_rrrf _q, float * _x, unsigned int _n); void agc_rrrf_squelch_enable(agc_rrrf _q); void agc_rrrf_squelch_disable(agc_rrrf _q); int agc_rrrf_squelch_is_enabled(agc_rrrf _q); void agc_rrrf_squelch_set_threshold(agc_rrrf _q, float _thresh); float agc_rrrf_squelch_get_threshold(agc_rrrf _q); void agc_rrrf_squelch_set_timeout(agc_rrrf _q, unsigned int _timeout); unsigned int agc_rrrf_squelch_get_timeout(agc_rrrf _q); int agc_rrrf_squelch_get_status(agc_rrrf _q);
  386. # 274 "include\\liquid.h"
  387. typedef struct cvsd_s * cvsd;
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. cvsd cvsd_create(unsigned int _num_bits,
  395.                  float _zeta,
  396.                  float _alpha);
  397.  
  398.  
  399. void cvsd_destroy(cvsd _q);
  400.  
  401.  
  402. void cvsd_print(cvsd _q);
  403.  
  404.  
  405. unsigned char cvsd_encode(cvsd _q, float _audio_sample);
  406. float cvsd_decode(cvsd _q, unsigned char _bit);
  407.  
  408.  
  409. void cvsd_encode8(cvsd _q, float * _audio, unsigned char * _data);
  410. void cvsd_decode8(cvsd _q, unsigned char _data, float * _audio);
  411. # 396 "include\\liquid.h"
  412. typedef struct cbufferf_s * cbufferf; cbufferf cbufferf_create(unsigned int _max_size); cbufferf cbufferf_create_max(unsigned int _max_size, unsigned int _max_read); void cbufferf_destroy(cbufferf _q); void cbufferf_print(cbufferf _q); void cbufferf_debug_print(cbufferf _q); void cbufferf_reset(cbufferf _q); unsigned int cbufferf_size(cbufferf _q); unsigned int cbufferf_max_size(cbufferf _q); unsigned int cbufferf_max_read(cbufferf _q); unsigned int cbufferf_space_available(cbufferf _q); int cbufferf_is_full(cbufferf _q); void cbufferf_push(cbufferf _q, float _v); void cbufferf_write(cbufferf _q, float * _v, unsigned int _n); void cbufferf_pop(cbufferf _q, float * _v); void cbufferf_read(cbufferf _q, unsigned int _num_requested, float ** _v, unsigned int * _num_read); void cbufferf_release(cbufferf _q, unsigned int _n);
  413. typedef struct cbuffercf_s * cbuffercf; cbuffercf cbuffercf_create(unsigned int _max_size); cbuffercf cbuffercf_create_max(unsigned int _max_size, unsigned int _max_read); void cbuffercf_destroy(cbuffercf _q); void cbuffercf_print(cbuffercf _q); void cbuffercf_debug_print(cbuffercf _q); void cbuffercf_reset(cbuffercf _q); unsigned int cbuffercf_size(cbuffercf _q); unsigned int cbuffercf_max_size(cbuffercf _q); unsigned int cbuffercf_max_read(cbuffercf _q); unsigned int cbuffercf_space_available(cbuffercf _q); int cbuffercf_is_full(cbuffercf _q); void cbuffercf_push(cbuffercf _q, liquid_float_complex _v); void cbuffercf_write(cbuffercf _q, liquid_float_complex * _v, unsigned int _n); void cbuffercf_pop(cbuffercf _q, liquid_float_complex * _v); void cbuffercf_read(cbuffercf _q, unsigned int _num_requested, liquid_float_complex ** _v, unsigned int * _num_read); void cbuffercf_release(cbuffercf _q, unsigned int _n);
  414. # 484 "include\\liquid.h"
  415. typedef struct windowf_s * windowf; windowf windowf_create(unsigned int _n); windowf windowf_recreate(windowf _q, unsigned int _n); void windowf_destroy(windowf _q); void windowf_print(windowf _q); void windowf_debug_print(windowf _q); void windowf_reset(windowf _q); void windowf_read(windowf _q, float ** _v); void windowf_index(windowf _q, unsigned int _i, float * _v); void windowf_push(windowf _q, float _v); void windowf_write(windowf _q, float * _v, unsigned int _n);
  416. typedef struct windowcf_s * windowcf; windowcf windowcf_create(unsigned int _n); windowcf windowcf_recreate(windowcf _q, unsigned int _n); void windowcf_destroy(windowcf _q); void windowcf_print(windowcf _q); void windowcf_debug_print(windowcf _q); void windowcf_reset(windowcf _q); void windowcf_read(windowcf _q, liquid_float_complex ** _v); void windowcf_index(windowcf _q, unsigned int _i, liquid_float_complex * _v); void windowcf_push(windowcf _q, liquid_float_complex _v); void windowcf_write(windowcf _q, liquid_float_complex * _v, unsigned int _n);
  417. # 538 "include\\liquid.h"
  418. typedef struct wdelayf_s * wdelayf; wdelayf wdelayf_create(unsigned int _delay); wdelayf wdelayf_recreate(wdelayf _q, unsigned int _delay); void wdelayf_destroy(wdelayf _q); void wdelayf_print(wdelayf _q); void wdelayf_reset(wdelayf _q); void wdelayf_read(wdelayf _q, float * _v); void wdelayf_push(wdelayf _q, float _v);
  419. typedef struct wdelaycf_s * wdelaycf; wdelaycf wdelaycf_create(unsigned int _delay); wdelaycf wdelaycf_recreate(wdelaycf _q, unsigned int _delay); void wdelaycf_destroy(wdelaycf _q); void wdelaycf_print(wdelaycf _q); void wdelaycf_reset(wdelaycf _q); void wdelaycf_read(wdelaycf _q, liquid_float_complex * _v); void wdelaycf_push(wdelaycf _q, liquid_float_complex _v);
  420. # 619 "include\\liquid.h"
  421. typedef struct channel_cccf_s * channel_cccf; channel_cccf channel_cccf_create(void); void channel_cccf_destroy(channel_cccf _q); void channel_cccf_print(channel_cccf _q); void channel_cccf_add_awgn(channel_cccf _q, float _N0dB, float _SNRdB); void channel_cccf_add_carrier_offset(channel_cccf _q, float _frequency, float _phase); void channel_cccf_add_multipath(channel_cccf _q, liquid_float_complex * _h, unsigned int _h_len); void channel_cccf_add_shadowing(channel_cccf _q, float _sigma, float _fd); void channel_cccf_execute(channel_cccf _q, liquid_float_complex _x, liquid_float_complex * _y); void channel_cccf_execute_block(channel_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  422. # 683 "include\\liquid.h"
  423. typedef struct tvmpch_cccf_s * tvmpch_cccf; tvmpch_cccf tvmpch_cccf_create(unsigned int _n, float _std, float _tau); void tvmpch_cccf_destroy(tvmpch_cccf _q); void tvmpch_cccf_reset(tvmpch_cccf _q); void tvmpch_cccf_print(tvmpch_cccf _q); void tvmpch_cccf_push(tvmpch_cccf _q, liquid_float_complex _x); void tvmpch_cccf_execute(tvmpch_cccf _q, liquid_float_complex * _y); void tvmpch_cccf_execute_block(tvmpch_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  424. # 764 "include\\liquid.h"
  425. typedef struct dotprod_rrrf_s * dotprod_rrrf; void dotprod_rrrf_run( float * _v, float * _x, unsigned int _n, float * _y); void dotprod_rrrf_run4( float * _v, float * _x, unsigned int _n, float * _y); dotprod_rrrf dotprod_rrrf_create(float * _v, unsigned int _n); dotprod_rrrf dotprod_rrrf_recreate(dotprod_rrrf _q, float * _v, unsigned int _n); void dotprod_rrrf_destroy(dotprod_rrrf _q); void dotprod_rrrf_print(dotprod_rrrf _q); void dotprod_rrrf_execute(dotprod_rrrf _q, float * _x, float * _y);
  426.  
  427.  
  428.  
  429.  
  430. typedef struct dotprod_cccf_s * dotprod_cccf; void dotprod_cccf_run( liquid_float_complex * _v, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); void dotprod_cccf_run4( liquid_float_complex * _v, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); dotprod_cccf dotprod_cccf_create(liquid_float_complex * _v, unsigned int _n); dotprod_cccf dotprod_cccf_recreate(dotprod_cccf _q, liquid_float_complex * _v, unsigned int _n); void dotprod_cccf_destroy(dotprod_cccf _q); void dotprod_cccf_print(dotprod_cccf _q); void dotprod_cccf_execute(dotprod_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  431.  
  432.  
  433.  
  434.  
  435. typedef struct dotprod_crcf_s * dotprod_crcf; void dotprod_crcf_run( float * _v, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); void dotprod_crcf_run4( float * _v, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); dotprod_crcf dotprod_crcf_create(float * _v, unsigned int _n); dotprod_crcf dotprod_crcf_recreate(dotprod_crcf _q, float * _v, unsigned int _n); void dotprod_crcf_destroy(dotprod_crcf _q); void dotprod_crcf_print(dotprod_crcf _q); void dotprod_crcf_execute(dotprod_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  436. # 783 "include\\liquid.h"
  437. float liquid_sumsqf(float * _v,
  438.                     unsigned int _n);
  439.  
  440. float liquid_sumsqcf(liquid_float_complex * _v,
  441.                      unsigned int _n);
  442. # 927 "include\\liquid.h"
  443. typedef struct eqlms_rrrf_s * eqlms_rrrf; eqlms_rrrf eqlms_rrrf_create(float * _h, unsigned int _n); eqlms_rrrf eqlms_rrrf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, float _dt); eqlms_rrrf eqlms_rrrf_create_lowpass(unsigned int _n, float _fc); eqlms_rrrf eqlms_rrrf_recreate(eqlms_rrrf _q, float * _h, unsigned int _h_len); void eqlms_rrrf_destroy(eqlms_rrrf _q); void eqlms_rrrf_reset(eqlms_rrrf _q); void eqlms_rrrf_print(eqlms_rrrf _q); float eqlms_rrrf_get_bw(eqlms_rrrf _q); void eqlms_rrrf_set_bw(eqlms_rrrf _q, float _lambda); void eqlms_rrrf_push(eqlms_rrrf _q, float _x); void eqlms_rrrf_push_block(eqlms_rrrf _q, float * _x, unsigned int _n); void eqlms_rrrf_execute(eqlms_rrrf _q, float * _y); void eqlms_rrrf_execute_block(eqlms_rrrf _q, unsigned int _k, float * _x, unsigned int _n, float * _y); void eqlms_rrrf_step(eqlms_rrrf _q, float _d, float _d_hat); void eqlms_rrrf_step_blind(eqlms_rrrf _q, float _d_hat); void eqlms_rrrf_get_weights(eqlms_rrrf _q, float * _w); void eqlms_rrrf_train(eqlms_rrrf _q, float * _w, float * _x, float * _d, unsigned int _n);
  444. typedef struct eqlms_cccf_s * eqlms_cccf; eqlms_cccf eqlms_cccf_create(liquid_float_complex * _h, unsigned int _n); eqlms_cccf eqlms_cccf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, float _dt); eqlms_cccf eqlms_cccf_create_lowpass(unsigned int _n, float _fc); eqlms_cccf eqlms_cccf_recreate(eqlms_cccf _q, liquid_float_complex * _h, unsigned int _h_len); void eqlms_cccf_destroy(eqlms_cccf _q); void eqlms_cccf_reset(eqlms_cccf _q); void eqlms_cccf_print(eqlms_cccf _q); float eqlms_cccf_get_bw(eqlms_cccf _q); void eqlms_cccf_set_bw(eqlms_cccf _q, float _lambda); void eqlms_cccf_push(eqlms_cccf _q, liquid_float_complex _x); void eqlms_cccf_push_block(eqlms_cccf _q, liquid_float_complex * _x, unsigned int _n); void eqlms_cccf_execute(eqlms_cccf _q, liquid_float_complex * _y); void eqlms_cccf_execute_block(eqlms_cccf _q, unsigned int _k, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); void eqlms_cccf_step(eqlms_cccf _q, liquid_float_complex _d, liquid_float_complex _d_hat); void eqlms_cccf_step_blind(eqlms_cccf _q, liquid_float_complex _d_hat); void eqlms_cccf_get_weights(eqlms_cccf _q, liquid_float_complex * _w); void eqlms_cccf_train(eqlms_cccf _q, liquid_float_complex * _w, liquid_float_complex * _x, liquid_float_complex * _d, unsigned int _n);
  445. # 1009 "include\\liquid.h"
  446. typedef struct eqrls_rrrf_s * eqrls_rrrf; eqrls_rrrf eqrls_rrrf_create(float * _h, unsigned int _n); eqrls_rrrf eqrls_rrrf_recreate(eqrls_rrrf _q, float * _h, unsigned int _n); void eqrls_rrrf_destroy(eqrls_rrrf _q); void eqrls_rrrf_reset(eqrls_rrrf _q); void eqrls_rrrf_print(eqrls_rrrf _q); float eqrls_rrrf_get_bw(eqrls_rrrf _q); void eqrls_rrrf_set_bw(eqrls_rrrf _q, float _mu); void eqrls_rrrf_push(eqrls_rrrf _q, float _x); void eqrls_rrrf_execute(eqrls_rrrf _q, float * _y); void eqrls_rrrf_step(eqrls_rrrf _q, float _d, float _d_hat); void eqrls_rrrf_get_weights(eqrls_rrrf _q, float * _w); void eqrls_rrrf_train(eqrls_rrrf _q, float * _w, float * _x, float * _d, unsigned int _n);
  447. typedef struct eqrls_cccf_s * eqrls_cccf; eqrls_cccf eqrls_cccf_create(liquid_float_complex * _h, unsigned int _n); eqrls_cccf eqrls_cccf_recreate(eqrls_cccf _q, liquid_float_complex * _h, unsigned int _n); void eqrls_cccf_destroy(eqrls_cccf _q); void eqrls_cccf_reset(eqrls_cccf _q); void eqrls_cccf_print(eqrls_cccf _q); float eqrls_cccf_get_bw(eqrls_cccf _q); void eqrls_cccf_set_bw(eqrls_cccf _q, float _mu); void eqrls_cccf_push(eqrls_cccf _q, liquid_float_complex _x); void eqrls_cccf_execute(eqrls_cccf _q, liquid_float_complex * _y); void eqrls_cccf_step(eqrls_cccf _q, liquid_float_complex _d, liquid_float_complex _d_hat); void eqrls_cccf_get_weights(eqrls_cccf _q, liquid_float_complex * _w); void eqrls_cccf_train(eqrls_cccf _q, liquid_float_complex * _w, liquid_float_complex * _x, liquid_float_complex * _d, unsigned int _n);
  448. # 1026 "include\\liquid.h"
  449. typedef enum {
  450.     LIQUID_CRC_UNKNOWN=0,
  451.     LIQUID_CRC_NONE,
  452.     LIQUID_CRC_CHECKSUM,
  453.     LIQUID_CRC_8,
  454.     LIQUID_CRC_16,
  455.     LIQUID_CRC_24,
  456.     LIQUID_CRC_32
  457. } crc_scheme;
  458.  
  459.  
  460. extern const char * crc_scheme_str[7][2];
  461.  
  462.  
  463. void liquid_print_crc_schemes();
  464.  
  465.  
  466. crc_scheme liquid_getopt_str2crc(const char * _str);
  467.  
  468.  
  469. unsigned int crc_get_length(crc_scheme _scheme);
  470.  
  471.  
  472.  
  473.  
  474.  
  475. unsigned int crc_generate_key(crc_scheme _scheme,
  476.                               unsigned char * _msg,
  477.                               unsigned int _n);
  478.  
  479.  
  480.  
  481.  
  482.  
  483. void crc_append_key(crc_scheme _scheme,
  484.                     unsigned char * _msg,
  485.                     unsigned int _n);
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492. int crc_validate_message(crc_scheme _scheme,
  493.                          unsigned char * _msg,
  494.                          unsigned int _n,
  495.                          unsigned int _key);
  496.  
  497.  
  498.  
  499.  
  500.  
  501. int crc_check_key(crc_scheme _scheme,
  502.                   unsigned char * _msg,
  503.                   unsigned int _n);
  504.  
  505.  
  506. unsigned int crc_sizeof_key(crc_scheme _scheme);
  507.  
  508.  
  509.  
  510.  
  511. typedef enum {
  512.     LIQUID_FEC_UNKNOWN=0,
  513.     LIQUID_FEC_NONE,
  514.     LIQUID_FEC_REP3,
  515.     LIQUID_FEC_REP5,
  516.     LIQUID_FEC_HAMMING74,
  517.     LIQUID_FEC_HAMMING84,
  518.     LIQUID_FEC_HAMMING128,
  519.  
  520.     LIQUID_FEC_GOLAY2412,
  521.     LIQUID_FEC_SECDED2216,
  522.     LIQUID_FEC_SECDED3932,
  523.     LIQUID_FEC_SECDED7264,
  524.  
  525.  
  526.     LIQUID_FEC_CONV_V27,
  527.     LIQUID_FEC_CONV_V29,
  528.     LIQUID_FEC_CONV_V39,
  529.     LIQUID_FEC_CONV_V615,
  530.  
  531.  
  532.     LIQUID_FEC_CONV_V27P23,
  533.     LIQUID_FEC_CONV_V27P34,
  534.     LIQUID_FEC_CONV_V27P45,
  535.     LIQUID_FEC_CONV_V27P56,
  536.     LIQUID_FEC_CONV_V27P67,
  537.     LIQUID_FEC_CONV_V27P78,
  538.  
  539.     LIQUID_FEC_CONV_V29P23,
  540.     LIQUID_FEC_CONV_V29P34,
  541.     LIQUID_FEC_CONV_V29P45,
  542.     LIQUID_FEC_CONV_V29P56,
  543.     LIQUID_FEC_CONV_V29P67,
  544.     LIQUID_FEC_CONV_V29P78,
  545.  
  546.  
  547.     LIQUID_FEC_RS_M8
  548. } fec_scheme;
  549.  
  550.  
  551. extern const char * fec_scheme_str[28][2];
  552.  
  553.  
  554. void liquid_print_fec_schemes();
  555.  
  556.  
  557. fec_scheme liquid_getopt_str2fec(const char * _str);
  558.  
  559.  
  560. typedef struct fec_s * fec;
  561.  
  562.  
  563.  
  564.  
  565.  
  566. unsigned int fec_get_enc_msg_length(fec_scheme _scheme,
  567.                                     unsigned int _msg_len);
  568.  
  569.  
  570.  
  571. float fec_get_rate(fec_scheme _scheme);
  572.  
  573.  
  574.  
  575.  
  576. fec fec_create(fec_scheme _scheme,
  577.                void *_opts);
  578.  
  579.  
  580.  
  581.  
  582.  
  583. fec fec_recreate(fec _q,
  584.                  fec_scheme _scheme,
  585.                  void *_opts);
  586.  
  587.  
  588. void fec_destroy(fec _q);
  589.  
  590.  
  591. void fec_print(fec _q);
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. void fec_encode(fec _q,
  599.                 unsigned int _dec_msg_len,
  600.                 unsigned char * _msg_dec,
  601.                 unsigned char * _msg_enc);
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608. void fec_decode(fec _q,
  609.                 unsigned int _dec_msg_len,
  610.                 unsigned char * _msg_enc,
  611.                 unsigned char * _msg_dec);
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. void fec_decode_soft(fec _q,
  619.                      unsigned int _dec_msg_len,
  620.                      unsigned char * _msg_enc,
  621.                      unsigned char * _msg_dec);
  622. # 1210 "include\\liquid.h"
  623. unsigned int packetizer_compute_enc_msg_len(unsigned int _n,
  624.                                             int _crc,
  625.                                             int _fec0,
  626.                                             int _fec1);
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634. unsigned int packetizer_compute_dec_msg_len(unsigned int _k,
  635.                                             int _crc,
  636.                                             int _fec0,
  637.                                             int _fec1);
  638.  
  639. typedef struct packetizer_s * packetizer;
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647. packetizer packetizer_create(unsigned int _dec_msg_len,
  648.                              int _crc,
  649.                              int _fec0,
  650.                              int _fec1);
  651. # 1246 "include\\liquid.h"
  652. packetizer packetizer_recreate(packetizer _p,
  653.                                unsigned int _dec_msg_len,
  654.                                int _crc,
  655.                                int _fec0,
  656.                                int _fec1);
  657.  
  658.  
  659. void packetizer_destroy(packetizer _p);
  660.  
  661.  
  662. void packetizer_print(packetizer _p);
  663.  
  664.  
  665. unsigned int packetizer_get_dec_msg_len(packetizer _p);
  666. unsigned int packetizer_get_enc_msg_len(packetizer _p);
  667. crc_scheme packetizer_get_crc (packetizer _p);
  668. fec_scheme packetizer_get_fec0 (packetizer _p);
  669. fec_scheme packetizer_get_fec1 (packetizer _p);
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677. void packetizer_encode(packetizer _p,
  678.                        const unsigned char * _msg,
  679.                        unsigned char * _pkt);
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687. int packetizer_decode(packetizer _p,
  688.                        const unsigned char * _pkt,
  689.                        unsigned char * _msg);
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697. int packetizer_decode_soft(packetizer _p,
  698.                            const unsigned char * _pkt,
  699.                            unsigned char * _msg);
  700.  
  701.  
  702.  
  703.  
  704.  
  705. typedef struct interleaver_s * interleaver;
  706.  
  707.  
  708.  
  709. interleaver interleaver_create(unsigned int _n);
  710.  
  711.  
  712. void interleaver_destroy(interleaver _q);
  713.  
  714.  
  715. void interleaver_print(interleaver _q);
  716.  
  717.  
  718.  
  719.  
  720. void interleaver_set_depth(interleaver _q,
  721.                            unsigned int _depth);
  722.  
  723.  
  724.  
  725.  
  726.  
  727. void interleaver_encode(interleaver _q,
  728.                         unsigned char * _msg_dec,
  729.                         unsigned char * _msg_enc);
  730.  
  731.  
  732.  
  733.  
  734.  
  735. void interleaver_encode_soft(interleaver _q,
  736.                              unsigned char * _msg_dec,
  737.                              unsigned char * _msg_enc);
  738.  
  739.  
  740.  
  741.  
  742.  
  743. void interleaver_decode(interleaver _q,
  744.                         unsigned char * _msg_enc,
  745.                         unsigned char * _msg_dec);
  746.  
  747.  
  748.  
  749.  
  750.  
  751. void interleaver_decode_soft(interleaver _q,
  752.                              unsigned char * _msg_enc,
  753.                              unsigned char * _msg_dec);
  754. # 1356 "include\\liquid.h"
  755. typedef enum {
  756.     LIQUID_FFT_UNKNOWN = 0,
  757.  
  758.  
  759.     LIQUID_FFT_FORWARD = +1,
  760.     LIQUID_FFT_BACKWARD = -1,
  761.  
  762.  
  763.     LIQUID_FFT_REDFT00 = 10,
  764.     LIQUID_FFT_REDFT10 = 11,
  765.     LIQUID_FFT_REDFT01 = 12,
  766.     LIQUID_FFT_REDFT11 = 13,
  767.  
  768.  
  769.     LIQUID_FFT_RODFT00 = 20,
  770.     LIQUID_FFT_RODFT10 = 21,
  771.     LIQUID_FFT_RODFT01 = 22,
  772.     LIQUID_FFT_RODFT11 = 23,
  773.  
  774.  
  775.     LIQUID_FFT_MDCT = 30,
  776.     LIQUID_FFT_IMDCT = 31,
  777. } liquid_fft_type;
  778. # 1457 "include\\liquid.h"
  779. typedef struct fftplan_s * fftplan; fftplan fft_create_plan(unsigned int _n, liquid_float_complex * _x, liquid_float_complex * _y, int _dir, int _flags); fftplan fft_create_plan_r2r_1d(unsigned int _n, float * _x, float * _y, int _type, int _flags); void fft_destroy_plan(fftplan _p); void fft_print_plan(fftplan _p); void fft_execute(fftplan _p); void fft_run(unsigned int _n, liquid_float_complex * _x, liquid_float_complex * _y, int _dir, int _flags); void fft_r2r_1d_run(unsigned int _n, float * _x, float * _y, int _type, int _flags); void fft_shift(liquid_float_complex * _x, unsigned int _n);
  780. # 1612 "include\\liquid.h"
  781. typedef struct spgramcf_s * spgramcf; spgramcf spgramcf_create(unsigned int _nfft, int _wtype, unsigned int _window_len, unsigned int _delay); spgramcf spgramcf_create_default(unsigned int _nfft); void spgramcf_destroy(spgramcf _q); void spgramcf_clear(spgramcf _q); void spgramcf_reset(spgramcf _q); void spgramcf_print(spgramcf _q); int spgramcf_set_alpha(spgramcf _q, float _alpha); float spgramcf_get_alpha(spgramcf _q); int spgramcf_set_freq(spgramcf _q, float _freq); int spgramcf_set_rate(spgramcf _q, float _rate); unsigned int spgramcf_get_nfft(spgramcf _q); unsigned int spgramcf_get_window_len(spgramcf _q); unsigned int spgramcf_get_delay(spgramcf _q); unsigned long long int spgramcf_get_num_samples(spgramcf _q); unsigned long long int spgramcf_get_num_samples_total(spgramcf _q); unsigned long long int spgramcf_get_num_transforms(spgramcf _q); unsigned long long int spgramcf_get_num_transforms_total(spgramcf _q); void spgramcf_push(spgramcf _q, liquid_float_complex _x); void spgramcf_write(spgramcf _q, liquid_float_complex * _x, unsigned int _n); void spgramcf_get_psd(spgramcf _q, float * _X); int spgramcf_export_gnuplot(spgramcf _q, const char * _filename); void spgramcf_estimate_psd(unsigned int _nfft, liquid_float_complex * _x, unsigned int _n, float * _psd);
  782.  
  783.  
  784.  
  785.  
  786. typedef struct spgramf_s * spgramf; spgramf spgramf_create(unsigned int _nfft, int _wtype, unsigned int _window_len, unsigned int _delay); spgramf spgramf_create_default(unsigned int _nfft); void spgramf_destroy(spgramf _q); void spgramf_clear(spgramf _q); void spgramf_reset(spgramf _q); void spgramf_print(spgramf _q); int spgramf_set_alpha(spgramf _q, float _alpha); float spgramf_get_alpha(spgramf _q); int spgramf_set_freq(spgramf _q, float _freq); int spgramf_set_rate(spgramf _q, float _rate); unsigned int spgramf_get_nfft(spgramf _q); unsigned int spgramf_get_window_len(spgramf _q); unsigned int spgramf_get_delay(spgramf _q); unsigned long long int spgramf_get_num_samples(spgramf _q); unsigned long long int spgramf_get_num_samples_total(spgramf _q); unsigned long long int spgramf_get_num_transforms(spgramf _q); unsigned long long int spgramf_get_num_transforms_total(spgramf _q); void spgramf_push(spgramf _q, float _x); void spgramf_write(spgramf _q, float * _x, unsigned int _n); void spgramf_get_psd(spgramf _q, float * _X); int spgramf_export_gnuplot(spgramf _q, const char * _filename); void spgramf_estimate_psd(unsigned int _nfft, float * _x, unsigned int _n, float * _psd);
  787. # 1698 "include\\liquid.h"
  788. typedef struct asgramcf_s * asgramcf; asgramcf asgramcf_create(unsigned int _nfft); void asgramcf_destroy(asgramcf _q); void asgramcf_reset(asgramcf _q); void asgramcf_set_scale(asgramcf _q, float _ref, float _div); void asgramcf_set_display(asgramcf _q, const char * _ascii); void asgramcf_push(asgramcf _q, liquid_float_complex _x); void asgramcf_write(asgramcf _q, liquid_float_complex * _x, unsigned int _n); void asgramcf_execute(asgramcf _q, char * _ascii, float * _peakval, float * _peakfreq); void asgramcf_print(asgramcf _q);
  789.  
  790.  
  791.  
  792.  
  793. typedef struct asgramf_s * asgramf; asgramf asgramf_create(unsigned int _nfft); void asgramf_destroy(asgramf _q); void asgramf_reset(asgramf _q); void asgramf_set_scale(asgramf _q, float _ref, float _div); void asgramf_set_display(asgramf _q, const char * _ascii); void asgramf_push(asgramf _q, float _x); void asgramf_write(asgramf _q, float * _x, unsigned int _n); void asgramf_execute(asgramf _q, char * _ascii, float * _peakval, float * _peakfreq); void asgramf_print(asgramf _q);
  794. # 1821 "include\\liquid.h"
  795. typedef struct spwaterfallcf_s * spwaterfallcf; spwaterfallcf spwaterfallcf_create(unsigned int _nfft, int _wtype, unsigned int _window_len, unsigned int _delay, unsigned int _time); spwaterfallcf spwaterfallcf_create_default(unsigned int _nfft, unsigned int _time); void spwaterfallcf_destroy(spwaterfallcf _q); void spwaterfallcf_clear(spwaterfallcf _q); void spwaterfallcf_reset(spwaterfallcf _q); void spwaterfallcf_print(spwaterfallcf _q); uint64_t spwaterfallcf_get_num_samples_total(spwaterfallcf _q); unsigned int spwaterfallcf_get_num_freq(spwaterfallcf _q); unsigned int spwaterfallcf_get_num_time(spwaterfallcf _q); const float * spwaterfallcf_get_psd(spwaterfallcf _q); int spwaterfallcf_set_freq(spwaterfallcf _q, float _freq); int spwaterfallcf_set_rate(spwaterfallcf _q, float _rate); int spwaterfallcf_set_dims(spwaterfallcf _q, unsigned int _width, unsigned int _height); int spwaterfallcf_set_commands(spwaterfallcf _q, const char * _commands); void spwaterfallcf_push(spwaterfallcf _q, liquid_float_complex _x); void spwaterfallcf_write(spwaterfallcf _q, liquid_float_complex * _x, unsigned int _n); int spwaterfallcf_export(spwaterfallcf _q, const char * _base);
  796.  
  797.  
  798.  
  799.  
  800. typedef struct spwaterfallf_s * spwaterfallf; spwaterfallf spwaterfallf_create(unsigned int _nfft, int _wtype, unsigned int _window_len, unsigned int _delay, unsigned int _time); spwaterfallf spwaterfallf_create_default(unsigned int _nfft, unsigned int _time); void spwaterfallf_destroy(spwaterfallf _q); void spwaterfallf_clear(spwaterfallf _q); void spwaterfallf_reset(spwaterfallf _q); void spwaterfallf_print(spwaterfallf _q); uint64_t spwaterfallf_get_num_samples_total(spwaterfallf _q); unsigned int spwaterfallf_get_num_freq(spwaterfallf _q); unsigned int spwaterfallf_get_num_time(spwaterfallf _q); const float * spwaterfallf_get_psd(spwaterfallf _q); int spwaterfallf_set_freq(spwaterfallf _q, float _freq); int spwaterfallf_set_rate(spwaterfallf _q, float _rate); int spwaterfallf_set_dims(spwaterfallf _q, unsigned int _width, unsigned int _height); int spwaterfallf_set_commands(spwaterfallf _q, const char * _commands); void spwaterfallf_push(spwaterfallf _q, float _x); void spwaterfallf_write(spwaterfallf _q, float * _x, unsigned int _n); int spwaterfallf_export(spwaterfallf _q, const char * _base);
  801. # 1841 "include\\liquid.h"
  802. typedef enum {
  803.     LIQUID_FIRFILT_UNKNOWN=0,
  804.  
  805.  
  806.     LIQUID_FIRFILT_KAISER,
  807.     LIQUID_FIRFILT_PM,
  808.     LIQUID_FIRFILT_RCOS,
  809.     LIQUID_FIRFILT_FEXP,
  810.     LIQUID_FIRFILT_FSECH,
  811.     LIQUID_FIRFILT_FARCSECH,
  812.  
  813.  
  814.     LIQUID_FIRFILT_ARKAISER,
  815.     LIQUID_FIRFILT_RKAISER,
  816.     LIQUID_FIRFILT_RRC,
  817.     LIQUID_FIRFILT_hM3,
  818.     LIQUID_FIRFILT_GMSKTX,
  819.     LIQUID_FIRFILT_GMSKRX,
  820.     LIQUID_FIRFILT_RFEXP,
  821.     LIQUID_FIRFILT_RFSECH,
  822.     LIQUID_FIRFILT_RFARCSECH,
  823. } liquid_firfilt_type;
  824. # 1871 "include\\liquid.h"
  825. void liquid_firdes_prototype(liquid_firfilt_type _type,
  826.                              unsigned int _k,
  827.                              unsigned int _m,
  828.                              float _beta,
  829.                              float _dt,
  830.                              float * _h);
  831.  
  832.  
  833. int liquid_getopt_str2firfilt(const char * _str);
  834.  
  835.  
  836.  
  837.  
  838. unsigned int estimate_req_filter_len(float _df,
  839.                                      float _As);
  840.  
  841.  
  842.  
  843.  
  844. float estimate_req_filter_As(float _df,
  845.                              unsigned int _N);
  846.  
  847.  
  848.  
  849.  
  850. float estimate_req_filter_df(float _As,
  851.                              unsigned int _N);
  852.  
  853.  
  854.  
  855.  
  856.  
  857. float kaiser_beta_As(float _As);
  858.  
  859.  
  860.  
  861.  
  862.  
  863. typedef enum {
  864.     LIQUID_FIRDESPM_BANDPASS=0,
  865.     LIQUID_FIRDESPM_DIFFERENTIATOR,
  866.     LIQUID_FIRDESPM_HILBERT
  867. } liquid_firdespm_btype;
  868.  
  869.  
  870. typedef enum {
  871.     LIQUID_FIRDESPM_FLATWEIGHT=0,
  872.     LIQUID_FIRDESPM_EXPWEIGHT,
  873.     LIQUID_FIRDESPM_LINWEIGHT,
  874. } liquid_firdespm_wtype;
  875. # 1931 "include\\liquid.h"
  876. void firdespm_run(unsigned int _h_len,
  877.                   unsigned int _num_bands,
  878.                   float * _bands,
  879.                   float * _des,
  880.                   float * _weights,
  881.                   liquid_firdespm_wtype * _wtype,
  882.                   liquid_firdespm_btype _btype,
  883.                   float * _h);
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891. void firdespm_lowpass(unsigned int _n,
  892.                       float _fc,
  893.                       float _As,
  894.                       float _mu,
  895.                       float * _h);
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902. typedef int (*firdespm_callback)(double _frequency,
  903.                                  void * _userdata,
  904.                                  double * _desired,
  905.                                  double * _weight);
  906.  
  907.  
  908. typedef struct firdespm_s * firdespm;
  909. # 1973 "include\\liquid.h"
  910. firdespm firdespm_create(unsigned int _h_len,
  911.                          unsigned int _num_bands,
  912.                          float * _bands,
  913.                          float * _des,
  914.                          float * _weights,
  915.                          liquid_firdespm_wtype * _wtype,
  916.                          liquid_firdespm_btype _btype);
  917. # 1988 "include\\liquid.h"
  918. firdespm firdespm_create_callback(unsigned int _h_len,
  919.                                   unsigned int _num_bands,
  920.                                   float * _bands,
  921.                                   liquid_firdespm_btype _btype,
  922.                                   firdespm_callback _callback,
  923.                                   void * _userdata);
  924.  
  925.  
  926. void firdespm_destroy(firdespm _q);
  927.  
  928.  
  929. void firdespm_print(firdespm _q);
  930.  
  931.  
  932. void firdespm_execute(firdespm _q, float * _h);
  933. # 2011 "include\\liquid.h"
  934. void liquid_firdes_kaiser(unsigned int _n,
  935.                           float _fc,
  936.                           float _As,
  937.                           float _mu,
  938.                           float *_h);
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945. void liquid_firdes_notch(unsigned int _m,
  946.                          float _f0,
  947.                          float _As,
  948.                          float * _h);
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956. void liquid_firdes_doppler(unsigned int _n,
  957.                            float _fd,
  958.                            float _K,
  959.                            float _theta,
  960.                            float * _h);
  961. # 2046 "include\\liquid.h"
  962. void liquid_firdes_rcos(unsigned int _k,
  963.                         unsigned int _m,
  964.                         float _beta,
  965.                         float _dt,
  966.                         float * _h);
  967.  
  968.  
  969. void liquid_firdes_rrcos(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  970.  
  971.  
  972. void liquid_firdes_rkaiser(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  973.  
  974.  
  975. void liquid_firdes_arkaiser(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  976.  
  977.  
  978. void liquid_firdes_hM3(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  979.  
  980.  
  981. void liquid_firdes_gmsktx(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  982. void liquid_firdes_gmskrx(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  983.  
  984.  
  985. void liquid_firdes_fexp( unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  986. void liquid_firdes_rfexp(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  987.  
  988.  
  989. void liquid_firdes_fsech( unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  990. void liquid_firdes_rfsech(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  991.  
  992.  
  993. void liquid_firdes_farcsech( unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  994. void liquid_firdes_rfarcsech(unsigned int _k, unsigned int _m, float _beta, float _dt, float * _h);
  995.  
  996.  
  997.  
  998.  
  999.  
  1000. float fir_group_delay(float * _h,
  1001.                       unsigned int _n,
  1002.                       float _fc);
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. float iir_group_delay(float * _b,
  1011.                       unsigned int _nb,
  1012.                       float * _a,
  1013.                       unsigned int _na,
  1014.                       float _fc);
  1015. # 2108 "include\\liquid.h"
  1016. float liquid_filter_autocorr(float * _h,
  1017.                              unsigned int _h_len,
  1018.                              int _lag);
  1019. # 2121 "include\\liquid.h"
  1020. float liquid_filter_crosscorr(float * _h,
  1021.                               unsigned int _h_len,
  1022.                               float * _g,
  1023.                               unsigned int _g_len,
  1024.                               int _lag);
  1025. # 2137 "include\\liquid.h"
  1026. void liquid_filter_isi(float * _h,
  1027.                        unsigned int _k,
  1028.                        unsigned int _m,
  1029.                        float * _rms,
  1030.                        float * _max);
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038. float liquid_filter_energy(float * _h,
  1039.                            unsigned int _h_len,
  1040.                            float _fc,
  1041.                            unsigned int _nfft);
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049. typedef enum {
  1050.     LIQUID_IIRDES_BUTTER=0,
  1051.     LIQUID_IIRDES_CHEBY1,
  1052.     LIQUID_IIRDES_CHEBY2,
  1053.     LIQUID_IIRDES_ELLIP,
  1054.     LIQUID_IIRDES_BESSEL
  1055. } liquid_iirdes_filtertype;
  1056.  
  1057.  
  1058. typedef enum {
  1059.     LIQUID_IIRDES_LOWPASS=0,
  1060.     LIQUID_IIRDES_HIGHPASS,
  1061.     LIQUID_IIRDES_BANDPASS,
  1062.     LIQUID_IIRDES_BANDSTOP
  1063. } liquid_iirdes_bandtype;
  1064.  
  1065.  
  1066. typedef enum {
  1067.     LIQUID_IIRDES_SOS=0,
  1068.     LIQUID_IIRDES_TF
  1069. } liquid_iirdes_format;
  1070. # 2193 "include\\liquid.h"
  1071. void liquid_iirdes(liquid_iirdes_filtertype _ftype,
  1072.                    liquid_iirdes_bandtype _btype,
  1073.                    liquid_iirdes_format _format,
  1074.                    unsigned int _n,
  1075.                    float _fc,
  1076.                    float _f0,
  1077.                    float _Ap,
  1078.                    float _As,
  1079.                    float * _B,
  1080.                    float * _A);
  1081.  
  1082.  
  1083. void butter_azpkf(unsigned int _n,
  1084.                   liquid_float_complex * _za,
  1085.                   liquid_float_complex * _pa,
  1086.                   liquid_float_complex * _ka);
  1087. void cheby1_azpkf(unsigned int _n,
  1088.                   float _ep,
  1089.                   liquid_float_complex * _z,
  1090.                   liquid_float_complex * _p,
  1091.                   liquid_float_complex * _k);
  1092. void cheby2_azpkf(unsigned int _n,
  1093.                   float _es,
  1094.                   liquid_float_complex * _z,
  1095.                   liquid_float_complex * _p,
  1096.                   liquid_float_complex * _k);
  1097. void ellip_azpkf(unsigned int _n,
  1098.                  float _ep,
  1099.                  float _es,
  1100.                  liquid_float_complex * _z,
  1101.                  liquid_float_complex * _p,
  1102.                  liquid_float_complex * _k);
  1103. void bessel_azpkf(unsigned int _n,
  1104.                   liquid_float_complex * _z,
  1105.                   liquid_float_complex * _p,
  1106.                   liquid_float_complex * _k);
  1107.  
  1108.  
  1109. float iirdes_freqprewarp(liquid_iirdes_bandtype _btype,
  1110.                          float _fc,
  1111.                          float _f0);
  1112. # 2244 "include\\liquid.h"
  1113. void bilinear_zpkf(liquid_float_complex * _za,
  1114.                    unsigned int _nza,
  1115.                    liquid_float_complex * _pa,
  1116.                    unsigned int _npa,
  1117.                    liquid_float_complex _ka,
  1118.                    float _m,
  1119.                    liquid_float_complex * _zd,
  1120.                    liquid_float_complex * _pd,
  1121.                    liquid_float_complex * _kd);
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129. void iirdes_dzpk_lp2hp(liquid_float_complex * _zd,
  1130.                        liquid_float_complex * _pd,
  1131.                        unsigned int _n,
  1132.                        liquid_float_complex * _zdt,
  1133.                        liquid_float_complex * _pdt);
  1134. # 2273 "include\\liquid.h"
  1135. void iirdes_dzpk_lp2bp(liquid_float_complex * _zd,
  1136.                        liquid_float_complex * _pd,
  1137.                        unsigned int _n,
  1138.                        float _f0,
  1139.                        liquid_float_complex * _zdt,
  1140.                        liquid_float_complex * _pdt);
  1141. # 2287 "include\\liquid.h"
  1142. void iirdes_dzpk2tff(liquid_float_complex * _zd,
  1143.                      liquid_float_complex * _pd,
  1144.                      unsigned int _n,
  1145.                      liquid_float_complex _kd,
  1146.                      float * _b,
  1147.                      float * _a);
  1148. # 2302 "include\\liquid.h"
  1149. void iirdes_dzpk2sosf(liquid_float_complex * _zd,
  1150.                       liquid_float_complex * _pd,
  1151.                       unsigned int _n,
  1152.                       liquid_float_complex _kd,
  1153.                       float * _B,
  1154.                       float * _A);
  1155. # 2321 "include\\liquid.h"
  1156. void iirdes_pll_active_lag(float _w,
  1157.                            float _zeta,
  1158.                            float _K,
  1159.                            float * _b,
  1160.                            float * _a);
  1161. # 2337 "include\\liquid.h"
  1162. void iirdes_pll_active_PI(float _w,
  1163.                           float _zeta,
  1164.                           float _K,
  1165.                           float * _b,
  1166.                           float * _a);
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172. int iirdes_isstable(float * _b,
  1173.                     float * _a,
  1174.                     unsigned int _n);
  1175. # 2361 "include\\liquid.h"
  1176. void liquid_lpc(float * _x,
  1177.                 unsigned int _n,
  1178.                 unsigned int _p,
  1179.                 float * _a,
  1180.                 float * _g);
  1181. # 2376 "include\\liquid.h"
  1182. void liquid_levinson(float * _r,
  1183.                      unsigned int _p,
  1184.                      float * _a,
  1185.                      float * _e);
  1186. # 2448 "include\\liquid.h"
  1187. typedef struct autocorr_cccf_s * autocorr_cccf; autocorr_cccf autocorr_cccf_create(unsigned int _window_size, unsigned int _delay); void autocorr_cccf_destroy(autocorr_cccf _q); void autocorr_cccf_reset(autocorr_cccf _q); void autocorr_cccf_print(autocorr_cccf _q); void autocorr_cccf_push(autocorr_cccf _q, liquid_float_complex _x); void autocorr_cccf_write(autocorr_cccf _q, liquid_float_complex * _x, unsigned int _n); void autocorr_cccf_execute(autocorr_cccf _q, liquid_float_complex * _rxx); void autocorr_cccf_execute_block(autocorr_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _rxx); float autocorr_cccf_get_energy(autocorr_cccf _q);
  1188.  
  1189.  
  1190.  
  1191.  
  1192. typedef struct autocorr_rrrf_s * autocorr_rrrf; autocorr_rrrf autocorr_rrrf_create(unsigned int _window_size, unsigned int _delay); void autocorr_rrrf_destroy(autocorr_rrrf _q); void autocorr_rrrf_reset(autocorr_rrrf _q); void autocorr_rrrf_print(autocorr_rrrf _q); void autocorr_rrrf_push(autocorr_rrrf _q, float _x); void autocorr_rrrf_write(autocorr_rrrf _q, float * _x, unsigned int _n); void autocorr_rrrf_execute(autocorr_rrrf _q, float * _rxx); void autocorr_rrrf_execute_block(autocorr_rrrf _q, float * _x, unsigned int _n, float * _rxx); float autocorr_rrrf_get_energy(autocorr_rrrf _q);
  1193. # 2615 "include\\liquid.h"
  1194. typedef struct firfilt_rrrf_s * firfilt_rrrf; firfilt_rrrf firfilt_rrrf_create(float * _h, unsigned int _n); firfilt_rrrf firfilt_rrrf_create_kaiser(unsigned int _n, float _fc, float _As, float _mu); firfilt_rrrf firfilt_rrrf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, float _mu); firfilt_rrrf firfilt_rrrf_create_firdespm(unsigned int _h_len, float _fc, float _As); firfilt_rrrf firfilt_rrrf_create_rect(unsigned int _n); firfilt_rrrf firfilt_rrrf_create_dc_blocker(unsigned int _m, float _As); firfilt_rrrf firfilt_rrrf_create_notch(unsigned int _m, float _As, float _f0); firfilt_rrrf firfilt_rrrf_recreate(firfilt_rrrf _q, float * _h, unsigned int _n); void firfilt_rrrf_destroy(firfilt_rrrf _q); void firfilt_rrrf_reset(firfilt_rrrf _q); void firfilt_rrrf_print(firfilt_rrrf _q); void firfilt_rrrf_set_scale(firfilt_rrrf _q, float _scale); void firfilt_rrrf_get_scale(firfilt_rrrf _q, float * _scale); void firfilt_rrrf_push(firfilt_rrrf _q, float _x); void firfilt_rrrf_write(firfilt_rrrf _q, float * _x, unsigned int _n); void firfilt_rrrf_execute(firfilt_rrrf _q, float * _y); void firfilt_rrrf_execute_block(firfilt_rrrf _q, float * _x, unsigned int _n, float * _y); unsigned int firfilt_rrrf_get_length(firfilt_rrrf _q); void firfilt_rrrf_freqresponse(firfilt_rrrf _q, float _fc, liquid_float_complex * _H); float firfilt_rrrf_groupdelay(firfilt_rrrf _q, float _fc);
  1195.  
  1196.  
  1197.  
  1198.  
  1199. typedef struct firfilt_crcf_s * firfilt_crcf; firfilt_crcf firfilt_crcf_create(float * _h, unsigned int _n); firfilt_crcf firfilt_crcf_create_kaiser(unsigned int _n, float _fc, float _As, float _mu); firfilt_crcf firfilt_crcf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, float _mu); firfilt_crcf firfilt_crcf_create_firdespm(unsigned int _h_len, float _fc, float _As); firfilt_crcf firfilt_crcf_create_rect(unsigned int _n); firfilt_crcf firfilt_crcf_create_dc_blocker(unsigned int _m, float _As); firfilt_crcf firfilt_crcf_create_notch(unsigned int _m, float _As, float _f0); firfilt_crcf firfilt_crcf_recreate(firfilt_crcf _q, float * _h, unsigned int _n); void firfilt_crcf_destroy(firfilt_crcf _q); void firfilt_crcf_reset(firfilt_crcf _q); void firfilt_crcf_print(firfilt_crcf _q); void firfilt_crcf_set_scale(firfilt_crcf _q, float _scale); void firfilt_crcf_get_scale(firfilt_crcf _q, float * _scale); void firfilt_crcf_push(firfilt_crcf _q, liquid_float_complex _x); void firfilt_crcf_write(firfilt_crcf _q, liquid_float_complex * _x, unsigned int _n); void firfilt_crcf_execute(firfilt_crcf _q, liquid_float_complex * _y); void firfilt_crcf_execute_block(firfilt_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); unsigned int firfilt_crcf_get_length(firfilt_crcf _q); void firfilt_crcf_freqresponse(firfilt_crcf _q, float _fc, liquid_float_complex * _H); float firfilt_crcf_groupdelay(firfilt_crcf _q, float _fc);
  1200.  
  1201.  
  1202.  
  1203.  
  1204. typedef struct firfilt_cccf_s * firfilt_cccf; firfilt_cccf firfilt_cccf_create(liquid_float_complex * _h, unsigned int _n); firfilt_cccf firfilt_cccf_create_kaiser(unsigned int _n, float _fc, float _As, float _mu); firfilt_cccf firfilt_cccf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, float _mu); firfilt_cccf firfilt_cccf_create_firdespm(unsigned int _h_len, float _fc, float _As); firfilt_cccf firfilt_cccf_create_rect(unsigned int _n); firfilt_cccf firfilt_cccf_create_dc_blocker(unsigned int _m, float _As); firfilt_cccf firfilt_cccf_create_notch(unsigned int _m, float _As, float _f0); firfilt_cccf firfilt_cccf_recreate(firfilt_cccf _q, liquid_float_complex * _h, unsigned int _n); void firfilt_cccf_destroy(firfilt_cccf _q); void firfilt_cccf_reset(firfilt_cccf _q); void firfilt_cccf_print(firfilt_cccf _q); void firfilt_cccf_set_scale(firfilt_cccf _q, liquid_float_complex _scale); void firfilt_cccf_get_scale(firfilt_cccf _q, liquid_float_complex * _scale); void firfilt_cccf_push(firfilt_cccf _q, liquid_float_complex _x); void firfilt_cccf_write(firfilt_cccf _q, liquid_float_complex * _x, unsigned int _n); void firfilt_cccf_execute(firfilt_cccf _q, liquid_float_complex * _y); void firfilt_cccf_execute_block(firfilt_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); unsigned int firfilt_cccf_get_length(firfilt_cccf _q); void firfilt_cccf_freqresponse(firfilt_cccf _q, float _fc, liquid_float_complex * _H); float firfilt_cccf_groupdelay(firfilt_cccf _q, float _fc);
  1205. # 2723 "include\\liquid.h"
  1206. typedef struct firhilbf_s * firhilbf; firhilbf firhilbf_create(unsigned int _m, float _As); void firhilbf_destroy(firhilbf _q); void firhilbf_print(firhilbf _q); void firhilbf_reset(firhilbf _q); void firhilbf_r2c_execute(firhilbf _q, float _x, liquid_float_complex * _y); void firhilbf_c2r_execute(firhilbf _q, liquid_float_complex _x, float * _y0, float * _y1); void firhilbf_decim_execute(firhilbf _q, float * _x, liquid_float_complex * _y); void firhilbf_decim_execute_block(firhilbf _q, float * _x, unsigned int _n, liquid_float_complex * _y); void firhilbf_interp_execute(firhilbf _q, liquid_float_complex _x, float * _y); void firhilbf_interp_execute_block(firhilbf _q, liquid_float_complex * _x, unsigned int _n, float * _y);
  1207. # 2823 "include\\liquid.h"
  1208. typedef struct iirhilbf_s * iirhilbf; iirhilbf iirhilbf_create(liquid_iirdes_filtertype _ftype, unsigned int _n, float _Ap, float _As); iirhilbf iirhilbf_create_default(unsigned int _n); void iirhilbf_destroy(iirhilbf _q); void iirhilbf_print(iirhilbf _q); void iirhilbf_reset(iirhilbf _q); void iirhilbf_r2c_execute(iirhilbf _q, float _x, liquid_float_complex * _y); void iirhilbf_c2r_execute(iirhilbf _q, liquid_float_complex _x, float * _y); void iirhilbf_decim_execute(iirhilbf _q, float * _x, liquid_float_complex * _y); void iirhilbf_decim_execute_block(iirhilbf _q, float * _x, unsigned int _n, liquid_float_complex * _y); void iirhilbf_interp_execute(iirhilbf _q, liquid_float_complex _x, float * _y); void iirhilbf_interp_execute_block(iirhilbf _q, liquid_float_complex * _x, unsigned int _n, float * _y);
  1209. # 2883 "include\\liquid.h"
  1210. typedef struct fftfilt_rrrf_s * fftfilt_rrrf; fftfilt_rrrf fftfilt_rrrf_create(float * _h, unsigned int _h_len, unsigned int _n); void fftfilt_rrrf_destroy(fftfilt_rrrf _q); void fftfilt_rrrf_reset(fftfilt_rrrf _q); void fftfilt_rrrf_print(fftfilt_rrrf _q); void fftfilt_rrrf_set_scale(fftfilt_rrrf _q, float _scale); void fftfilt_rrrf_get_scale(fftfilt_rrrf _q, float * _scale); void fftfilt_rrrf_execute(fftfilt_rrrf _q, float * _x, float * _y); unsigned int fftfilt_rrrf_get_length(fftfilt_rrrf _q);
  1211.  
  1212.  
  1213.  
  1214.  
  1215. typedef struct fftfilt_crcf_s * fftfilt_crcf; fftfilt_crcf fftfilt_crcf_create(float * _h, unsigned int _h_len, unsigned int _n); void fftfilt_crcf_destroy(fftfilt_crcf _q); void fftfilt_crcf_reset(fftfilt_crcf _q); void fftfilt_crcf_print(fftfilt_crcf _q); void fftfilt_crcf_set_scale(fftfilt_crcf _q, float _scale); void fftfilt_crcf_get_scale(fftfilt_crcf _q, float * _scale); void fftfilt_crcf_execute(fftfilt_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); unsigned int fftfilt_crcf_get_length(fftfilt_crcf _q);
  1216.  
  1217.  
  1218.  
  1219.  
  1220. typedef struct fftfilt_cccf_s * fftfilt_cccf; fftfilt_cccf fftfilt_cccf_create(liquid_float_complex * _h, unsigned int _h_len, unsigned int _n); void fftfilt_cccf_destroy(fftfilt_cccf _q); void fftfilt_cccf_reset(fftfilt_cccf _q); void fftfilt_cccf_print(fftfilt_cccf _q); void fftfilt_cccf_set_scale(fftfilt_cccf _q, liquid_float_complex _scale); void fftfilt_cccf_get_scale(fftfilt_cccf _q, liquid_float_complex * _scale); void fftfilt_cccf_execute(fftfilt_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); unsigned int fftfilt_cccf_get_length(fftfilt_cccf _q);
  1221. # 3035 "include\\liquid.h"
  1222. typedef struct iirfilt_rrrf_s * iirfilt_rrrf; iirfilt_rrrf iirfilt_rrrf_create(float * _b, unsigned int _nb, float * _a, unsigned int _na); iirfilt_rrrf iirfilt_rrrf_create_sos(float * _B, float * _A, unsigned int _nsos); iirfilt_rrrf iirfilt_rrrf_create_prototype( liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); iirfilt_rrrf iirfilt_rrrf_create_lowpass(unsigned int _order, float _fc); iirfilt_rrrf iirfilt_rrrf_create_integrator(void); iirfilt_rrrf iirfilt_rrrf_create_differentiator(void); iirfilt_rrrf iirfilt_rrrf_create_dc_blocker(float _alpha); iirfilt_rrrf iirfilt_rrrf_create_pll(float _w, float _zeta, float _K); void iirfilt_rrrf_destroy(iirfilt_rrrf _q); void iirfilt_rrrf_print(iirfilt_rrrf _q); void iirfilt_rrrf_reset(iirfilt_rrrf _q); void iirfilt_rrrf_execute(iirfilt_rrrf _q, float _x, float * _y); void iirfilt_rrrf_execute_block(iirfilt_rrrf _q, float * _x, unsigned int _n, float * _y); unsigned int iirfilt_rrrf_get_length(iirfilt_rrrf _q); void iirfilt_rrrf_freqresponse(iirfilt_rrrf _q, float _fc, liquid_float_complex * _H); float iirfilt_rrrf_groupdelay(iirfilt_rrrf _q, float _fc);
  1223.  
  1224.  
  1225.  
  1226.  
  1227. typedef struct iirfilt_crcf_s * iirfilt_crcf; iirfilt_crcf iirfilt_crcf_create(float * _b, unsigned int _nb, float * _a, unsigned int _na); iirfilt_crcf iirfilt_crcf_create_sos(float * _B, float * _A, unsigned int _nsos); iirfilt_crcf iirfilt_crcf_create_prototype( liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); iirfilt_crcf iirfilt_crcf_create_lowpass(unsigned int _order, float _fc); iirfilt_crcf iirfilt_crcf_create_integrator(void); iirfilt_crcf iirfilt_crcf_create_differentiator(void); iirfilt_crcf iirfilt_crcf_create_dc_blocker(float _alpha); iirfilt_crcf iirfilt_crcf_create_pll(float _w, float _zeta, float _K); void iirfilt_crcf_destroy(iirfilt_crcf _q); void iirfilt_crcf_print(iirfilt_crcf _q); void iirfilt_crcf_reset(iirfilt_crcf _q); void iirfilt_crcf_execute(iirfilt_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void iirfilt_crcf_execute_block(iirfilt_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); unsigned int iirfilt_crcf_get_length(iirfilt_crcf _q); void iirfilt_crcf_freqresponse(iirfilt_crcf _q, float _fc, liquid_float_complex * _H); float iirfilt_crcf_groupdelay(iirfilt_crcf _q, float _fc);
  1228.  
  1229.  
  1230.  
  1231.  
  1232. typedef struct iirfilt_cccf_s * iirfilt_cccf; iirfilt_cccf iirfilt_cccf_create(liquid_float_complex * _b, unsigned int _nb, liquid_float_complex * _a, unsigned int _na); iirfilt_cccf iirfilt_cccf_create_sos(liquid_float_complex * _B, liquid_float_complex * _A, unsigned int _nsos); iirfilt_cccf iirfilt_cccf_create_prototype( liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); iirfilt_cccf iirfilt_cccf_create_lowpass(unsigned int _order, float _fc); iirfilt_cccf iirfilt_cccf_create_integrator(void); iirfilt_cccf iirfilt_cccf_create_differentiator(void); iirfilt_cccf iirfilt_cccf_create_dc_blocker(float _alpha); iirfilt_cccf iirfilt_cccf_create_pll(float _w, float _zeta, float _K); void iirfilt_cccf_destroy(iirfilt_cccf _q); void iirfilt_cccf_print(iirfilt_cccf _q); void iirfilt_cccf_reset(iirfilt_cccf _q); void iirfilt_cccf_execute(iirfilt_cccf _q, liquid_float_complex _x, liquid_float_complex * _y); void iirfilt_cccf_execute_block(iirfilt_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); unsigned int iirfilt_cccf_get_length(iirfilt_cccf _q); void iirfilt_cccf_freqresponse(iirfilt_cccf _q, float _fc, liquid_float_complex * _H); float iirfilt_cccf_groupdelay(iirfilt_cccf _q, float _fc);
  1233. # 3175 "include\\liquid.h"
  1234. typedef struct firpfb_rrrf_s * firpfb_rrrf; firpfb_rrrf firpfb_rrrf_create(unsigned int _M, float * _h, unsigned int _h_len); firpfb_rrrf firpfb_rrrf_create_kaiser(unsigned int _M, unsigned int _m, float _fc, float _As); firpfb_rrrf firpfb_rrrf_create_rnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_rrrf firpfb_rrrf_create_drnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_rrrf firpfb_rrrf_recreate(firpfb_rrrf _q, unsigned int _M, float * _h, unsigned int _h_len); void firpfb_rrrf_destroy(firpfb_rrrf _q); void firpfb_rrrf_print(firpfb_rrrf _q); void firpfb_rrrf_set_scale(firpfb_rrrf _q, float _scale); void firpfb_rrrf_get_scale(firpfb_rrrf _q, float * _scale); void firpfb_rrrf_reset(firpfb_rrrf _q); void firpfb_rrrf_push(firpfb_rrrf _q, float _x); void firpfb_rrrf_execute(firpfb_rrrf _q, unsigned int _i, float * _y); void firpfb_rrrf_execute_block(firpfb_rrrf _q, unsigned int _i, float * _x, unsigned int _n, float * _y);
  1235.  
  1236.  
  1237.  
  1238.  
  1239. typedef struct firpfb_crcf_s * firpfb_crcf; firpfb_crcf firpfb_crcf_create(unsigned int _M, float * _h, unsigned int _h_len); firpfb_crcf firpfb_crcf_create_kaiser(unsigned int _M, unsigned int _m, float _fc, float _As); firpfb_crcf firpfb_crcf_create_rnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_crcf firpfb_crcf_create_drnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_crcf firpfb_crcf_recreate(firpfb_crcf _q, unsigned int _M, float * _h, unsigned int _h_len); void firpfb_crcf_destroy(firpfb_crcf _q); void firpfb_crcf_print(firpfb_crcf _q); void firpfb_crcf_set_scale(firpfb_crcf _q, float _scale); void firpfb_crcf_get_scale(firpfb_crcf _q, float * _scale); void firpfb_crcf_reset(firpfb_crcf _q); void firpfb_crcf_push(firpfb_crcf _q, liquid_float_complex _x); void firpfb_crcf_execute(firpfb_crcf _q, unsigned int _i, liquid_float_complex * _y); void firpfb_crcf_execute_block(firpfb_crcf _q, unsigned int _i, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1240.  
  1241.  
  1242.  
  1243.  
  1244. typedef struct firpfb_cccf_s * firpfb_cccf; firpfb_cccf firpfb_cccf_create(unsigned int _M, liquid_float_complex * _h, unsigned int _h_len); firpfb_cccf firpfb_cccf_create_kaiser(unsigned int _M, unsigned int _m, float _fc, float _As); firpfb_cccf firpfb_cccf_create_rnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_cccf firpfb_cccf_create_drnyquist(int _type, unsigned int _M, unsigned int _k, unsigned int _m, float _beta); firpfb_cccf firpfb_cccf_recreate(firpfb_cccf _q, unsigned int _M, liquid_float_complex * _h, unsigned int _h_len); void firpfb_cccf_destroy(firpfb_cccf _q); void firpfb_cccf_print(firpfb_cccf _q); void firpfb_cccf_set_scale(firpfb_cccf _q, liquid_float_complex _scale); void firpfb_cccf_get_scale(firpfb_cccf _q, liquid_float_complex * _scale); void firpfb_cccf_reset(firpfb_cccf _q); void firpfb_cccf_push(firpfb_cccf _q, liquid_float_complex _x); void firpfb_cccf_execute(firpfb_cccf _q, unsigned int _i, liquid_float_complex * _y); void firpfb_cccf_execute_block(firpfb_cccf _q, unsigned int _i, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1245. # 3288 "include\\liquid.h"
  1246. typedef struct firinterp_rrrf_s * firinterp_rrrf; firinterp_rrrf firinterp_rrrf_create(unsigned int _M, float * _h, unsigned int _h_len); firinterp_rrrf firinterp_rrrf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firinterp_rrrf firinterp_rrrf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); firinterp_rrrf firinterp_rrrf_create_linear(unsigned int _M); firinterp_rrrf firinterp_rrrf_create_window(unsigned int _M, unsigned int _m); void firinterp_rrrf_destroy(firinterp_rrrf _q); void firinterp_rrrf_print(firinterp_rrrf _q); void firinterp_rrrf_reset(firinterp_rrrf _q); void firinterp_rrrf_set_scale(firinterp_rrrf _q, float _scale); void firinterp_rrrf_get_scale(firinterp_rrrf _q, float * _scale); void firinterp_rrrf_execute(firinterp_rrrf _q, float _x, float * _y); void firinterp_rrrf_execute_block(firinterp_rrrf _q, float * _x, unsigned int _n, float * _y);
  1247.  
  1248.  
  1249.  
  1250.  
  1251. typedef struct firinterp_crcf_s * firinterp_crcf; firinterp_crcf firinterp_crcf_create(unsigned int _M, float * _h, unsigned int _h_len); firinterp_crcf firinterp_crcf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firinterp_crcf firinterp_crcf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); firinterp_crcf firinterp_crcf_create_linear(unsigned int _M); firinterp_crcf firinterp_crcf_create_window(unsigned int _M, unsigned int _m); void firinterp_crcf_destroy(firinterp_crcf _q); void firinterp_crcf_print(firinterp_crcf _q); void firinterp_crcf_reset(firinterp_crcf _q); void firinterp_crcf_set_scale(firinterp_crcf _q, float _scale); void firinterp_crcf_get_scale(firinterp_crcf _q, float * _scale); void firinterp_crcf_execute(firinterp_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void firinterp_crcf_execute_block(firinterp_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1252.  
  1253.  
  1254.  
  1255.  
  1256. typedef struct firinterp_cccf_s * firinterp_cccf; firinterp_cccf firinterp_cccf_create(unsigned int _M, liquid_float_complex * _h, unsigned int _h_len); firinterp_cccf firinterp_cccf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firinterp_cccf firinterp_cccf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); firinterp_cccf firinterp_cccf_create_linear(unsigned int _M); firinterp_cccf firinterp_cccf_create_window(unsigned int _M, unsigned int _m); void firinterp_cccf_destroy(firinterp_cccf _q); void firinterp_cccf_print(firinterp_cccf _q); void firinterp_cccf_reset(firinterp_cccf _q); void firinterp_cccf_set_scale(firinterp_cccf _q, liquid_float_complex _scale); void firinterp_cccf_get_scale(firinterp_cccf _q, liquid_float_complex * _scale); void firinterp_cccf_execute(firinterp_cccf _q, liquid_float_complex _x, liquid_float_complex * _y); void firinterp_cccf_execute_block(firinterp_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1257. # 3394 "include\\liquid.h"
  1258. typedef struct iirinterp_rrrf_s * iirinterp_rrrf; iirinterp_rrrf iirinterp_rrrf_create(unsigned int _M, float * _b, unsigned int _nb, float * _a, unsigned int _na); iirinterp_rrrf iirinterp_rrrf_create_default(unsigned int _M, unsigned int _order); iirinterp_rrrf iirinterp_rrrf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirinterp_rrrf_destroy(iirinterp_rrrf _q); void iirinterp_rrrf_print(iirinterp_rrrf _q); void iirinterp_rrrf_reset(iirinterp_rrrf _q); void iirinterp_rrrf_execute(iirinterp_rrrf _q, float _x, float * _y); void iirinterp_rrrf_execute_block(iirinterp_rrrf _q, float * _x, unsigned int _n, float * _y); float iirinterp_rrrf_groupdelay(iirinterp_rrrf _q, float _fc);
  1259.  
  1260.  
  1261.  
  1262.  
  1263. typedef struct iirinterp_crcf_s * iirinterp_crcf; iirinterp_crcf iirinterp_crcf_create(unsigned int _M, float * _b, unsigned int _nb, float * _a, unsigned int _na); iirinterp_crcf iirinterp_crcf_create_default(unsigned int _M, unsigned int _order); iirinterp_crcf iirinterp_crcf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirinterp_crcf_destroy(iirinterp_crcf _q); void iirinterp_crcf_print(iirinterp_crcf _q); void iirinterp_crcf_reset(iirinterp_crcf _q); void iirinterp_crcf_execute(iirinterp_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void iirinterp_crcf_execute_block(iirinterp_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); float iirinterp_crcf_groupdelay(iirinterp_crcf _q, float _fc);
  1264.  
  1265.  
  1266.  
  1267.  
  1268. typedef struct iirinterp_cccf_s * iirinterp_cccf; iirinterp_cccf iirinterp_cccf_create(unsigned int _M, liquid_float_complex * _b, unsigned int _nb, liquid_float_complex * _a, unsigned int _na); iirinterp_cccf iirinterp_cccf_create_default(unsigned int _M, unsigned int _order); iirinterp_cccf iirinterp_cccf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirinterp_cccf_destroy(iirinterp_cccf _q); void iirinterp_cccf_print(iirinterp_cccf _q); void iirinterp_cccf_reset(iirinterp_cccf _q); void iirinterp_cccf_execute(iirinterp_cccf _q, liquid_float_complex _x, liquid_float_complex * _y); void iirinterp_cccf_execute_block(iirinterp_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); float iirinterp_cccf_groupdelay(iirinterp_cccf _q, float _fc);
  1269. # 3491 "include\\liquid.h"
  1270. typedef struct firdecim_rrrf_s * firdecim_rrrf; firdecim_rrrf firdecim_rrrf_create(unsigned int _M, float * _h, unsigned int _h_len); firdecim_rrrf firdecim_rrrf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firdecim_rrrf firdecim_rrrf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); void firdecim_rrrf_destroy(firdecim_rrrf _q); void firdecim_rrrf_print(firdecim_rrrf _q); void firdecim_rrrf_reset(firdecim_rrrf _q); void firdecim_rrrf_set_scale(firdecim_rrrf _q, float _scale); void firdecim_rrrf_get_scale(firdecim_rrrf _q, float * _scale); void firdecim_rrrf_execute(firdecim_rrrf _q, float * _x, float * _y); void firdecim_rrrf_execute_block(firdecim_rrrf _q, float * _x, unsigned int _n, float * _y);
  1271.  
  1272.  
  1273.  
  1274.  
  1275. typedef struct firdecim_crcf_s * firdecim_crcf; firdecim_crcf firdecim_crcf_create(unsigned int _M, float * _h, unsigned int _h_len); firdecim_crcf firdecim_crcf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firdecim_crcf firdecim_crcf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); void firdecim_crcf_destroy(firdecim_crcf _q); void firdecim_crcf_print(firdecim_crcf _q); void firdecim_crcf_reset(firdecim_crcf _q); void firdecim_crcf_set_scale(firdecim_crcf _q, float _scale); void firdecim_crcf_get_scale(firdecim_crcf _q, float * _scale); void firdecim_crcf_execute(firdecim_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void firdecim_crcf_execute_block(firdecim_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1276.  
  1277.  
  1278.  
  1279.  
  1280. typedef struct firdecim_cccf_s * firdecim_cccf; firdecim_cccf firdecim_cccf_create(unsigned int _M, liquid_float_complex * _h, unsigned int _h_len); firdecim_cccf firdecim_cccf_create_kaiser(unsigned int _M, unsigned int _m, float _As); firdecim_cccf firdecim_cccf_create_prototype(int _type, unsigned int _M, unsigned int _m, float _beta, float _dt); void firdecim_cccf_destroy(firdecim_cccf _q); void firdecim_cccf_print(firdecim_cccf _q); void firdecim_cccf_reset(firdecim_cccf _q); void firdecim_cccf_set_scale(firdecim_cccf _q, liquid_float_complex _scale); void firdecim_cccf_get_scale(firdecim_cccf _q, liquid_float_complex * _scale); void firdecim_cccf_execute(firdecim_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void firdecim_cccf_execute_block(firdecim_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
  1281. # 3597 "include\\liquid.h"
  1282. typedef struct iirdecim_rrrf_s * iirdecim_rrrf; iirdecim_rrrf iirdecim_rrrf_create(unsigned int _M, float * _b, unsigned int _nb, float * _a, unsigned int _na); iirdecim_rrrf iirdecim_rrrf_create_default(unsigned int _M, unsigned int _order); iirdecim_rrrf iirdecim_rrrf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirdecim_rrrf_destroy(iirdecim_rrrf _q); void iirdecim_rrrf_print(iirdecim_rrrf _q); void iirdecim_rrrf_reset(iirdecim_rrrf _q); void iirdecim_rrrf_execute(iirdecim_rrrf _q, float * _x, float * _y); void iirdecim_rrrf_execute_block(iirdecim_rrrf _q, float * _x, unsigned int _n, float * _y); float iirdecim_rrrf_groupdelay(iirdecim_rrrf _q, float _fc);
  1283.  
  1284.  
  1285.  
  1286.  
  1287. typedef struct iirdecim_crcf_s * iirdecim_crcf; iirdecim_crcf iirdecim_crcf_create(unsigned int _M, float * _b, unsigned int _nb, float * _a, unsigned int _na); iirdecim_crcf iirdecim_crcf_create_default(unsigned int _M, unsigned int _order); iirdecim_crcf iirdecim_crcf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirdecim_crcf_destroy(iirdecim_crcf _q); void iirdecim_crcf_print(iirdecim_crcf _q); void iirdecim_crcf_reset(iirdecim_crcf _q); void iirdecim_crcf_execute(iirdecim_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void iirdecim_crcf_execute_block(iirdecim_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); float iirdecim_crcf_groupdelay(iirdecim_crcf _q, float _fc);
  1288.  
  1289.  
  1290.  
  1291.  
  1292. typedef struct iirdecim_cccf_s * iirdecim_cccf; iirdecim_cccf iirdecim_cccf_create(unsigned int _M, liquid_float_complex * _b, unsigned int _nb, liquid_float_complex * _a, unsigned int _na); iirdecim_cccf iirdecim_cccf_create_default(unsigned int _M, unsigned int _order); iirdecim_cccf iirdecim_cccf_create_prototype( unsigned int _M, liquid_iirdes_filtertype _ftype, liquid_iirdes_bandtype _btype, liquid_iirdes_format _format, unsigned int _order, float _fc, float _f0, float _Ap, float _As); void iirdecim_cccf_destroy(iirdecim_cccf _q); void iirdecim_cccf_print(iirdecim_cccf _q); void iirdecim_cccf_reset(iirdecim_cccf _q); void iirdecim_cccf_execute(iirdecim_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void iirdecim_cccf_execute_block(iirdecim_cccf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); float iirdecim_cccf_groupdelay(iirdecim_cccf _q, float _fc);
  1293. # 3708 "include\\liquid.h"
  1294. typedef struct resamp2_rrrf_s * resamp2_rrrf; resamp2_rrrf resamp2_rrrf_create(unsigned int _m, float _f0, float _As); resamp2_rrrf resamp2_rrrf_recreate(resamp2_rrrf _q, unsigned int _m, float _f0, float _As); void resamp2_rrrf_destroy(resamp2_rrrf _q); void resamp2_rrrf_print(resamp2_rrrf _q); void resamp2_rrrf_reset(resamp2_rrrf _q); unsigned int resamp2_rrrf_get_delay(resamp2_rrrf _q); void resamp2_rrrf_filter_execute(resamp2_rrrf _q, float _x, float * _y0, float * _y1); void resamp2_rrrf_analyzer_execute(resamp2_rrrf _q, float * _x, float * _y); void resamp2_rrrf_synthesizer_execute(resamp2_rrrf _q, float * _x, float * _y); void resamp2_rrrf_decim_execute(resamp2_rrrf _q, float * _x, float * _y); void resamp2_rrrf_interp_execute(resamp2_rrrf _q, float _x, float * _y);
  1295.  
  1296.  
  1297.  
  1298.  
  1299. typedef struct resamp2_crcf_s * resamp2_crcf; resamp2_crcf resamp2_crcf_create(unsigned int _m, float _f0, float _As); resamp2_crcf resamp2_crcf_recreate(resamp2_crcf _q, unsigned int _m, float _f0, float _As); void resamp2_crcf_destroy(resamp2_crcf _q); void resamp2_crcf_print(resamp2_crcf _q); void resamp2_crcf_reset(resamp2_crcf _q); unsigned int resamp2_crcf_get_delay(resamp2_crcf _q); void resamp2_crcf_filter_execute(resamp2_crcf _q, liquid_float_complex _x, liquid_float_complex * _y0, liquid_float_complex * _y1); void resamp2_crcf_analyzer_execute(resamp2_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_crcf_synthesizer_execute(resamp2_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_crcf_decim_execute(resamp2_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_crcf_interp_execute(resamp2_crcf _q, liquid_float_complex _x, liquid_float_complex * _y);
  1300.  
  1301.  
  1302.  
  1303.  
  1304. typedef struct resamp2_cccf_s * resamp2_cccf; resamp2_cccf resamp2_cccf_create(unsigned int _m, float _f0, float _As); resamp2_cccf resamp2_cccf_recreate(resamp2_cccf _q, unsigned int _m, float _f0, float _As); void resamp2_cccf_destroy(resamp2_cccf _q); void resamp2_cccf_print(resamp2_cccf _q); void resamp2_cccf_reset(resamp2_cccf _q); unsigned int resamp2_cccf_get_delay(resamp2_cccf _q); void resamp2_cccf_filter_execute(resamp2_cccf _q, liquid_float_complex _x, liquid_float_complex * _y0, liquid_float_complex * _y1); void resamp2_cccf_analyzer_execute(resamp2_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_cccf_synthesizer_execute(resamp2_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_cccf_decim_execute(resamp2_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void resamp2_cccf_interp_execute(resamp2_cccf _q, liquid_float_complex _x, liquid_float_complex * _y);
  1305. # 3857 "include\\liquid.h"
  1306. typedef struct rresamp_rrrf_s * rresamp_rrrf; rresamp_rrrf rresamp_rrrf_create(unsigned int _P, unsigned int _Q, unsigned int _m, float * _h); rresamp_rrrf rresamp_rrrf_create_kaiser(unsigned int _P, unsigned int _Q, unsigned int _m, float _bw, float _As); rresamp_rrrf rresamp_rrrf_create_prototype(int _type, unsigned int _P, unsigned int _Q, unsigned int _m, float _beta); rresamp_rrrf rresamp_rrrf_create_default(unsigned int _P, unsigned int _Q); void rresamp_rrrf_destroy(rresamp_rrrf _q); void rresamp_rrrf_print(rresamp_rrrf _q); void rresamp_rrrf_reset(rresamp_rrrf _q); void rresamp_rrrf_set_scale(rresamp_rrrf _q, float _scale); void rresamp_rrrf_get_scale(rresamp_rrrf _q, float * _scale); unsigned int rresamp_rrrf_get_delay(rresamp_rrrf _q); unsigned int rresamp_rrrf_get_P(rresamp_rrrf _q); unsigned int rresamp_rrrf_get_interp(rresamp_rrrf _q); unsigned int rresamp_rrrf_get_Q(rresamp_rrrf _q); unsigned int rresamp_rrrf_get_decim(rresamp_rrrf _q); unsigned int rresamp_rrrf_get_block_len(rresamp_rrrf _q); float rresamp_rrrf_get_rate(rresamp_rrrf _q); void rresamp_rrrf_execute(rresamp_rrrf _q, float * _x, float * _y);
  1307.  
  1308.  
  1309.  
  1310.  
  1311. typedef struct rresamp_crcf_s * rresamp_crcf; rresamp_crcf rresamp_crcf_create(unsigned int _P, unsigned int _Q, unsigned int _m, float * _h); rresamp_crcf rresamp_crcf_create_kaiser(unsigned int _P, unsigned int _Q, unsigned int _m, float _bw, float _As); rresamp_crcf rresamp_crcf_create_prototype(int _type, unsigned int _P, unsigned int _Q, unsigned int _m, float _beta); rresamp_crcf rresamp_crcf_create_default(unsigned int _P, unsigned int _Q); void rresamp_crcf_destroy(rresamp_crcf _q); void rresamp_crcf_print(rresamp_crcf _q); void rresamp_crcf_reset(rresamp_crcf _q); void rresamp_crcf_set_scale(rresamp_crcf _q, float _scale); void rresamp_crcf_get_scale(rresamp_crcf _q, float * _scale); unsigned int rresamp_crcf_get_delay(rresamp_crcf _q); unsigned int rresamp_crcf_get_P(rresamp_crcf _q); unsigned int rresamp_crcf_get_interp(rresamp_crcf _q); unsigned int rresamp_crcf_get_Q(rresamp_crcf _q); unsigned int rresamp_crcf_get_decim(rresamp_crcf _q); unsigned int rresamp_crcf_get_block_len(rresamp_crcf _q); float rresamp_crcf_get_rate(rresamp_crcf _q); void rresamp_crcf_execute(rresamp_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  1312.  
  1313.  
  1314.  
  1315.  
  1316. typedef struct rresamp_cccf_s * rresamp_cccf; rresamp_cccf rresamp_cccf_create(unsigned int _P, unsigned int _Q, unsigned int _m, liquid_float_complex * _h); rresamp_cccf rresamp_cccf_create_kaiser(unsigned int _P, unsigned int _Q, unsigned int _m, float _bw, float _As); rresamp_cccf rresamp_cccf_create_prototype(int _type, unsigned int _P, unsigned int _Q, unsigned int _m, float _beta); rresamp_cccf rresamp_cccf_create_default(unsigned int _P, unsigned int _Q); void rresamp_cccf_destroy(rresamp_cccf _q); void rresamp_cccf_print(rresamp_cccf _q); void rresamp_cccf_reset(rresamp_cccf _q); void rresamp_cccf_set_scale(rresamp_cccf _q, liquid_float_complex _scale); void rresamp_cccf_get_scale(rresamp_cccf _q, liquid_float_complex * _scale); unsigned int rresamp_cccf_get_delay(rresamp_cccf _q); unsigned int rresamp_cccf_get_P(rresamp_cccf _q); unsigned int rresamp_cccf_get_interp(rresamp_cccf _q); unsigned int rresamp_cccf_get_Q(rresamp_cccf _q); unsigned int rresamp_cccf_get_decim(rresamp_cccf _q); unsigned int rresamp_cccf_get_block_len(rresamp_cccf _q); float rresamp_cccf_get_rate(rresamp_cccf _q); void rresamp_cccf_execute(rresamp_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  1317. # 3976 "include\\liquid.h"
  1318. typedef struct resamp_rrrf_s * resamp_rrrf; resamp_rrrf resamp_rrrf_create(float _rate, unsigned int _m, float _fc, float _As, unsigned int _npfb); resamp_rrrf resamp_rrrf_create_default(float _rate); void resamp_rrrf_destroy(resamp_rrrf _q); void resamp_rrrf_print(resamp_rrrf _q); void resamp_rrrf_reset(resamp_rrrf _q); unsigned int resamp_rrrf_get_delay(resamp_rrrf _q); void resamp_rrrf_set_rate(resamp_rrrf _q, float _rate); float resamp_rrrf_get_rate(resamp_rrrf _q); void resamp_rrrf_adjust_rate(resamp_rrrf _q, float _gamma); void resamp_rrrf_set_timing_phase(resamp_rrrf _q, float _tau); void resamp_rrrf_adjust_timing_phase(resamp_rrrf _q, float _delta); void resamp_rrrf_execute(resamp_rrrf _q, float _x, float * _y, unsigned int * _num_written); void resamp_rrrf_execute_block(resamp_rrrf _q, float * _x, unsigned int _nx, float * _y, unsigned int * _ny);
  1319.  
  1320.  
  1321.  
  1322.  
  1323. typedef struct resamp_crcf_s * resamp_crcf; resamp_crcf resamp_crcf_create(float _rate, unsigned int _m, float _fc, float _As, unsigned int _npfb); resamp_crcf resamp_crcf_create_default(float _rate); void resamp_crcf_destroy(resamp_crcf _q); void resamp_crcf_print(resamp_crcf _q); void resamp_crcf_reset(resamp_crcf _q); unsigned int resamp_crcf_get_delay(resamp_crcf _q); void resamp_crcf_set_rate(resamp_crcf _q, float _rate); float resamp_crcf_get_rate(resamp_crcf _q); void resamp_crcf_adjust_rate(resamp_crcf _q, float _gamma); void resamp_crcf_set_timing_phase(resamp_crcf _q, float _tau); void resamp_crcf_adjust_timing_phase(resamp_crcf _q, float _delta); void resamp_crcf_execute(resamp_crcf _q, liquid_float_complex _x, liquid_float_complex * _y, unsigned int * _num_written); void resamp_crcf_execute_block(resamp_crcf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  1324.  
  1325.  
  1326.  
  1327.  
  1328. typedef struct resamp_cccf_s * resamp_cccf; resamp_cccf resamp_cccf_create(float _rate, unsigned int _m, float _fc, float _As, unsigned int _npfb); resamp_cccf resamp_cccf_create_default(float _rate); void resamp_cccf_destroy(resamp_cccf _q); void resamp_cccf_print(resamp_cccf _q); void resamp_cccf_reset(resamp_cccf _q); unsigned int resamp_cccf_get_delay(resamp_cccf _q); void resamp_cccf_set_rate(resamp_cccf _q, float _rate); float resamp_cccf_get_rate(resamp_cccf _q); void resamp_cccf_adjust_rate(resamp_cccf _q, float _gamma); void resamp_cccf_set_timing_phase(resamp_cccf _q, float _tau); void resamp_cccf_adjust_timing_phase(resamp_cccf _q, float _delta); void resamp_cccf_execute(resamp_cccf _q, liquid_float_complex _x, liquid_float_complex * _y, unsigned int * _num_written); void resamp_cccf_execute_block(resamp_cccf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  1329. # 3997 "include\\liquid.h"
  1330. typedef enum {
  1331.     LIQUID_RESAMP_INTERP=0,
  1332.     LIQUID_RESAMP_DECIM,
  1333. } liquid_resamp_type;
  1334. # 4056 "include\\liquid.h"
  1335. typedef struct msresamp2_rrrf_s * msresamp2_rrrf; msresamp2_rrrf msresamp2_rrrf_create(int _type, unsigned int _num_stages, float _fc, float _f0, float _As); void msresamp2_rrrf_destroy(msresamp2_rrrf _q); void msresamp2_rrrf_print(msresamp2_rrrf _q); void msresamp2_rrrf_reset(msresamp2_rrrf _q); float msresamp2_rrrf_get_rate(msresamp2_rrrf _q); unsigned int msresamp2_rrrf_get_num_stages(msresamp2_rrrf _q); int msresamp2_rrrf_get_type(msresamp2_rrrf _q); float msresamp2_rrrf_get_delay(msresamp2_rrrf _q); void msresamp2_rrrf_execute(msresamp2_rrrf _q, float * _x, float * _y);
  1336.  
  1337.  
  1338.  
  1339.  
  1340. typedef struct msresamp2_crcf_s * msresamp2_crcf; msresamp2_crcf msresamp2_crcf_create(int _type, unsigned int _num_stages, float _fc, float _f0, float _As); void msresamp2_crcf_destroy(msresamp2_crcf _q); void msresamp2_crcf_print(msresamp2_crcf _q); void msresamp2_crcf_reset(msresamp2_crcf _q); float msresamp2_crcf_get_rate(msresamp2_crcf _q); unsigned int msresamp2_crcf_get_num_stages(msresamp2_crcf _q); int msresamp2_crcf_get_type(msresamp2_crcf _q); float msresamp2_crcf_get_delay(msresamp2_crcf _q); void msresamp2_crcf_execute(msresamp2_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  1341.  
  1342.  
  1343.  
  1344.  
  1345. typedef struct msresamp2_cccf_s * msresamp2_cccf; msresamp2_cccf msresamp2_cccf_create(int _type, unsigned int _num_stages, float _fc, float _f0, float _As); void msresamp2_cccf_destroy(msresamp2_cccf _q); void msresamp2_cccf_print(msresamp2_cccf _q); void msresamp2_cccf_reset(msresamp2_cccf _q); float msresamp2_cccf_get_rate(msresamp2_cccf _q); unsigned int msresamp2_cccf_get_num_stages(msresamp2_cccf _q); int msresamp2_cccf_get_type(msresamp2_cccf _q); float msresamp2_cccf_get_delay(msresamp2_cccf _q); void msresamp2_cccf_execute(msresamp2_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  1346. # 4123 "include\\liquid.h"
  1347. typedef struct msresamp_rrrf_s * msresamp_rrrf; msresamp_rrrf msresamp_rrrf_create(float _r, float _As); void msresamp_rrrf_destroy(msresamp_rrrf _q); void msresamp_rrrf_print(msresamp_rrrf _q); void msresamp_rrrf_reset(msresamp_rrrf _q); float msresamp_rrrf_get_delay(msresamp_rrrf _q); float msresamp_rrrf_get_rate(msresamp_rrrf _q); void msresamp_rrrf_execute(msresamp_rrrf _q, float * _x, unsigned int _nx, float * _y, unsigned int * _ny);
  1348.  
  1349.  
  1350.  
  1351.  
  1352. typedef struct msresamp_crcf_s * msresamp_crcf; msresamp_crcf msresamp_crcf_create(float _r, float _As); void msresamp_crcf_destroy(msresamp_crcf _q); void msresamp_crcf_print(msresamp_crcf _q); void msresamp_crcf_reset(msresamp_crcf _q); float msresamp_crcf_get_delay(msresamp_crcf _q); float msresamp_crcf_get_rate(msresamp_crcf _q); void msresamp_crcf_execute(msresamp_crcf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  1353.  
  1354.  
  1355.  
  1356.  
  1357. typedef struct msresamp_cccf_s * msresamp_cccf; msresamp_cccf msresamp_cccf_create(float _r, float _As); void msresamp_cccf_destroy(msresamp_cccf _q); void msresamp_cccf_print(msresamp_cccf _q); void msresamp_cccf_reset(msresamp_cccf _q); float msresamp_cccf_get_delay(msresamp_cccf _q); float msresamp_cccf_get_rate(msresamp_cccf _q); void msresamp_cccf_execute(msresamp_cccf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  1358. # 4225 "include\\liquid.h"
  1359. typedef struct symsync_rrrf_s * symsync_rrrf; symsync_rrrf symsync_rrrf_create(unsigned int _k, unsigned int _M, float * _h, unsigned int _h_len); symsync_rrrf symsync_rrrf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, unsigned int _M); symsync_rrrf symsync_rrrf_create_kaiser(unsigned int _k, unsigned int _m, float _beta, unsigned int _M); void symsync_rrrf_destroy(symsync_rrrf _q); void symsync_rrrf_print(symsync_rrrf _q); void symsync_rrrf_reset(symsync_rrrf _q); void symsync_rrrf_lock(symsync_rrrf _q); void symsync_rrrf_unlock(symsync_rrrf _q); void symsync_rrrf_set_output_rate(symsync_rrrf _q, unsigned int _k_out); void symsync_rrrf_set_lf_bw(symsync_rrrf _q, float _bt); float symsync_rrrf_get_tau(symsync_rrrf _q); void symsync_rrrf_execute(symsync_rrrf _q, float * _x, unsigned int _nx, float * _y, unsigned int * _ny);
  1360.  
  1361.  
  1362.  
  1363.  
  1364. typedef struct symsync_crcf_s * symsync_crcf; symsync_crcf symsync_crcf_create(unsigned int _k, unsigned int _M, float * _h, unsigned int _h_len); symsync_crcf symsync_crcf_create_rnyquist(int _type, unsigned int _k, unsigned int _m, float _beta, unsigned int _M); symsync_crcf symsync_crcf_create_kaiser(unsigned int _k, unsigned int _m, float _beta, unsigned int _M); void symsync_crcf_destroy(symsync_crcf _q); void symsync_crcf_print(symsync_crcf _q); void symsync_crcf_reset(symsync_crcf _q); void symsync_crcf_lock(symsync_crcf _q); void symsync_crcf_unlock(symsync_crcf _q); void symsync_crcf_set_output_rate(symsync_crcf _q, unsigned int _k_out); void symsync_crcf_set_lf_bw(symsync_crcf _q, float _bt); float symsync_crcf_get_tau(symsync_crcf _q); void symsync_crcf_execute(symsync_crcf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  1365. # 4326 "include\\liquid.h"
  1366. typedef struct firfarrow_rrrf_s * firfarrow_rrrf; firfarrow_rrrf firfarrow_rrrf_create(unsigned int _h_len, unsigned int _p, float _fc, float _As); void firfarrow_rrrf_destroy(firfarrow_rrrf _q); void firfarrow_rrrf_print(firfarrow_rrrf _q); void firfarrow_rrrf_reset(firfarrow_rrrf _q); void firfarrow_rrrf_push(firfarrow_rrrf _q, float _x); void firfarrow_rrrf_set_delay(firfarrow_rrrf _q, float _mu); void firfarrow_rrrf_execute(firfarrow_rrrf _q, float * _y); void firfarrow_rrrf_execute_block(firfarrow_rrrf _q, float * _x, unsigned int _n, float * _y); unsigned int firfarrow_rrrf_get_length(firfarrow_rrrf _q); void firfarrow_rrrf_get_coefficients(firfarrow_rrrf _q, float * _h); void firfarrow_rrrf_freqresponse(firfarrow_rrrf _q, float _fc, liquid_float_complex * _H); float firfarrow_rrrf_groupdelay(firfarrow_rrrf _q, float _fc);
  1367.  
  1368.  
  1369.  
  1370.  
  1371. typedef struct firfarrow_crcf_s * firfarrow_crcf; firfarrow_crcf firfarrow_crcf_create(unsigned int _h_len, unsigned int _p, float _fc, float _As); void firfarrow_crcf_destroy(firfarrow_crcf _q); void firfarrow_crcf_print(firfarrow_crcf _q); void firfarrow_crcf_reset(firfarrow_crcf _q); void firfarrow_crcf_push(firfarrow_crcf _q, liquid_float_complex _x); void firfarrow_crcf_set_delay(firfarrow_crcf _q, float _mu); void firfarrow_crcf_execute(firfarrow_crcf _q, liquid_float_complex * _y); void firfarrow_crcf_execute_block(firfarrow_crcf _q, liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y); unsigned int firfarrow_crcf_get_length(firfarrow_crcf _q); void firfarrow_crcf_get_coefficients(firfarrow_crcf _q, float * _h); void firfarrow_crcf_freqresponse(firfarrow_crcf _q, float _fc, liquid_float_complex * _H); float firfarrow_crcf_groupdelay(firfarrow_crcf _q, float _fc);
  1372. # 4405 "include\\liquid.h"
  1373. typedef struct ordfilt_rrrf_s * ordfilt_rrrf; ordfilt_rrrf ordfilt_rrrf_create(unsigned int _n, unsigned int _k); ordfilt_rrrf ordfilt_rrrf_create_medfilt(unsigned int _m); void ordfilt_rrrf_destroy(ordfilt_rrrf _q); void ordfilt_rrrf_reset(ordfilt_rrrf _q); void ordfilt_rrrf_print(ordfilt_rrrf _q); void ordfilt_rrrf_push(ordfilt_rrrf _q, float _x); void ordfilt_rrrf_write(ordfilt_rrrf _q, float * _x, unsigned int _n); void ordfilt_rrrf_execute(ordfilt_rrrf _q, float * _y); void ordfilt_rrrf_execute_block(ordfilt_rrrf _q, float * _x, unsigned int _n, float * _y);
  1374. # 4417 "include\\liquid.h"
  1375. typedef struct {
  1376.  
  1377.     float evm;
  1378.     float rssi;
  1379.     float cfo;
  1380.  
  1381.  
  1382.     liquid_float_complex * framesyms;
  1383.     unsigned int num_framesyms;
  1384.  
  1385.  
  1386.     unsigned int mod_scheme;
  1387.     unsigned int mod_bps;
  1388.     unsigned int check;
  1389.     unsigned int fec0;
  1390.     unsigned int fec1;
  1391. } framesyncstats_s;
  1392.  
  1393.  
  1394. extern framesyncstats_s framesyncstats_default;
  1395.  
  1396.  
  1397. void framesyncstats_init_default(framesyncstats_s * _stats);
  1398.  
  1399.  
  1400. void framesyncstats_print(framesyncstats_s * _stats);
  1401.  
  1402.  
  1403.  
  1404. typedef struct {
  1405.     unsigned int num_frames_detected;
  1406.     unsigned int num_headers_valid;
  1407.     unsigned int num_payloads_valid;
  1408.     unsigned long int num_bytes_received;
  1409. } framedatastats_s;
  1410.  
  1411.  
  1412. void framedatastats_reset(framedatastats_s * _stats);
  1413.  
  1414.  
  1415. void framedatastats_print(framedatastats_s * _stats);
  1416. # 4468 "include\\liquid.h"
  1417. typedef int (*framesync_callback)(unsigned char * _header,
  1418.                                   int _header_valid,
  1419.                                   unsigned char * _payload,
  1420.                                   unsigned int _payload_len,
  1421.                                   int _payload_valid,
  1422.                                   framesyncstats_s _stats,
  1423.                                   void * _userdata);
  1424.  
  1425.  
  1426.  
  1427. typedef void (*framesync_csma_callback)(void * _userdata);
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433. typedef struct qpacketmodem_s * qpacketmodem;
  1434.  
  1435.  
  1436. qpacketmodem qpacketmodem_create ();
  1437. void qpacketmodem_destroy(qpacketmodem _q);
  1438. void qpacketmodem_reset (qpacketmodem _q);
  1439. void qpacketmodem_print (qpacketmodem _q);
  1440.  
  1441. int qpacketmodem_configure(qpacketmodem _q,
  1442.                            unsigned int _payload_len,
  1443.                            crc_scheme _check,
  1444.                            fec_scheme _fec0,
  1445.                            fec_scheme _fec1,
  1446.                            int _ms);
  1447.  
  1448.  
  1449. unsigned int qpacketmodem_get_frame_len(qpacketmodem _q);
  1450.  
  1451.  
  1452. unsigned int qpacketmodem_get_payload_len(qpacketmodem _q);
  1453.  
  1454.  
  1455. unsigned int qpacketmodem_get_crc (qpacketmodem _q);
  1456. unsigned int qpacketmodem_get_fec0 (qpacketmodem _q);
  1457. unsigned int qpacketmodem_get_fec1 (qpacketmodem _q);
  1458. unsigned int qpacketmodem_get_modscheme(qpacketmodem _q);
  1459.  
  1460. float qpacketmodem_get_demodulator_phase_error(qpacketmodem _q);
  1461. float qpacketmodem_get_demodulator_evm(qpacketmodem _q);
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467. void qpacketmodem_encode_syms(qpacketmodem _q,
  1468.                               const unsigned char * _payload,
  1469.                               unsigned char * _syms);
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. int qpacketmodem_decode_syms(qpacketmodem _q,
  1476.                              unsigned char * _syms,
  1477.                              unsigned char * _payload);
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483. int qpacketmodem_decode_bits(qpacketmodem _q,
  1484.                              unsigned char * _bits,
  1485.                              unsigned char * _payload);
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491. void qpacketmodem_encode(qpacketmodem _q,
  1492.                          const unsigned char * _payload,
  1493.                          liquid_float_complex * _frame);
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500. int qpacketmodem_decode(qpacketmodem _q,
  1501.                         liquid_float_complex * _frame,
  1502.                         unsigned char * _payload);
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509. int qpacketmodem_decode_soft(qpacketmodem _q,
  1510.                              liquid_float_complex * _frame,
  1511.                              unsigned char * _payload);
  1512.  
  1513. int qpacketmodem_decode_soft_sym(qpacketmodem _q,
  1514.                                  liquid_float_complex _symbol);
  1515.  
  1516. int qpacketmodem_decode_soft_payload(qpacketmodem _q,
  1517.                                      unsigned char * _payload);
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524. unsigned int qpilot_num_pilots(unsigned int _payload_len,
  1525.                                unsigned int _pilot_spacing);
  1526.  
  1527.  
  1528. unsigned int qpilot_frame_len(unsigned int _payload_len,
  1529.                               unsigned int _pilot_spacing);
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535. typedef struct qpilotgen_s * qpilotgen;
  1536.  
  1537.  
  1538. qpilotgen qpilotgen_create(unsigned int _payload_len,
  1539.                            unsigned int _pilot_spacing);
  1540.  
  1541. qpilotgen qpilotgen_recreate(qpilotgen _q,
  1542.                              unsigned int _payload_len,
  1543.                              unsigned int _pilot_spacing);
  1544.  
  1545. void qpilotgen_destroy(qpilotgen _q);
  1546. void qpilotgen_reset( qpilotgen _q);
  1547. void qpilotgen_print( qpilotgen _q);
  1548.  
  1549. unsigned int qpilotgen_get_frame_len(qpilotgen _q);
  1550.  
  1551.  
  1552. void qpilotgen_execute(qpilotgen _q,
  1553.                        liquid_float_complex * _payload,
  1554.                        liquid_float_complex * _frame);
  1555.  
  1556.  
  1557.  
  1558.  
  1559. typedef struct qpilotsync_s * qpilotsync;
  1560.  
  1561.  
  1562. qpilotsync qpilotsync_create(unsigned int _payload_len,
  1563.                              unsigned int _pilot_spacing);
  1564.  
  1565. qpilotsync qpilotsync_recreate(qpilotsync _q,
  1566.                                unsigned int _payload_len,
  1567.                                unsigned int _pilot_spacing);
  1568.  
  1569. void qpilotsync_destroy(qpilotsync _q);
  1570. void qpilotsync_reset( qpilotsync _q);
  1571. void qpilotsync_print( qpilotsync _q);
  1572.  
  1573. unsigned int qpilotsync_get_frame_len(qpilotsync _q);
  1574.  
  1575.  
  1576. void qpilotsync_execute(qpilotsync _q,
  1577.                         liquid_float_complex * _frame,
  1578.                         liquid_float_complex * _payload);
  1579.  
  1580.  
  1581. float qpilotsync_get_dphi(qpilotsync _q);
  1582. float qpilotsync_get_phi (qpilotsync _q);
  1583. float qpilotsync_get_gain(qpilotsync _q);
  1584. float qpilotsync_get_evm (qpilotsync _q);
  1585. # 4645 "include\\liquid.h"
  1586. typedef struct framegen64_s * framegen64;
  1587.  
  1588.  
  1589. framegen64 framegen64_create();
  1590.  
  1591.  
  1592. void framegen64_destroy(framegen64 _q);
  1593.  
  1594.  
  1595. void framegen64_print(framegen64 _q);
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602. void framegen64_execute(framegen64 _q,
  1603.                         unsigned char * _header,
  1604.                         unsigned char * _payload,
  1605.                         liquid_float_complex * _frame);
  1606.  
  1607. typedef struct framesync64_s * framesync64;
  1608.  
  1609.  
  1610.  
  1611.  
  1612. framesync64 framesync64_create(framesync_callback _callback,
  1613.                                void * _userdata);
  1614.  
  1615.  
  1616. void framesync64_destroy(framesync64 _q);
  1617.  
  1618.  
  1619. void framesync64_print(framesync64 _q);
  1620.  
  1621.  
  1622. void framesync64_reset(framesync64 _q);
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628. void framesync64_execute(framesync64 _q,
  1629.                          liquid_float_complex * _x,
  1630.                          unsigned int _n);
  1631.  
  1632.  
  1633. void framesync64_debug_enable(framesync64 _q);
  1634. void framesync64_debug_disable(framesync64 _q);
  1635. void framesync64_debug_print(framesync64 _q, const char * _filename);
  1636.  
  1637.  
  1638. void framesync64_reset_framedatastats(framesync64 _q);
  1639. framedatastats_s framesync64_get_framedatastats (framesync64 _q);
  1640. # 4714 "include\\liquid.h"
  1641. typedef struct {
  1642.     unsigned int check;
  1643.     unsigned int fec0;
  1644.     unsigned int fec1;
  1645.     unsigned int mod_scheme;
  1646. } flexframegenprops_s;
  1647.  
  1648. void flexframegenprops_init_default(flexframegenprops_s * _fgprops);
  1649.  
  1650. typedef struct flexframegen_s * flexframegen;
  1651.  
  1652.  
  1653.  
  1654. flexframegen flexframegen_create(flexframegenprops_s * _props);
  1655.  
  1656.  
  1657. void flexframegen_destroy(flexframegen _q);
  1658.  
  1659.  
  1660. void flexframegen_print(flexframegen _q);
  1661.  
  1662.  
  1663. void flexframegen_reset(flexframegen _q);
  1664.  
  1665.  
  1666. int flexframegen_is_assembled(flexframegen _q);
  1667.  
  1668.  
  1669. void flexframegen_getprops(flexframegen _q, flexframegenprops_s * _props);
  1670.  
  1671.  
  1672. int flexframegen_setprops(flexframegen _q, flexframegenprops_s * _props);
  1673.  
  1674.  
  1675. void flexframegen_set_header_len(flexframegen _q, unsigned int _len);
  1676.  
  1677.  
  1678. int flexframegen_set_header_props(flexframegen _q,
  1679.                                   flexframegenprops_s * _props);
  1680.  
  1681.  
  1682. unsigned int flexframegen_getframelen(flexframegen _q);
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689. void flexframegen_assemble(flexframegen _q,
  1690.                            const unsigned char * _header,
  1691.                            const unsigned char * _payload,
  1692.                            unsigned int _payload_len);
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700. int flexframegen_write_samples(flexframegen _q,
  1701.                                liquid_float_complex * _buffer,
  1702.                                unsigned int _buffer_len);
  1703.  
  1704.  
  1705.  
  1706. typedef struct flexframesync_s * flexframesync;
  1707.  
  1708.  
  1709.  
  1710.  
  1711. flexframesync flexframesync_create(framesync_callback _callback,
  1712.                                    void * _userdata);
  1713.  
  1714.  
  1715. void flexframesync_destroy(flexframesync _q);
  1716.  
  1717.  
  1718. void flexframesync_print(flexframesync _q);
  1719.  
  1720.  
  1721. void flexframesync_reset(flexframesync _q);
  1722.  
  1723.  
  1724. int flexframesync_is_frame_open(flexframesync _q);
  1725.  
  1726.  
  1727. void flexframesync_set_header_len(flexframesync _q,
  1728.                                   unsigned int _len);
  1729.  
  1730.  
  1731. void flexframesync_decode_header_soft(flexframesync _q,
  1732.                                       int _soft);
  1733.  
  1734.  
  1735. void flexframesync_decode_payload_soft(flexframesync _q,
  1736.                                        int _soft);
  1737.  
  1738.  
  1739. int flexframesync_set_header_props(flexframesync _q,
  1740.                                    flexframegenprops_s * _props);
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746. void flexframesync_execute(flexframesync _q,
  1747.                            liquid_float_complex * _x,
  1748.                            unsigned int _n);
  1749.  
  1750.  
  1751. void flexframesync_reset_framedatastats(flexframesync _q);
  1752. framedatastats_s flexframesync_get_framedatastats (flexframesync _q);
  1753.  
  1754.  
  1755. void flexframesync_debug_enable(flexframesync _q);
  1756. void flexframesync_debug_disable(flexframesync _q);
  1757. void flexframesync_debug_print(flexframesync _q,
  1758.                                const char * _filename);
  1759. # 4840 "include\\liquid.h"
  1760. typedef struct bpacketgen_s * bpacketgen;
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768. bpacketgen bpacketgen_create(unsigned int _m,
  1769.                              unsigned int _dec_msg_len,
  1770.                              int _crc,
  1771.                              int _fec0,
  1772.                              int _fec1);
  1773. # 4861 "include\\liquid.h"
  1774. bpacketgen bpacketgen_recreate(bpacketgen _q,
  1775.                                unsigned int _m,
  1776.                                unsigned int _dec_msg_len,
  1777.                                int _crc,
  1778.                                int _fec0,
  1779.                                int _fec1);
  1780.  
  1781.  
  1782. void bpacketgen_destroy(bpacketgen _q);
  1783.  
  1784.  
  1785. void bpacketgen_print(bpacketgen _q);
  1786.  
  1787.  
  1788. unsigned int bpacketgen_get_packet_len(bpacketgen _q);
  1789.  
  1790.  
  1791. void bpacketgen_encode(bpacketgen _q,
  1792.                        unsigned char * _msg_dec,
  1793.                        unsigned char * _packet);
  1794.  
  1795.  
  1796.  
  1797.  
  1798. typedef struct bpacketsync_s * bpacketsync;
  1799. typedef int (*bpacketsync_callback)(unsigned char * _payload,
  1800.                                     int _payload_valid,
  1801.                                     unsigned int _payload_len,
  1802.                                     framesyncstats_s _stats,
  1803.                                     void * _userdata);
  1804. bpacketsync bpacketsync_create(unsigned int _m,
  1805.                                bpacketsync_callback _callback,
  1806.                                void * _userdata);
  1807. void bpacketsync_destroy(bpacketsync _q);
  1808. void bpacketsync_print(bpacketsync _q);
  1809. void bpacketsync_reset(bpacketsync _q);
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815. void bpacketsync_execute(bpacketsync _q,
  1816.                          unsigned char * _bytes,
  1817.                          unsigned int _n);
  1818.  
  1819.  
  1820.  
  1821.  
  1822. void bpacketsync_execute_byte(bpacketsync _q,
  1823.                               unsigned char _byte);
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829. void bpacketsync_execute_sym(bpacketsync _q,
  1830.                              unsigned char _sym,
  1831.                              unsigned int _bps);
  1832.  
  1833.  
  1834. void bpacketsync_execute_bit(bpacketsync _q,
  1835.                              unsigned char _bit);
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841. typedef struct fskframegen_s * fskframegen;
  1842.  
  1843.  
  1844. fskframegen fskframegen_create();
  1845. void fskframegen_destroy (fskframegen _fg);
  1846. void fskframegen_print (fskframegen _fg);
  1847. void fskframegen_reset (fskframegen _fg);
  1848. void fskframegen_assemble(fskframegen _fg,
  1849.                           unsigned char * _header,
  1850.                           unsigned char * _payload,
  1851.                           unsigned int _payload_len,
  1852.                           crc_scheme _check,
  1853.                           fec_scheme _fec0,
  1854.                           fec_scheme _fec1);
  1855. unsigned int fskframegen_getframelen(fskframegen _q);
  1856. int fskframegen_write_samples(fskframegen _fg,
  1857.                               liquid_float_complex * _buf,
  1858.                               unsigned int _buf_len);
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865. typedef struct fskframesync_s * fskframesync;
  1866.  
  1867.  
  1868.  
  1869.  
  1870. fskframesync fskframesync_create(framesync_callback _callback,
  1871.                                  void * _userdata);
  1872. void fskframesync_destroy(fskframesync _q);
  1873. void fskframesync_print (fskframesync _q);
  1874. void fskframesync_reset (fskframesync _q);
  1875. void fskframesync_execute(fskframesync _q,
  1876.                           liquid_float_complex _x);
  1877. void fskframesync_execute_block(fskframesync _q,
  1878.                                 liquid_float_complex * _x,
  1879.                                 unsigned int _n);
  1880.  
  1881.  
  1882. void fskframesync_debug_enable (fskframesync _q);
  1883. void fskframesync_debug_disable(fskframesync _q);
  1884. void fskframesync_debug_export (fskframesync _q, const char * _filename);
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891. typedef struct gmskframegen_s * gmskframegen;
  1892.  
  1893.  
  1894. gmskframegen gmskframegen_create();
  1895. void gmskframegen_destroy (gmskframegen _q);
  1896. int gmskframegen_is_assembled (gmskframegen _q);
  1897. void gmskframegen_print (gmskframegen _q);
  1898. void gmskframegen_set_header_len(gmskframegen _q, unsigned int _len);
  1899. void gmskframegen_reset (gmskframegen _q);
  1900. void gmskframegen_assemble (gmskframegen _q,
  1901.                                  const unsigned char * _header,
  1902.                                  const unsigned char * _payload,
  1903.                                  unsigned int _payload_len,
  1904.                                  crc_scheme _check,
  1905.                                  fec_scheme _fec0,
  1906.                                  fec_scheme _fec1);
  1907. unsigned int gmskframegen_getframelen(gmskframegen _q);
  1908. int gmskframegen_write_samples(gmskframegen _q,
  1909.                                liquid_float_complex * _y);
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916. typedef struct gmskframesync_s * gmskframesync;
  1917.  
  1918.  
  1919.  
  1920.  
  1921. gmskframesync gmskframesync_create(framesync_callback _callback,
  1922.                                    void * _userdata);
  1923. void gmskframesync_destroy(gmskframesync _q);
  1924. void gmskframesync_print(gmskframesync _q);
  1925. void gmskframesync_set_header_len(gmskframesync _q, unsigned int _len);
  1926. void gmskframesync_reset(gmskframesync _q);
  1927. int gmskframesync_is_frame_open(gmskframesync _q);
  1928. void gmskframesync_execute(gmskframesync _q,
  1929.                            liquid_float_complex * _x,
  1930.                            unsigned int _n);
  1931.  
  1932.  
  1933. void gmskframesync_debug_enable(gmskframesync _q);
  1934. void gmskframesync_debug_disable(gmskframesync _q);
  1935. void gmskframesync_debug_print(gmskframesync _q, const char * _filename);
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942. typedef struct {
  1943.     unsigned int check;
  1944.     unsigned int fec0;
  1945.     unsigned int fec1;
  1946. } dsssframegenprops_s;
  1947.  
  1948. typedef struct dsssframegen_s * dsssframegen;
  1949.  
  1950. dsssframegen dsssframegen_create(dsssframegenprops_s * _props);
  1951. void dsssframegen_destroy(dsssframegen _q);
  1952. void dsssframegen_reset(dsssframegen _q);
  1953. int dsssframegen_is_assembled(dsssframegen _q);
  1954. void dsssframegen_getprops(dsssframegen _q, dsssframegenprops_s * _props);
  1955. int dsssframegen_setprops(dsssframegen _q, dsssframegenprops_s * _props);
  1956. void dsssframegen_set_header_len(dsssframegen _q, unsigned int _len);
  1957. int dsssframegen_set_header_props(dsssframegen _q,
  1958.                                   dsssframegenprops_s * _props);
  1959. unsigned int dsssframegen_getframelen(dsssframegen _q);
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966. void dsssframegen_assemble(dsssframegen _q,
  1967.                            const unsigned char * _header,
  1968.                            const unsigned char * _payload,
  1969.                            unsigned int _payload_len);
  1970.  
  1971. int dsssframegen_write_samples(dsssframegen _q,
  1972.                                liquid_float_complex * _buffer,
  1973.                                unsigned int _buffer_len);
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980. typedef struct dsssframesync_s * dsssframesync;
  1981.  
  1982. dsssframesync dsssframesync_create(framesync_callback _callback, void * _userdata);
  1983. void dsssframesync_destroy(dsssframesync _q);
  1984. void dsssframesync_print(dsssframesync _q);
  1985. void dsssframesync_reset(dsssframesync _q);
  1986. int dsssframesync_is_frame_open(dsssframesync _q);
  1987. void dsssframesync_set_header_len(dsssframesync _q,
  1988.                                   unsigned int _len);
  1989. void dsssframesync_decode_header_soft(dsssframesync _q,
  1990.                                       int _soft);
  1991. void dsssframesync_decode_payload_soft(dsssframesync _q,
  1992.                                        int _soft);
  1993. int dsssframesync_set_header_props(dsssframesync _q,
  1994.                                    dsssframegenprops_s * _props);
  1995. void dsssframesync_execute(dsssframesync _q,
  1996.                            liquid_float_complex * _x,
  1997.                            unsigned int _n);
  1998. void dsssframesync_reset_framedatastats(dsssframesync _q);
  1999. framedatastats_s dsssframesync_get_framedatastats (dsssframesync _q);
  2000.  
  2001. void dsssframesync_debug_enable(dsssframesync _q);
  2002. void dsssframesync_debug_disable(dsssframesync _q);
  2003. void dsssframesync_debug_print(dsssframesync _q, const char * _filename);
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010. typedef struct {
  2011.     unsigned int check;
  2012.     unsigned int fec0;
  2013.     unsigned int fec1;
  2014.     unsigned int mod_scheme;
  2015.  
  2016. } ofdmflexframegenprops_s;
  2017. void ofdmflexframegenprops_init_default(ofdmflexframegenprops_s * _props);
  2018.  
  2019. typedef struct ofdmflexframegen_s * ofdmflexframegen;
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027. ofdmflexframegen ofdmflexframegen_create(unsigned int _M,
  2028.                                          unsigned int _cp_len,
  2029.                                          unsigned int _taper_len,
  2030.                                          unsigned char * _p,
  2031.                                          ofdmflexframegenprops_s * _fgprops);
  2032.  
  2033.  
  2034. void ofdmflexframegen_destroy(ofdmflexframegen _q);
  2035.  
  2036.  
  2037. void ofdmflexframegen_print(ofdmflexframegen _q);
  2038.  
  2039.  
  2040. void ofdmflexframegen_reset(ofdmflexframegen _q);
  2041.  
  2042.  
  2043. int ofdmflexframegen_is_assembled(ofdmflexframegen _q);
  2044.  
  2045.  
  2046. void ofdmflexframegen_getprops(ofdmflexframegen _q,
  2047.                                ofdmflexframegenprops_s * _props);
  2048.  
  2049.  
  2050. void ofdmflexframegen_setprops(ofdmflexframegen _q,
  2051.                                ofdmflexframegenprops_s * _props);
  2052.  
  2053.  
  2054. void ofdmflexframegen_set_header_len(ofdmflexframegen _q,
  2055.                                      unsigned int _len);
  2056.  
  2057. void ofdmflexframegen_set_header_props(ofdmflexframegen _q,
  2058.                                        ofdmflexframegenprops_s * _props);
  2059.  
  2060.  
  2061.  
  2062. unsigned int ofdmflexframegen_getframelen(ofdmflexframegen _q);
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069. void ofdmflexframegen_assemble(ofdmflexframegen _q,
  2070.                                const unsigned char * _header,
  2071.                                const unsigned char * _payload,
  2072.                                unsigned int _payload_len);
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078. int ofdmflexframegen_write(ofdmflexframegen _q,
  2079.                           liquid_float_complex * _buf,
  2080.                           unsigned int _buf_len);
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086. typedef struct ofdmflexframesync_s * ofdmflexframesync;
  2087. # 5182 "include\\liquid.h"
  2088. ofdmflexframesync ofdmflexframesync_create(unsigned int _M,
  2089.                                            unsigned int _cp_len,
  2090.                                            unsigned int _taper_len,
  2091.                                            unsigned char * _p,
  2092.                                            framesync_callback _callback,
  2093.                                            void * _userdata);
  2094.  
  2095. void ofdmflexframesync_destroy(ofdmflexframesync _q);
  2096. void ofdmflexframesync_print(ofdmflexframesync _q);
  2097.  
  2098. void ofdmflexframesync_set_header_len(ofdmflexframesync _q,
  2099.                                       unsigned int _len);
  2100.  
  2101. void ofdmflexframesync_decode_header_soft(ofdmflexframesync _q,
  2102.                                            int _soft);
  2103.  
  2104. void ofdmflexframesync_decode_payload_soft(ofdmflexframesync _q,
  2105.                                            int _soft);
  2106.  
  2107. void ofdmflexframesync_set_header_props(ofdmflexframesync _q,
  2108.                                         ofdmflexframegenprops_s * _props);
  2109.  
  2110. void ofdmflexframesync_reset(ofdmflexframesync _q);
  2111. int ofdmflexframesync_is_frame_open(ofdmflexframesync _q);
  2112. void ofdmflexframesync_execute(ofdmflexframesync _q,
  2113.                                liquid_float_complex * _x,
  2114.                                unsigned int _n);
  2115.  
  2116.  
  2117. float ofdmflexframesync_get_rssi(ofdmflexframesync _q);
  2118.  
  2119.  
  2120. float ofdmflexframesync_get_cfo(ofdmflexframesync _q);
  2121.  
  2122.  
  2123. void ofdmflexframesync_reset_framedatastats(ofdmflexframesync _q);
  2124. framedatastats_s ofdmflexframesync_get_framedatastats (ofdmflexframesync _q);
  2125.  
  2126.  
  2127. void ofdmflexframesync_set_cfo(ofdmflexframesync _q, float _cfo);
  2128.  
  2129.  
  2130. void ofdmflexframesync_debug_enable(ofdmflexframesync _q);
  2131. void ofdmflexframesync_debug_disable(ofdmflexframesync _q);
  2132. void ofdmflexframesync_debug_print(ofdmflexframesync _q,
  2133.                                    const char * _filename);
  2134. # 5276 "include\\liquid.h"
  2135. typedef struct bsync_rrrf_s * bsync_rrrf; bsync_rrrf bsync_rrrf_create(unsigned int _n, float * _v); bsync_rrrf bsync_rrrf_create_msequence(unsigned int _g, unsigned int _k); void bsync_rrrf_destroy(bsync_rrrf _q); void bsync_rrrf_print(bsync_rrrf _q); void bsync_rrrf_correlate(bsync_rrrf _q, float _x, float * _y);
  2136.  
  2137.  
  2138.  
  2139.  
  2140. typedef struct bsync_crcf_s * bsync_crcf; bsync_crcf bsync_crcf_create(unsigned int _n, float * _v); bsync_crcf bsync_crcf_create_msequence(unsigned int _g, unsigned int _k); void bsync_crcf_destroy(bsync_crcf _q); void bsync_crcf_print(bsync_crcf _q); void bsync_crcf_correlate(bsync_crcf _q, liquid_float_complex _x, liquid_float_complex * _y);
  2141.  
  2142.  
  2143.  
  2144.  
  2145. typedef struct bsync_cccf_s * bsync_cccf; bsync_cccf bsync_cccf_create(unsigned int _n, liquid_float_complex * _v); bsync_cccf bsync_cccf_create_msequence(unsigned int _g, unsigned int _k); void bsync_cccf_destroy(bsync_cccf _q); void bsync_cccf_print(bsync_cccf _q); void bsync_cccf_correlate(bsync_cccf _q, liquid_float_complex _x, liquid_float_complex * _y);
  2146. # 5342 "include\\liquid.h"
  2147. typedef struct presync_cccf_s * presync_cccf; presync_cccf presync_cccf_create(liquid_float_complex * _v, unsigned int _n, float _dphi_max, unsigned int _m); void presync_cccf_destroy(presync_cccf _q); void presync_cccf_print(presync_cccf _q); void presync_cccf_reset(presync_cccf _q); void presync_cccf_push(presync_cccf _q, liquid_float_complex _x); void presync_cccf_execute(presync_cccf _q, liquid_float_complex * _rxy, float * _dphi_hat);
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153. typedef struct bpresync_cccf_s * bpresync_cccf; bpresync_cccf bpresync_cccf_create(liquid_float_complex * _v, unsigned int _n, float _dphi_max, unsigned int _m); void bpresync_cccf_destroy(bpresync_cccf _q); void bpresync_cccf_print(bpresync_cccf _q); void bpresync_cccf_reset(bpresync_cccf _q); void bpresync_cccf_push(bpresync_cccf _q, liquid_float_complex _x); void bpresync_cccf_execute(bpresync_cccf _q, liquid_float_complex * _rxy, float * _dphi_hat);
  2154. # 5357 "include\\liquid.h"
  2155. typedef struct qdetector_cccf_s * qdetector_cccf;
  2156.  
  2157.  
  2158.  
  2159.  
  2160. qdetector_cccf qdetector_cccf_create(liquid_float_complex * _s,
  2161.                                      unsigned int _s_len);
  2162. # 5372 "include\\liquid.h"
  2163. qdetector_cccf qdetector_cccf_create_linear(liquid_float_complex * _sequence,
  2164.                                             unsigned int _sequence_len,
  2165.                                             int _ftype,
  2166.                                             unsigned int _k,
  2167.                                             unsigned int _m,
  2168.                                             float _beta);
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176. qdetector_cccf qdetector_cccf_create_gmsk(unsigned char * _sequence,
  2177.                                           unsigned int _sequence_len,
  2178.                                           unsigned int _k,
  2179.                                           unsigned int _m,
  2180.                                           float _beta);
  2181. # 5400 "include\\liquid.h"
  2182. qdetector_cccf qdetector_cccf_create_cpfsk(unsigned char * _sequence,
  2183.                                            unsigned int _sequence_len,
  2184.                                            unsigned int _bps,
  2185.                                            float _h,
  2186.                                            unsigned int _k,
  2187.                                            unsigned int _m,
  2188.                                            float _beta,
  2189.                                            int _type);
  2190.  
  2191. void qdetector_cccf_destroy(qdetector_cccf _q);
  2192. void qdetector_cccf_print (qdetector_cccf _q);
  2193. void qdetector_cccf_reset (qdetector_cccf _q);
  2194.  
  2195.  
  2196. void * qdetector_cccf_execute(qdetector_cccf _q,
  2197.                               liquid_float_complex _x);
  2198.  
  2199.  
  2200. void qdetector_cccf_set_threshold(qdetector_cccf _q,
  2201.                                   float _threshold);
  2202.  
  2203.  
  2204. void qdetector_cccf_set_range(qdetector_cccf _q,
  2205.                               float _dphi_max);
  2206.  
  2207.  
  2208. unsigned int qdetector_cccf_get_seq_len (qdetector_cccf _q);
  2209. const void * qdetector_cccf_get_sequence(qdetector_cccf _q);
  2210. unsigned int qdetector_cccf_get_buf_len (qdetector_cccf _q);
  2211. float qdetector_cccf_get_rxy (qdetector_cccf _q);
  2212. float qdetector_cccf_get_tau (qdetector_cccf _q);
  2213. float qdetector_cccf_get_gamma (qdetector_cccf _q);
  2214. float qdetector_cccf_get_dphi (qdetector_cccf _q);
  2215. float qdetector_cccf_get_phi (qdetector_cccf _q);
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221. typedef struct detector_cccf_s * detector_cccf;
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228. detector_cccf detector_cccf_create(liquid_float_complex * _s,
  2229.                                    unsigned int _n,
  2230.                                    float _threshold,
  2231.                                    float _dphi_max);
  2232.  
  2233.  
  2234. void detector_cccf_destroy(detector_cccf _q);
  2235.  
  2236.  
  2237. void detector_cccf_print(detector_cccf _q);
  2238.  
  2239.  
  2240. void detector_cccf_reset(detector_cccf _q);
  2241. # 5467 "include\\liquid.h"
  2242. int detector_cccf_correlate(detector_cccf _q,
  2243.                             liquid_float_complex _x,
  2244.                             float * _tau_hat,
  2245.                             float * _dphi_hat,
  2246.                             float * _gamma_hat);
  2247. # 5534 "include\\liquid.h"
  2248. typedef struct symstreamcf_s * symstreamcf; symstreamcf symstreamcf_create(void); symstreamcf symstreamcf_create_linear(int _ftype, unsigned int _k, unsigned int _m, float _beta, int _ms); void symstreamcf_destroy(symstreamcf _q); void symstreamcf_print(symstreamcf _q); void symstreamcf_reset(symstreamcf _q); void symstreamcf_set_scheme(symstreamcf _q, int _ms); int symstreamcf_get_scheme(symstreamcf _q); void symstreamcf_set_gain(symstreamcf _q, float _gain); float symstreamcf_get_gain(symstreamcf _q); void symstreamcf_write_samples(symstreamcf _q, liquid_float_complex * _buf, unsigned int _buf_len);
  2249. # 5707 "include\\liquid.h"
  2250. typedef struct msourcecf_s * msourcecf; msourcecf msourcecf_create(unsigned int _M, unsigned int _m, float _As); msourcecf msourcecf_create_default(void); void msourcecf_destroy(msourcecf _q); void msourcecf_print(msourcecf _q); void msourcecf_reset(msourcecf _q); typedef int (*msourcecf_callback)(void * _userdata, liquid_float_complex * _v, unsigned int _n); int msourcecf_add_user(msourcecf _q, float _fc, float _bw, float _gain, void * _userdata, msourcecf_callback _callback); int msourcecf_add_tone(msourcecf _q, float _fc, float _bw, float _gain); int msourcecf_add_chirp(msourcecf _q, float _fc, float _bw, float _gain, float _duration, int _negate, int _repeat); int msourcecf_add_noise(msourcecf _q, float _fc, float _bw, float _gain); int msourcecf_add_modem(msourcecf _q, float _fc, float _bw, float _gain, int _ms, unsigned int _m, float _beta); int msourcecf_add_fsk(msourcecf _q, float _fc, float _bw, float _gain, unsigned int _m, unsigned int _k); int msourcecf_add_gmsk(msourcecf _q, float _fc, float _bw, float _gain, unsigned int _m, float _bt); int msourcecf_remove(msourcecf _q, int _id); int msourcecf_enable(msourcecf _q, int _id); int msourcecf_disable(msourcecf _q, int _id); int msourcecf_set_gain(msourcecf _q, int _id, float _gain); int msourcecf_get_gain(msourcecf _q, int _id, float * _gain); unsigned long long int msourcecf_get_num_samples(msourcecf _q); int msourcecf_set_frequency(msourcecf _q, int _id, float _dphi); int msourcecf_get_frequency(msourcecf _q, int _id, float * _dphi); void msourcecf_write_samples(msourcecf _q, liquid_float_complex * _buf, unsigned int _buf_len);
  2251. # 5799 "include\\liquid.h"
  2252. typedef struct symtrack_rrrf_s * symtrack_rrrf; symtrack_rrrf symtrack_rrrf_create(int _ftype, unsigned int _k, unsigned int _m, float _beta, int _ms); symtrack_rrrf symtrack_rrrf_create_default(); void symtrack_rrrf_destroy(symtrack_rrrf _q); void symtrack_rrrf_print(symtrack_rrrf _q); void symtrack_rrrf_reset(symtrack_rrrf _q); void symtrack_rrrf_set_modscheme(symtrack_rrrf _q, int _ms); void symtrack_rrrf_set_bandwidth(symtrack_rrrf _q, float _bw); void symtrack_rrrf_adjust_phase(symtrack_rrrf _q, float _dphi); void symtrack_rrrf_execute(symtrack_rrrf _q, float _x, float * _y, unsigned int * _ny); void symtrack_rrrf_execute_block(symtrack_rrrf _q, float * _x, unsigned int _nx, float * _y, unsigned int * _ny);
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258. typedef struct symtrack_cccf_s * symtrack_cccf; symtrack_cccf symtrack_cccf_create(int _ftype, unsigned int _k, unsigned int _m, float _beta, int _ms); symtrack_cccf symtrack_cccf_create_default(); void symtrack_cccf_destroy(symtrack_cccf _q); void symtrack_cccf_print(symtrack_cccf _q); void symtrack_cccf_reset(symtrack_cccf _q); void symtrack_cccf_set_modscheme(symtrack_cccf _q, int _ms); void symtrack_cccf_set_bandwidth(symtrack_cccf _q, float _bw); void symtrack_cccf_adjust_phase(symtrack_cccf _q, float _dphi); void symtrack_cccf_execute(symtrack_cccf _q, liquid_float_complex _x, liquid_float_complex * _y, unsigned int * _ny); void symtrack_cccf_execute_block(symtrack_cccf _q, liquid_float_complex * _x, unsigned int _nx, liquid_float_complex * _y, unsigned int * _ny);
  2259. # 5818 "include\\liquid.h"
  2260. float liquid_lngammaf(float _z);
  2261.  
  2262.  
  2263. float liquid_gammaf(float _z);
  2264.  
  2265.  
  2266. float liquid_lnlowergammaf(float _z, float _alpha);
  2267.  
  2268.  
  2269. float liquid_lnuppergammaf(float _z, float _alpha);
  2270.  
  2271.  
  2272. float liquid_lowergammaf(float _z, float _alpha);
  2273.  
  2274.  
  2275. float liquid_uppergammaf(float _z, float _alpha);
  2276.  
  2277.  
  2278. float liquid_factorialf(unsigned int _n);
  2279.  
  2280.  
  2281.  
  2282.  
  2283. float liquid_lnbesselif(float _nu, float _z);
  2284.  
  2285.  
  2286. float liquid_besselif(float _nu, float _z);
  2287.  
  2288.  
  2289. float liquid_besseli0f(float _z);
  2290.  
  2291.  
  2292. float liquid_besseljf(float _nu, float _z);
  2293.  
  2294.  
  2295. float liquid_besselj0f(float _z);
  2296.  
  2297.  
  2298.  
  2299. float liquid_Qf(float _z);
  2300.  
  2301.  
  2302. float liquid_MarcumQf(int _M,
  2303.                       float _alpha,
  2304.                       float _beta);
  2305.  
  2306.  
  2307. float liquid_MarcumQ1f(float _alpha,
  2308.                        float _beta);
  2309.  
  2310.  
  2311. float sincf(float _x);
  2312.  
  2313.  
  2314. unsigned int liquid_nextpow2(unsigned int _x);
  2315.  
  2316.  
  2317. float liquid_nchoosek(unsigned int _n, unsigned int _k);
  2318. # 5885 "include\\liquid.h"
  2319. typedef enum {
  2320.     LIQUID_WINDOW_UNKNOWN=0,
  2321.  
  2322.     LIQUID_WINDOW_HAMMING,
  2323.     LIQUID_WINDOW_HANN,
  2324.     LIQUID_WINDOW_BLACKMANHARRIS,
  2325.     LIQUID_WINDOW_BLACKMANHARRIS7,
  2326.     LIQUID_WINDOW_KAISER,
  2327.     LIQUID_WINDOW_FLATTOP,
  2328.     LIQUID_WINDOW_TRIANGULAR,
  2329.     LIQUID_WINDOW_RCOSTAPER,
  2330.     LIQUID_WINDOW_KBD,
  2331. } liquid_window_type;
  2332.  
  2333.  
  2334. extern const char * liquid_window_str[(10)][2];
  2335.  
  2336.  
  2337. void liquid_print_windows();
  2338.  
  2339.  
  2340. liquid_window_type liquid_getopt_str2window(const char * _str);
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347. float liquid_windowf(liquid_window_type _type,
  2348.                      unsigned int _i,
  2349.                      unsigned int _wlen,
  2350.                      float _arg);
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356. float liquid_kaiser(unsigned int _i,
  2357.                     unsigned int _wlen,
  2358.                     float _beta);
  2359.  
  2360.  
  2361.  
  2362.  
  2363. float liquid_hamming(unsigned int _i,
  2364.                      unsigned int _wlen);
  2365.  
  2366.  
  2367.  
  2368.  
  2369. float liquid_hann(unsigned int _i,
  2370.                   unsigned int _wlen);
  2371.  
  2372.  
  2373.  
  2374.  
  2375. float liquid_blackmanharris(unsigned int _i,
  2376.                             unsigned int _wlen);
  2377.  
  2378.  
  2379.  
  2380.  
  2381. float liquid_blackmanharris7(unsigned int _i,
  2382.                              unsigned int _wlen);
  2383.  
  2384.  
  2385.  
  2386.  
  2387. float liquid_flattop(unsigned int _i,
  2388.                      unsigned int _wlen);
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394. float liquid_triangular(unsigned int _i,
  2395.                         unsigned int _wlen,
  2396.                         unsigned int _L);
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402. float liquid_rcostaper_window(unsigned int _i,
  2403.                               unsigned int _wlen,
  2404.                               unsigned int _t);
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410. float liquid_kbd(unsigned int _i,
  2411.                  unsigned int _wlen,
  2412.                  float _beta);
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418. void liquid_kbd_window(unsigned int _wlen,
  2419.                        float _beta,
  2420.                        float * _w);
  2421. # 6157 "include\\liquid.h"
  2422. double poly_val(double * _p, unsigned int _k, double _x); void poly_fit(double * _x, double * _y, unsigned int _n, double * _p, unsigned int _k); void poly_fit_lagrange(double * _x, double * _y, unsigned int _n, double * _p); double poly_interp_lagrange(double * _x, double * _y, unsigned int _n, double _x0); void poly_fit_lagrange_barycentric(double * _x, unsigned int _n, double * _w); double poly_val_lagrange_barycentric(double * _x, double * _y, double * _w, double _x0, unsigned int _n); void poly_expandbinomial(unsigned int _n, double * _p); void poly_expandbinomial_pm(unsigned int _m, unsigned int _k, double * _p); void poly_expandroots(double * _r, unsigned int _n, double * _p); void poly_expandroots2(double * _a, double * _b, unsigned int _n, double * _p); void poly_findroots(double * _poly, unsigned int _n, liquid_double_complex * _roots); void poly_findroots_durandkerner(double * _p, unsigned int _k, liquid_double_complex * _roots); void poly_findroots_bairstow(double * _p, unsigned int _k, liquid_double_complex * _roots); void poly_mul(double * _a, unsigned int _order_a, double * _b, unsigned int _order_b, double * _c);
  2423.  
  2424.  
  2425.  
  2426. float polyf_val(float * _p, unsigned int _k, float _x); void polyf_fit(float * _x, float * _y, unsigned int _n, float * _p, unsigned int _k); void polyf_fit_lagrange(float * _x, float * _y, unsigned int _n, float * _p); float polyf_interp_lagrange(float * _x, float * _y, unsigned int _n, float _x0); void polyf_fit_lagrange_barycentric(float * _x, unsigned int _n, float * _w); float polyf_val_lagrange_barycentric(float * _x, float * _y, float * _w, float _x0, unsigned int _n); void polyf_expandbinomial(unsigned int _n, float * _p); void polyf_expandbinomial_pm(unsigned int _m, unsigned int _k, float * _p); void polyf_expandroots(float * _r, unsigned int _n, float * _p); void polyf_expandroots2(float * _a, float * _b, unsigned int _n, float * _p); void polyf_findroots(float * _poly, unsigned int _n, liquid_float_complex * _roots); void polyf_findroots_durandkerner(float * _p, unsigned int _k, liquid_float_complex * _roots); void polyf_findroots_bairstow(float * _p, unsigned int _k, liquid_float_complex * _roots); void polyf_mul(float * _a, unsigned int _order_a, float * _b, unsigned int _order_b, float * _c);
  2427.  
  2428.  
  2429.  
  2430. liquid_double_complex polyc_val(liquid_double_complex * _p, unsigned int _k, liquid_double_complex _x); void polyc_fit(liquid_double_complex * _x, liquid_double_complex * _y, unsigned int _n, liquid_double_complex * _p, unsigned int _k); void polyc_fit_lagrange(liquid_double_complex * _x, liquid_double_complex * _y, unsigned int _n, liquid_double_complex * _p); liquid_double_complex polyc_interp_lagrange(liquid_double_complex * _x, liquid_double_complex * _y, unsigned int _n, liquid_double_complex _x0); void polyc_fit_lagrange_barycentric(liquid_double_complex * _x, unsigned int _n, liquid_double_complex * _w); liquid_double_complex polyc_val_lagrange_barycentric(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _w, liquid_double_complex _x0, unsigned int _n); void polyc_expandbinomial(unsigned int _n, liquid_double_complex * _p); void polyc_expandbinomial_pm(unsigned int _m, unsigned int _k, liquid_double_complex * _p); void polyc_expandroots(liquid_double_complex * _r, unsigned int _n, liquid_double_complex * _p); void polyc_expandroots2(liquid_double_complex * _a, liquid_double_complex * _b, unsigned int _n, liquid_double_complex * _p); void polyc_findroots(liquid_double_complex * _poly, unsigned int _n, liquid_double_complex * _roots); void polyc_findroots_durandkerner(liquid_double_complex * _p, unsigned int _k, liquid_double_complex * _roots); void polyc_findroots_bairstow(liquid_double_complex * _p, unsigned int _k, liquid_double_complex * _roots); void polyc_mul(liquid_double_complex * _a, unsigned int _order_a, liquid_double_complex * _b, unsigned int _order_b, liquid_double_complex * _c);
  2431.  
  2432.  
  2433.  
  2434. liquid_float_complex polycf_val(liquid_float_complex * _p, unsigned int _k, liquid_float_complex _x); void polycf_fit(liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n, liquid_float_complex * _p, unsigned int _k); void polycf_fit_lagrange(liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n, liquid_float_complex * _p); liquid_float_complex polycf_interp_lagrange(liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n, liquid_float_complex _x0); void polycf_fit_lagrange_barycentric(liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _w); liquid_float_complex polycf_val_lagrange_barycentric(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _w, liquid_float_complex _x0, unsigned int _n); void polycf_expandbinomial(unsigned int _n, liquid_float_complex * _p); void polycf_expandbinomial_pm(unsigned int _m, unsigned int _k, liquid_float_complex * _p); void polycf_expandroots(liquid_float_complex * _r, unsigned int _n, liquid_float_complex * _p); void polycf_expandroots2(liquid_float_complex * _a, liquid_float_complex * _b, unsigned int _n, liquid_float_complex * _p); void polycf_findroots(liquid_float_complex * _poly, unsigned int _n, liquid_float_complex * _roots); void polycf_findroots_durandkerner(liquid_float_complex * _p, unsigned int _k, liquid_float_complex * _roots); void polycf_findroots_bairstow(liquid_float_complex * _p, unsigned int _k, liquid_float_complex * _roots); void polycf_mul(liquid_float_complex * _a, unsigned int _order_a, liquid_float_complex * _b, unsigned int _order_b, liquid_float_complex * _c);
  2435. # 6191 "include\\liquid.h"
  2436. int liquid_is_prime(unsigned int _n);
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442. void liquid_factor(unsigned int _n,
  2443.                    unsigned int * _factors,
  2444.                    unsigned int * _num_factors);
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450. void liquid_unique_factor(unsigned int _n,
  2451.                           unsigned int * _factors,
  2452.                           unsigned int * _num_factors);
  2453.  
  2454.  
  2455. unsigned int liquid_gcd(unsigned int _P,
  2456.                         unsigned int _Q);
  2457.  
  2458.  
  2459. unsigned int liquid_modpow(unsigned int _base,
  2460.                            unsigned int _exp,
  2461.                            unsigned int _n);
  2462.  
  2463.  
  2464. unsigned int liquid_primitive_root(unsigned int _n);
  2465.  
  2466.  
  2467. unsigned int liquid_primitive_root_prime(unsigned int _n);
  2468.  
  2469.  
  2470. unsigned int liquid_totient(unsigned int _n);
  2471. # 6578 "include\\liquid.h"
  2472. void matrixf_print(float * _x, unsigned int _r, unsigned int _c); void matrixf_add(float * _x, float * _y, float * _z, unsigned int _r, unsigned int _c); void matrixf_sub(float * _x, float * _y, float * _z, unsigned int _r, unsigned int _c); void matrixf_pmul(float * _x, float * _y, float * _z, unsigned int _r, unsigned int _c); void matrixf_pdiv(float * _x, float * _y, float * _z, unsigned int _r, unsigned int _c); void matrixf_mul(float * _x, unsigned int _rx, unsigned int _cx, float * _y, unsigned int _ry, unsigned int _cy, float * _z, unsigned int _rz, unsigned int _cz); void matrixf_div(float * _x, float * _y, float * _z, unsigned int _n); float matrixf_det(float * _x, unsigned int _r, unsigned int _c); void matrixf_trans(float * _x, unsigned int _r, unsigned int _c); void matrixf_hermitian(float * _x, unsigned int _r, unsigned int _c); void matrixf_mul_transpose(float * _x, unsigned int _m, unsigned int _n, float * _xxT); void matrixf_transpose_mul(float * _x, unsigned int _m, unsigned int _n, float * _xTx); void matrixf_mul_hermitian(float * _x, unsigned int _m, unsigned int _n, float * _xxH); void matrixf_hermitian_mul(float * _x, unsigned int _m, unsigned int _n, float * _xHx); void matrixf_aug(float * _x, unsigned int _rx, unsigned int _cx, float * _y, unsigned int _ry, unsigned int _cy, float * _z, unsigned int _rz, unsigned int _cz); void matrixf_inv(float * _x, unsigned int _r, unsigned int _c); void matrixf_eye(float * _x, unsigned int _n); void matrixf_ones(float * _x, unsigned int _r, unsigned int _c); void matrixf_zeros(float * _x, unsigned int _r, unsigned int _c); void matrixf_gjelim(float * _x, unsigned int _r, unsigned int _c); void matrixf_pivot(float * _x, unsigned int _r, unsigned int _c, unsigned int _i, unsigned int _j); void matrixf_swaprows(float * _x, unsigned int _r, unsigned int _c, unsigned int _r1, unsigned int _r2); void matrixf_linsolve(float * _A, unsigned int _n, float * _b, float * _x, void * _opts); void matrixf_cgsolve(float * _A, unsigned int _n, float * _b, float * _x, void * _opts); void matrixf_ludecomp_crout(float * _x, unsigned int _rx, unsigned int _cx, float * _L, float * _U, float * _P); void matrixf_ludecomp_doolittle(float * _x, unsigned int _rx, unsigned int _cx, float * _L, float * _U, float * _P); void matrixf_gramschmidt(float * _A, unsigned int _r, unsigned int _c, float * _v); void matrixf_qrdecomp_gramschmidt(float * _A, unsigned int _m, unsigned int _n, float * _Q, float * _R); void matrixf_chol(float * _A, unsigned int _n, float * _L);
  2473. void matrix_print(double * _x, unsigned int _r, unsigned int _c); void matrix_add(double * _x, double * _y, double * _z, unsigned int _r, unsigned int _c); void matrix_sub(double * _x, double * _y, double * _z, unsigned int _r, unsigned int _c); void matrix_pmul(double * _x, double * _y, double * _z, unsigned int _r, unsigned int _c); void matrix_pdiv(double * _x, double * _y, double * _z, unsigned int _r, unsigned int _c); void matrix_mul(double * _x, unsigned int _rx, unsigned int _cx, double * _y, unsigned int _ry, unsigned int _cy, double * _z, unsigned int _rz, unsigned int _cz); void matrix_div(double * _x, double * _y, double * _z, unsigned int _n); double matrix_det(double * _x, unsigned int _r, unsigned int _c); void matrix_trans(double * _x, unsigned int _r, unsigned int _c); void matrix_hermitian(double * _x, unsigned int _r, unsigned int _c); void matrix_mul_transpose(double * _x, unsigned int _m, unsigned int _n, double * _xxT); void matrix_transpose_mul(double * _x, unsigned int _m, unsigned int _n, double * _xTx); void matrix_mul_hermitian(double * _x, unsigned int _m, unsigned int _n, double * _xxH); void matrix_hermitian_mul(double * _x, unsigned int _m, unsigned int _n, double * _xHx); void matrix_aug(double * _x, unsigned int _rx, unsigned int _cx, double * _y, unsigned int _ry, unsigned int _cy, double * _z, unsigned int _rz, unsigned int _cz); void matrix_inv(double * _x, unsigned int _r, unsigned int _c); void matrix_eye(double * _x, unsigned int _n); void matrix_ones(double * _x, unsigned int _r, unsigned int _c); void matrix_zeros(double * _x, unsigned int _r, unsigned int _c); void matrix_gjelim(double * _x, unsigned int _r, unsigned int _c); void matrix_pivot(double * _x, unsigned int _r, unsigned int _c, unsigned int _i, unsigned int _j); void matrix_swaprows(double * _x, unsigned int _r, unsigned int _c, unsigned int _r1, unsigned int _r2); void matrix_linsolve(double * _A, unsigned int _n, double * _b, double * _x, void * _opts); void matrix_cgsolve(double * _A, unsigned int _n, double * _b, double * _x, void * _opts); void matrix_ludecomp_crout(double * _x, unsigned int _rx, unsigned int _cx, double * _L, double * _U, double * _P); void matrix_ludecomp_doolittle(double * _x, unsigned int _rx, unsigned int _cx, double * _L, double * _U, double * _P); void matrix_gramschmidt(double * _A, unsigned int _r, unsigned int _c, double * _v); void matrix_qrdecomp_gramschmidt(double * _A, unsigned int _m, unsigned int _n, double * _Q, double * _R); void matrix_chol(double * _A, unsigned int _n, double * _L);
  2474.  
  2475. void matrixcf_print(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_add(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _z, unsigned int _r, unsigned int _c); void matrixcf_sub(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _z, unsigned int _r, unsigned int _c); void matrixcf_pmul(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _z, unsigned int _r, unsigned int _c); void matrixcf_pdiv(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _z, unsigned int _r, unsigned int _c); void matrixcf_mul(liquid_float_complex * _x, unsigned int _rx, unsigned int _cx, liquid_float_complex * _y, unsigned int _ry, unsigned int _cy, liquid_float_complex * _z, unsigned int _rz, unsigned int _cz); void matrixcf_div(liquid_float_complex * _x, liquid_float_complex * _y, liquid_float_complex * _z, unsigned int _n); liquid_float_complex matrixcf_det(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_trans(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_hermitian(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_mul_transpose(liquid_float_complex * _x, unsigned int _m, unsigned int _n, liquid_float_complex * _xxT); void matrixcf_transpose_mul(liquid_float_complex * _x, unsigned int _m, unsigned int _n, liquid_float_complex * _xTx); void matrixcf_mul_hermitian(liquid_float_complex * _x, unsigned int _m, unsigned int _n, liquid_float_complex * _xxH); void matrixcf_hermitian_mul(liquid_float_complex * _x, unsigned int _m, unsigned int _n, liquid_float_complex * _xHx); void matrixcf_aug(liquid_float_complex * _x, unsigned int _rx, unsigned int _cx, liquid_float_complex * _y, unsigned int _ry, unsigned int _cy, liquid_float_complex * _z, unsigned int _rz, unsigned int _cz); void matrixcf_inv(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_eye(liquid_float_complex * _x, unsigned int _n); void matrixcf_ones(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_zeros(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_gjelim(liquid_float_complex * _x, unsigned int _r, unsigned int _c); void matrixcf_pivot(liquid_float_complex * _x, unsigned int _r, unsigned int _c, unsigned int _i, unsigned int _j); void matrixcf_swaprows(liquid_float_complex * _x, unsigned int _r, unsigned int _c, unsigned int _r1, unsigned int _r2); void matrixcf_linsolve(liquid_float_complex * _A, unsigned int _n, liquid_float_complex * _b, liquid_float_complex * _x, void * _opts); void matrixcf_cgsolve(liquid_float_complex * _A, unsigned int _n, liquid_float_complex * _b, liquid_float_complex * _x, void * _opts); void matrixcf_ludecomp_crout(liquid_float_complex * _x, unsigned int _rx, unsigned int _cx, liquid_float_complex * _L, liquid_float_complex * _U, liquid_float_complex * _P); void matrixcf_ludecomp_doolittle(liquid_float_complex * _x, unsigned int _rx, unsigned int _cx, liquid_float_complex * _L, liquid_float_complex * _U, liquid_float_complex * _P); void matrixcf_gramschmidt(liquid_float_complex * _A, unsigned int _r, unsigned int _c, liquid_float_complex * _v); void matrixcf_qrdecomp_gramschmidt(liquid_float_complex * _A, unsigned int _m, unsigned int _n, liquid_float_complex * _Q, liquid_float_complex * _R); void matrixcf_chol(liquid_float_complex * _A, unsigned int _n, liquid_float_complex * _L);
  2476. void matrixc_print(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_add(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _z, unsigned int _r, unsigned int _c); void matrixc_sub(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _z, unsigned int _r, unsigned int _c); void matrixc_pmul(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _z, unsigned int _r, unsigned int _c); void matrixc_pdiv(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _z, unsigned int _r, unsigned int _c); void matrixc_mul(liquid_double_complex * _x, unsigned int _rx, unsigned int _cx, liquid_double_complex * _y, unsigned int _ry, unsigned int _cy, liquid_double_complex * _z, unsigned int _rz, unsigned int _cz); void matrixc_div(liquid_double_complex * _x, liquid_double_complex * _y, liquid_double_complex * _z, unsigned int _n); liquid_double_complex matrixc_det(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_trans(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_hermitian(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_mul_transpose(liquid_double_complex * _x, unsigned int _m, unsigned int _n, liquid_double_complex * _xxT); void matrixc_transpose_mul(liquid_double_complex * _x, unsigned int _m, unsigned int _n, liquid_double_complex * _xTx); void matrixc_mul_hermitian(liquid_double_complex * _x, unsigned int _m, unsigned int _n, liquid_double_complex * _xxH); void matrixc_hermitian_mul(liquid_double_complex * _x, unsigned int _m, unsigned int _n, liquid_double_complex * _xHx); void matrixc_aug(liquid_double_complex * _x, unsigned int _rx, unsigned int _cx, liquid_double_complex * _y, unsigned int _ry, unsigned int _cy, liquid_double_complex * _z, unsigned int _rz, unsigned int _cz); void matrixc_inv(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_eye(liquid_double_complex * _x, unsigned int _n); void matrixc_ones(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_zeros(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_gjelim(liquid_double_complex * _x, unsigned int _r, unsigned int _c); void matrixc_pivot(liquid_double_complex * _x, unsigned int _r, unsigned int _c, unsigned int _i, unsigned int _j); void matrixc_swaprows(liquid_double_complex * _x, unsigned int _r, unsigned int _c, unsigned int _r1, unsigned int _r2); void matrixc_linsolve(liquid_double_complex * _A, unsigned int _n, liquid_double_complex * _b, liquid_double_complex * _x, void * _opts); void matrixc_cgsolve(liquid_double_complex * _A, unsigned int _n, liquid_double_complex * _b, liquid_double_complex * _x, void * _opts); void matrixc_ludecomp_crout(liquid_double_complex * _x, unsigned int _rx, unsigned int _cx, liquid_double_complex * _L, liquid_double_complex * _U, liquid_double_complex * _P); void matrixc_ludecomp_doolittle(liquid_double_complex * _x, unsigned int _rx, unsigned int _cx, liquid_double_complex * _L, liquid_double_complex * _U, liquid_double_complex * _P); void matrixc_gramschmidt(liquid_double_complex * _A, unsigned int _r, unsigned int _c, liquid_double_complex * _v); void matrixc_qrdecomp_gramschmidt(liquid_double_complex * _A, unsigned int _m, unsigned int _n, liquid_double_complex * _Q, liquid_double_complex * _R); void matrixc_chol(liquid_double_complex * _A, unsigned int _n, liquid_double_complex * _L);
  2477. # 6698 "include\\liquid.h"
  2478. typedef struct smatrixb_s * smatrixb; smatrixb smatrixb_create(unsigned int _M, unsigned int _N); smatrixb smatrixb_create_array(unsigned char * _x, unsigned int _m, unsigned int _n); void smatrixb_destroy(smatrixb _q); void smatrixb_print(smatrixb _q); void smatrixb_print_expanded(smatrixb _q); void smatrixb_size(smatrixb _q, unsigned int * _m, unsigned int * _n); void smatrixb_clear(smatrixb _q); void smatrixb_reset(smatrixb _q); int smatrixb_isset(smatrixb _q, unsigned int _m, unsigned int _n); void smatrixb_insert(smatrixb _q, unsigned int _m, unsigned int _n, unsigned char _v); void smatrixb_delete(smatrixb _q, unsigned int _m, unsigned int _n); void smatrixb_set(smatrixb _q, unsigned int _m, unsigned int _n, unsigned char _v); unsigned char smatrixb_get(smatrixb _q, unsigned int _m, unsigned int _n); void smatrixb_eye(smatrixb _q); void smatrixb_mul(smatrixb _x, smatrixb _y, smatrixb _z); void smatrixb_vmul(smatrixb _q, unsigned char * _x, unsigned char * _y);
  2479. typedef struct smatrixf_s * smatrixf; smatrixf smatrixf_create(unsigned int _M, unsigned int _N); smatrixf smatrixf_create_array(float * _x, unsigned int _m, unsigned int _n); void smatrixf_destroy(smatrixf _q); void smatrixf_print(smatrixf _q); void smatrixf_print_expanded(smatrixf _q); void smatrixf_size(smatrixf _q, unsigned int * _m, unsigned int * _n); void smatrixf_clear(smatrixf _q); void smatrixf_reset(smatrixf _q); int smatrixf_isset(smatrixf _q, unsigned int _m, unsigned int _n); void smatrixf_insert(smatrixf _q, unsigned int _m, unsigned int _n, float _v); void smatrixf_delete(smatrixf _q, unsigned int _m, unsigned int _n); void smatrixf_set(smatrixf _q, unsigned int _m, unsigned int _n, float _v); float smatrixf_get(smatrixf _q, unsigned int _m, unsigned int _n); void smatrixf_eye(smatrixf _q); void smatrixf_mul(smatrixf _x, smatrixf _y, smatrixf _z); void smatrixf_vmul(smatrixf _q, float * _x, float * _y);
  2480. typedef struct smatrixi_s * smatrixi; smatrixi smatrixi_create(unsigned int _M, unsigned int _N); smatrixi smatrixi_create_array(short int * _x, unsigned int _m, unsigned int _n); void smatrixi_destroy(smatrixi _q); void smatrixi_print(smatrixi _q); void smatrixi_print_expanded(smatrixi _q); void smatrixi_size(smatrixi _q, unsigned int * _m, unsigned int * _n); void smatrixi_clear(smatrixi _q); void smatrixi_reset(smatrixi _q); int smatrixi_isset(smatrixi _q, unsigned int _m, unsigned int _n); void smatrixi_insert(smatrixi _q, unsigned int _m, unsigned int _n, short int _v); void smatrixi_delete(smatrixi _q, unsigned int _m, unsigned int _n); void smatrixi_set(smatrixi _q, unsigned int _m, unsigned int _n, short int _v); short int smatrixi_get(smatrixi _q, unsigned int _m, unsigned int _n); void smatrixi_eye(smatrixi _q); void smatrixi_mul(smatrixi _x, smatrixi _y, smatrixi _z); void smatrixi_vmul(smatrixi _q, short int * _x, short int * _y);
  2481. # 6710 "include\\liquid.h"
  2482. void smatrixb_mulf(smatrixb _A,
  2483.                    float * _x,
  2484.                    unsigned int _mx,
  2485.                    unsigned int _nx,
  2486.                    float * _y,
  2487.                    unsigned int _my,
  2488.                    unsigned int _ny);
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494. void smatrixb_vmulf(smatrixb _q,
  2495.                     float * _x,
  2496.                     float * _y);
  2497. # 6737 "include\\liquid.h"
  2498. typedef enum {
  2499.     LIQUID_MODEM_UNKNOWN=0,
  2500.  
  2501.  
  2502.     LIQUID_MODEM_PSK2, LIQUID_MODEM_PSK4,
  2503.     LIQUID_MODEM_PSK8, LIQUID_MODEM_PSK16,
  2504.     LIQUID_MODEM_PSK32, LIQUID_MODEM_PSK64,
  2505.     LIQUID_MODEM_PSK128, LIQUID_MODEM_PSK256,
  2506.  
  2507.  
  2508.     LIQUID_MODEM_DPSK2, LIQUID_MODEM_DPSK4,
  2509.     LIQUID_MODEM_DPSK8, LIQUID_MODEM_DPSK16,
  2510.     LIQUID_MODEM_DPSK32, LIQUID_MODEM_DPSK64,
  2511.     LIQUID_MODEM_DPSK128, LIQUID_MODEM_DPSK256,
  2512.  
  2513.  
  2514.     LIQUID_MODEM_ASK2, LIQUID_MODEM_ASK4,
  2515.     LIQUID_MODEM_ASK8, LIQUID_MODEM_ASK16,
  2516.     LIQUID_MODEM_ASK32, LIQUID_MODEM_ASK64,
  2517.     LIQUID_MODEM_ASK128, LIQUID_MODEM_ASK256,
  2518.  
  2519.  
  2520.     LIQUID_MODEM_QAM4,
  2521.     LIQUID_MODEM_QAM8, LIQUID_MODEM_QAM16,
  2522.     LIQUID_MODEM_QAM32, LIQUID_MODEM_QAM64,
  2523.     LIQUID_MODEM_QAM128, LIQUID_MODEM_QAM256,
  2524.  
  2525.  
  2526.     LIQUID_MODEM_APSK4,
  2527.     LIQUID_MODEM_APSK8, LIQUID_MODEM_APSK16,
  2528.     LIQUID_MODEM_APSK32, LIQUID_MODEM_APSK64,
  2529.     LIQUID_MODEM_APSK128, LIQUID_MODEM_APSK256,
  2530.  
  2531.  
  2532.     LIQUID_MODEM_BPSK,
  2533.     LIQUID_MODEM_QPSK,
  2534.     LIQUID_MODEM_OOK,
  2535.     LIQUID_MODEM_SQAM32,
  2536.     LIQUID_MODEM_SQAM128,
  2537.     LIQUID_MODEM_V29,
  2538.     LIQUID_MODEM_ARB16OPT,
  2539.     LIQUID_MODEM_ARB32OPT,
  2540.     LIQUID_MODEM_ARB64OPT,
  2541.     LIQUID_MODEM_ARB128OPT,
  2542.     LIQUID_MODEM_ARB256OPT,
  2543.     LIQUID_MODEM_ARB64VT,
  2544.  
  2545.  
  2546.     LIQUID_MODEM_ARB
  2547. } modulation_scheme;
  2548.  
  2549.  
  2550. struct modulation_type_s {
  2551.     const char * name;
  2552.     const char * fullname;
  2553.     modulation_scheme scheme;
  2554.     unsigned int bps;
  2555. };
  2556.  
  2557.  
  2558. extern const struct modulation_type_s modulation_types[(52)];
  2559.  
  2560.  
  2561. void liquid_print_modulation_schemes();
  2562.  
  2563.  
  2564. modulation_scheme liquid_getopt_str2mod(const char * _str);
  2565.  
  2566.  
  2567. int liquid_modem_is_psk(modulation_scheme _ms);
  2568. int liquid_modem_is_dpsk(modulation_scheme _ms);
  2569. int liquid_modem_is_ask(modulation_scheme _ms);
  2570. int liquid_modem_is_qam(modulation_scheme _ms);
  2571. int liquid_modem_is_apsk(modulation_scheme _ms);
  2572.  
  2573.  
  2574.  
  2575.  
  2576. unsigned int count_bit_errors(unsigned int _s1, unsigned int _s2);
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582. unsigned int count_bit_errors_array(unsigned char * _msg0,
  2583.                                     unsigned char * _msg1,
  2584.                                     unsigned int _n);
  2585.  
  2586.  
  2587.  
  2588. unsigned int gray_encode(unsigned int symbol_in);
  2589.  
  2590.  
  2591. unsigned int gray_decode(unsigned int symbol_in);
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597. void liquid_pack_soft_bits(unsigned char * _soft_bits,
  2598.                            unsigned int _bps,
  2599.                            unsigned int * _sym_out);
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605. void liquid_unpack_soft_bits(unsigned int _sym_in,
  2606.                              unsigned int _bps,
  2607.                              unsigned char * _soft_bits);
  2608. # 6952 "include\\liquid.h"
  2609. typedef struct modem_s * modem; modem modem_create(modulation_scheme _scheme); modem modem_create_arbitrary(liquid_float_complex * _table, unsigned int _M); modem modem_recreate(modem _q, modulation_scheme _scheme); void modem_destroy(modem _q); void modem_print(modem _q); void modem_reset(modem _q); unsigned int modem_gen_rand_sym(modem _q); unsigned int modem_get_bps(modem _q); modulation_scheme modem_get_scheme(modem _q); void modem_modulate(modem _q, unsigned int _s, liquid_float_complex * _y); void modem_demodulate(modem _q, liquid_float_complex _x, unsigned int * _s); void modem_demodulate_soft(modem _q, liquid_float_complex _x, unsigned int * _s, unsigned char * _soft_bits); void modem_get_demodulator_sample(modem _q, liquid_float_complex * _x_hat); float modem_get_demodulator_phase_error(modem _q); float modem_get_demodulator_evm(modem _q);
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617. typedef struct gmskmod_s * gmskmod;
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623. gmskmod gmskmod_create(unsigned int _k,
  2624.                        unsigned int _m,
  2625.                        float _BT);
  2626. void gmskmod_destroy(gmskmod _q);
  2627. void gmskmod_print(gmskmod _q);
  2628. void gmskmod_reset(gmskmod _q);
  2629. void gmskmod_modulate(gmskmod _q,
  2630.                       unsigned int _sym,
  2631.                       liquid_float_complex * _y);
  2632.  
  2633.  
  2634.  
  2635. typedef struct gmskdem_s * gmskdem;
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641. gmskdem gmskdem_create(unsigned int _k,
  2642.                        unsigned int _m,
  2643.                        float _BT);
  2644. void gmskdem_destroy(gmskdem _q);
  2645. void gmskdem_print(gmskdem _q);
  2646. void gmskdem_reset(gmskdem _q);
  2647. void gmskdem_set_eq_bw(gmskdem _q, float _bw);
  2648. void gmskdem_demodulate(gmskdem _q,
  2649.                         liquid_float_complex * _y,
  2650.                         unsigned int * _sym);
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657. typedef enum {
  2658.     LIQUID_CPFSK_SQUARE=0,
  2659.     LIQUID_CPFSK_RCOS_FULL,
  2660.     LIQUID_CPFSK_RCOS_PARTIAL,
  2661.     LIQUID_CPFSK_GMSK,
  2662. } liquid_cpfsk_filter;
  2663.  
  2664.  
  2665. typedef struct cpfskmod_s * cpfskmod;
  2666. # 7017 "include\\liquid.h"
  2667. cpfskmod cpfskmod_create(unsigned int _bps,
  2668.                          float _h,
  2669.                          unsigned int _k,
  2670.                          unsigned int _m,
  2671.                          float _beta,
  2672.                          int _type);
  2673.  
  2674.  
  2675.  
  2676.  
  2677. void cpfskmod_destroy(cpfskmod _q);
  2678.  
  2679.  
  2680. void cpfskmod_print(cpfskmod _q);
  2681.  
  2682.  
  2683. void cpfskmod_reset(cpfskmod _q);
  2684.  
  2685.  
  2686. unsigned int cpfskmod_get_delay(cpfskmod _q);
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692. void cpfskmod_modulate(cpfskmod _q,
  2693.                        unsigned int _s,
  2694.                        liquid_float_complex * _y);
  2695.  
  2696.  
  2697.  
  2698.  
  2699. typedef struct cpfskdem_s * cpfskdem;
  2700. # 7058 "include\\liquid.h"
  2701. cpfskdem cpfskdem_create(unsigned int _bps,
  2702.                          float _h,
  2703.                          unsigned int _k,
  2704.                          unsigned int _m,
  2705.                          float _beta,
  2706.                          int _type);
  2707.  
  2708.  
  2709.  
  2710.  
  2711. void cpfskdem_destroy(cpfskdem _q);
  2712.  
  2713.  
  2714. void cpfskdem_print(cpfskdem _q);
  2715.  
  2716.  
  2717. void cpfskdem_reset(cpfskdem _q);
  2718.  
  2719.  
  2720. unsigned int cpfskdem_get_delay(cpfskdem _q);
  2721. # 7095 "include\\liquid.h"
  2722. unsigned int cpfskdem_demodulate(cpfskdem _q,
  2723.                                  liquid_float_complex * _y);
  2724. # 7106 "include\\liquid.h"
  2725. typedef struct fskmod_s * fskmod;
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731. fskmod fskmod_create(unsigned int _m,
  2732.                      unsigned int _k,
  2733.                      float _bandwidth);
  2734.  
  2735.  
  2736. void fskmod_destroy(fskmod _q);
  2737.  
  2738.  
  2739. void fskmod_print(fskmod _q);
  2740.  
  2741.  
  2742. void fskmod_reset(fskmod _q);
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748. void fskmod_modulate(fskmod _q,
  2749.                      unsigned int _s,
  2750.                      liquid_float_complex * _y);
  2751.  
  2752.  
  2753.  
  2754.  
  2755. typedef struct fskdem_s * fskdem;
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761. fskdem fskdem_create(unsigned int _m,
  2762.                      unsigned int _k,
  2763.                      float _bandwidth);
  2764.  
  2765.  
  2766. void fskdem_destroy(fskdem _q);
  2767.  
  2768.  
  2769. void fskdem_print(fskdem _q);
  2770.  
  2771.  
  2772. void fskdem_reset(fskdem _q);
  2773.  
  2774.  
  2775.  
  2776.  
  2777. unsigned int fskdem_demodulate(fskdem _q,
  2778.                                liquid_float_complex * _y);
  2779.  
  2780.  
  2781. float fskdem_get_frequency_error(fskdem _q);
  2782.  
  2783.  
  2784. float fskdem_get_symbol_energy(fskdem _q,
  2785.                                unsigned int _s,
  2786.                                unsigned int _range);
  2787. # 7217 "include\\liquid.h"
  2788. typedef struct freqmod_s * freqmod; freqmod freqmod_create(float _kf); void freqmod_destroy(freqmod _q); void freqmod_print(freqmod _q); void freqmod_reset(freqmod _q); void freqmod_modulate(freqmod _q, float _m, liquid_float_complex * _s); void freqmod_modulate_block(freqmod _q, float * _m, unsigned int _n, liquid_float_complex * _s);
  2789. # 7264 "include\\liquid.h"
  2790. typedef struct freqdem_s * freqdem; freqdem freqdem_create(float _kf); void freqdem_destroy(freqdem _q); void freqdem_print(freqdem _q); void freqdem_reset(freqdem _q); void freqdem_demodulate(freqdem _q, liquid_float_complex _r, float * _m); void freqdem_demodulate_block(freqdem _q, liquid_float_complex * _r, unsigned int _n, float * _m);
  2791.  
  2792.  
  2793.  
  2794.  
  2795. typedef enum {
  2796.     LIQUID_AMPMODEM_DSB=0,
  2797.     LIQUID_AMPMODEM_USB,
  2798.     LIQUID_AMPMODEM_LSB
  2799. } liquid_ampmodem_type;
  2800.  
  2801. typedef struct ampmodem_s * ampmodem;
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807. ampmodem ampmodem_create(float _mod_index,
  2808.                          liquid_ampmodem_type _type,
  2809.                          int _suppressed_carrier);
  2810.  
  2811.  
  2812. void ampmodem_destroy(ampmodem _q);
  2813.  
  2814.  
  2815. void ampmodem_print(ampmodem _q);
  2816.  
  2817.  
  2818. void ampmodem_reset(ampmodem _q);
  2819.  
  2820.  
  2821. unsigned int ampmodem_get_delay_mod (ampmodem _q);
  2822. unsigned int ampmodem_get_delay_demod(ampmodem _q);
  2823.  
  2824.  
  2825. void ampmodem_modulate(ampmodem _q,
  2826.                        float _x,
  2827.                        liquid_float_complex * _y);
  2828.  
  2829. void ampmodem_modulate_block(ampmodem _q,
  2830.                              float * _m,
  2831.                              unsigned int _n,
  2832.                              liquid_float_complex * _s);
  2833.  
  2834.  
  2835. void ampmodem_demodulate(ampmodem _q,
  2836.                          liquid_float_complex _y,
  2837.                          float * _x);
  2838.  
  2839. void ampmodem_demodulate_block(ampmodem _q,
  2840.                                liquid_float_complex * _r,
  2841.                                unsigned int _n,
  2842.                                float * _m);
  2843. # 7406 "include\\liquid.h"
  2844. typedef struct firpfbch_crcf_s * firpfbch_crcf; firpfbch_crcf firpfbch_crcf_create(int _type, unsigned int _M, unsigned int _p, float * _h); firpfbch_crcf firpfbch_crcf_create_kaiser(int _type, unsigned int _M, unsigned int _m, float _As); firpfbch_crcf firpfbch_crcf_create_rnyquist(int _type, unsigned int _M, unsigned int _m, float _beta, int _ftype); void firpfbch_crcf_destroy(firpfbch_crcf _q); void firpfbch_crcf_reset(firpfbch_crcf _q); void firpfbch_crcf_print(firpfbch_crcf _q); void firpfbch_crcf_synthesizer_execute(firpfbch_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y); void firpfbch_crcf_analyzer_execute(firpfbch_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  2845.  
  2846.  
  2847.  
  2848.  
  2849. typedef struct firpfbch_cccf_s * firpfbch_cccf; firpfbch_cccf firpfbch_cccf_create(int _type, unsigned int _M, unsigned int _p, liquid_float_complex * _h); firpfbch_cccf firpfbch_cccf_create_kaiser(int _type, unsigned int _M, unsigned int _m, float _As); firpfbch_cccf firpfbch_cccf_create_rnyquist(int _type, unsigned int _M, unsigned int _m, float _beta, int _ftype); void firpfbch_cccf_destroy(firpfbch_cccf _q); void firpfbch_cccf_reset(firpfbch_cccf _q); void firpfbch_cccf_print(firpfbch_cccf _q); void firpfbch_cccf_synthesizer_execute(firpfbch_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y); void firpfbch_cccf_analyzer_execute(firpfbch_cccf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  2850. # 7471 "include\\liquid.h"
  2851. typedef struct firpfbch2_crcf_s * firpfbch2_crcf; firpfbch2_crcf firpfbch2_crcf_create(int _type, unsigned int _M, unsigned int _m, float * _h); firpfbch2_crcf firpfbch2_crcf_create_kaiser(int _type, unsigned int _M, unsigned int _m, float _As); void firpfbch2_crcf_destroy(firpfbch2_crcf _q); void firpfbch2_crcf_reset(firpfbch2_crcf _q); void firpfbch2_crcf_print(firpfbch2_crcf _q); void firpfbch2_crcf_execute(firpfbch2_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y);
  2852. # 7540 "include\\liquid.h"
  2853. typedef struct firpfbchr_crcf_s * firpfbchr_crcf; firpfbchr_crcf firpfbchr_crcf_create(unsigned int _M, unsigned int _P, unsigned int _m, float * _h); firpfbchr_crcf firpfbchr_crcf_create_kaiser(unsigned int _M, unsigned int _P, unsigned int _m, float _As); void firpfbchr_crcf_destroy(firpfbchr_crcf _q); void firpfbchr_crcf_reset(firpfbchr_crcf _q); void firpfbchr_crcf_print(firpfbchr_crcf _q); unsigned int firpfbchr_crcf_get_M(firpfbchr_crcf _q); unsigned int firpfbchr_crcf_get_P(firpfbchr_crcf _q); unsigned int firpfbchr_crcf_get_m(firpfbchr_crcf _q); void firpfbchr_crcf_push(firpfbchr_crcf _q, liquid_float_complex * _x); void firpfbchr_crcf_execute(firpfbchr_crcf _q, liquid_float_complex * _y);
  2854. # 7554 "include\\liquid.h"
  2855. void ofdmframe_init_default_sctype(unsigned int _M,
  2856.                                    unsigned char * _p);
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863. void ofdmframe_init_sctype_range(unsigned int _M,
  2864.                                  float _f0,
  2865.                                  float _f1,
  2866.                                  unsigned char * _p);
  2867. # 7574 "include\\liquid.h"
  2868. void ofdmframe_validate_sctype(unsigned char * _p,
  2869.                                unsigned int _M,
  2870.                                unsigned int * _M_null,
  2871.                                unsigned int * _M_pilot,
  2872.                                unsigned int * _M_data);
  2873.  
  2874.  
  2875.  
  2876.  
  2877. void ofdmframe_print_sctype(unsigned char * _p,
  2878.                             unsigned int _M);
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884. typedef struct ofdmframegen_s * ofdmframegen;
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891. ofdmframegen ofdmframegen_create(unsigned int _M,
  2892.                                  unsigned int _cp_len,
  2893.                                  unsigned int _taper_len,
  2894.                                  unsigned char * _p);
  2895.  
  2896. void ofdmframegen_destroy(ofdmframegen _q);
  2897.  
  2898. void ofdmframegen_print(ofdmframegen _q);
  2899.  
  2900. void ofdmframegen_reset(ofdmframegen _q);
  2901.  
  2902.  
  2903. void ofdmframegen_write_S0a(ofdmframegen _q,
  2904.                             liquid_float_complex *_y);
  2905.  
  2906.  
  2907. void ofdmframegen_write_S0b(ofdmframegen _q,
  2908.                             liquid_float_complex *_y);
  2909.  
  2910.  
  2911. void ofdmframegen_write_S1(ofdmframegen _q,
  2912.                            liquid_float_complex *_y);
  2913.  
  2914.  
  2915. void ofdmframegen_writesymbol(ofdmframegen _q,
  2916.                               liquid_float_complex * _x,
  2917.                               liquid_float_complex *_y);
  2918.  
  2919.  
  2920. void ofdmframegen_writetail(ofdmframegen _q,
  2921.                             liquid_float_complex * _x);
  2922.  
  2923.  
  2924.  
  2925.  
  2926. typedef int (*ofdmframesync_callback)(liquid_float_complex * _y,
  2927.                                       unsigned char * _p,
  2928.                                       unsigned int _M,
  2929.                                       void * _userdata);
  2930. typedef struct ofdmframesync_s * ofdmframesync;
  2931. # 7645 "include\\liquid.h"
  2932. ofdmframesync ofdmframesync_create(unsigned int _M,
  2933.                                    unsigned int _cp_len,
  2934.                                    unsigned int _taper_len,
  2935.                                    unsigned char * _p,
  2936.                                    ofdmframesync_callback _callback,
  2937.                                    void * _userdata);
  2938. void ofdmframesync_destroy(ofdmframesync _q);
  2939. void ofdmframesync_print(ofdmframesync _q);
  2940. void ofdmframesync_reset(ofdmframesync _q);
  2941. int ofdmframesync_is_frame_open(ofdmframesync _q);
  2942. void ofdmframesync_execute(ofdmframesync _q,
  2943.                            liquid_float_complex * _x,
  2944.                            unsigned int _n);
  2945.  
  2946.  
  2947. float ofdmframesync_get_rssi(ofdmframesync _q);
  2948. float ofdmframesync_get_cfo(ofdmframesync _q);
  2949.  
  2950.  
  2951. void ofdmframesync_set_cfo(ofdmframesync _q, float _cfo);
  2952.  
  2953.  
  2954. void ofdmframesync_debug_enable(ofdmframesync _q);
  2955. void ofdmframesync_debug_disable(ofdmframesync _q);
  2956. void ofdmframesync_debug_print(ofdmframesync _q, const char * _filename);
  2957. # 7679 "include\\liquid.h"
  2958. typedef enum {
  2959.     LIQUID_NCO=0,
  2960.     LIQUID_VCO
  2961. } liquid_ncotype;
  2962. # 7819 "include\\liquid.h"
  2963. typedef struct nco_crcf_s * nco_crcf; nco_crcf nco_crcf_create(liquid_ncotype _type); void nco_crcf_destroy(nco_crcf _q); void nco_crcf_print(nco_crcf _q); void nco_crcf_reset(nco_crcf _q); float nco_crcf_get_frequency(nco_crcf _q); void nco_crcf_set_frequency(nco_crcf _q, float _dtheta); void nco_crcf_adjust_frequency(nco_crcf _q, float _step); float nco_crcf_get_phase(nco_crcf _q); void nco_crcf_set_phase(nco_crcf _q, float _phi); void nco_crcf_adjust_phase(nco_crcf _q, float _dphi); void nco_crcf_step(nco_crcf _q); float nco_crcf_sin(nco_crcf _q); float nco_crcf_cos(nco_crcf _q); void nco_crcf_sincos(nco_crcf _q, float * _s, float * _c); void nco_crcf_cexpf(nco_crcf _q, liquid_float_complex * _y); void nco_crcf_pll_set_bandwidth(nco_crcf _q, float _bw); void nco_crcf_pll_step(nco_crcf _q, float _dphi); void nco_crcf_mix_up(nco_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void nco_crcf_mix_down(nco_crcf _q, liquid_float_complex _x, liquid_float_complex * _y); void nco_crcf_mix_block_up(nco_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n); void nco_crcf_mix_block_down(nco_crcf _q, liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n);
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969. void liquid_unwrap_phase(float * _theta, unsigned int _n);
  2970.  
  2971.  
  2972. void liquid_unwrap_phase2(float * _theta, unsigned int _n);
  2973. # 7896 "include\\liquid.h"
  2974. typedef struct synth_crcf_s * synth_crcf; synth_crcf synth_crcf_create(const liquid_float_complex *_table, unsigned int _length); void synth_crcf_destroy(synth_crcf _q); void synth_crcf_reset(synth_crcf _q); float synth_crcf_get_frequency( synth_crcf _q); void synth_crcf_set_frequency( synth_crcf _q, float _f); void synth_crcf_adjust_frequency(synth_crcf _q, float _df); float synth_crcf_get_phase( synth_crcf _q); void synth_crcf_set_phase( synth_crcf _q, float _phi); void synth_crcf_adjust_phase( synth_crcf _q, float _dphi); unsigned int synth_crcf_get_length(synth_crcf _q); liquid_float_complex synth_crcf_get_current(synth_crcf _q); liquid_float_complex synth_crcf_get_half_previous(synth_crcf _q); liquid_float_complex synth_crcf_get_half_next(synth_crcf _q); void synth_crcf_step(synth_crcf _q); void synth_crcf_pll_set_bandwidth(synth_crcf _q, float _bandwidth); void synth_crcf_pll_step(synth_crcf _q, float _dphi); void synth_crcf_mix_up(synth_crcf _q, liquid_float_complex _x, liquid_float_complex *_y); void synth_crcf_mix_down(synth_crcf _q, liquid_float_complex _x, liquid_float_complex *_y); void synth_crcf_mix_block_up(synth_crcf _q, liquid_float_complex *_x, liquid_float_complex *_y, unsigned int _N); void synth_crcf_mix_block_down(synth_crcf _q, liquid_float_complex *_x, liquid_float_complex *_y, unsigned int _N); void synth_crcf_spread(synth_crcf _q, liquid_float_complex _x, liquid_float_complex *_y); void synth_crcf_despread(synth_crcf _q, liquid_float_complex *_x, liquid_float_complex *_y); void synth_crcf_despread_triple(synth_crcf _q, liquid_float_complex *_x, liquid_float_complex *_early, liquid_float_complex *_punctual, liquid_float_complex *_late);
  2975. # 7905 "include\\liquid.h"
  2976. typedef float (*utility_function)(void * _userdata,
  2977.                                   float * _v,
  2978.                                   unsigned int _n);
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984. float liquid_rosenbrock(void * _userdata,
  2985.                         float * _v,
  2986.                         unsigned int _n);
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992. float liquid_invgauss(void * _userdata,
  2993.                       float * _v,
  2994.                       unsigned int _n);
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000. float liquid_multimodal(void * _userdata,
  3001.                         float * _v,
  3002.                         unsigned int _n);
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008. float liquid_spiral(void * _userdata,
  3009.                     float * _v,
  3010.                     unsigned int _n);
  3011. # 7949 "include\\liquid.h"
  3012. typedef struct gradsearch_s * gradsearch;
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020. gradsearch gradsearch_create(void * _userdata,
  3021.                              float * _v,
  3022.                              unsigned int _num_parameters,
  3023.                              utility_function _utility,
  3024.                              int _direction);
  3025.  
  3026.  
  3027. void gradsearch_destroy(gradsearch _q);
  3028.  
  3029.  
  3030. void gradsearch_print(gradsearch _q);
  3031.  
  3032.  
  3033. float gradsearch_step(gradsearch _q);
  3034.  
  3035.  
  3036. float gradsearch_execute(gradsearch _q,
  3037.                          unsigned int _max_iterations,
  3038.                          float _target_utility);
  3039.  
  3040.  
  3041.  
  3042. typedef struct qnsearch_s * qnsearch;
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050. qnsearch qnsearch_create(void * _userdata,
  3051.                          float * _v,
  3052.                          unsigned int _num_parameters,
  3053.                          utility_function _u,
  3054.                          int _direction);
  3055.  
  3056.  
  3057. void qnsearch_destroy(qnsearch _g);
  3058.  
  3059.  
  3060. void qnsearch_print(qnsearch _g);
  3061.  
  3062.  
  3063. void qnsearch_reset(qnsearch _g);
  3064.  
  3065.  
  3066. void qnsearch_step(qnsearch _g);
  3067.  
  3068.  
  3069. float qnsearch_execute(qnsearch _g,
  3070.                        unsigned int _max_iterations,
  3071.                        float _target_utility);
  3072.  
  3073.  
  3074.  
  3075.  
  3076. typedef struct chromosome_s * chromosome;
  3077.  
  3078.  
  3079. chromosome chromosome_create(unsigned int * _bits_per_trait,
  3080.                              unsigned int _num_traits);
  3081.  
  3082.  
  3083. chromosome chromosome_create_basic(unsigned int _num_traits,
  3084.                                    unsigned int _bits_per_trait);
  3085.  
  3086.  
  3087. chromosome chromosome_create_clone(chromosome _parent);
  3088.  
  3089.  
  3090.  
  3091. void chromosome_copy(chromosome _parent, chromosome _child);
  3092.  
  3093.  
  3094. void chromosome_destroy(chromosome _c);
  3095.  
  3096.  
  3097. unsigned int chromosome_get_num_traits(chromosome _c);
  3098.  
  3099.  
  3100. void chromosome_print(chromosome _c);
  3101.  
  3102.  
  3103. void chromosome_printf(chromosome _c);
  3104.  
  3105.  
  3106. void chromosome_reset(chromosome _c);
  3107.  
  3108.  
  3109. void chromosome_init(chromosome _c,
  3110.                      unsigned int * _v);
  3111.  
  3112.  
  3113. void chromosome_initf(chromosome _c,
  3114.                       float * _v);
  3115.  
  3116.  
  3117. void chromosome_mutate(chromosome _c, unsigned int _index);
  3118.  
  3119.  
  3120. void chromosome_crossover(chromosome _p1,
  3121.                           chromosome _p2,
  3122.                           chromosome _c,
  3123.                           unsigned int _threshold);
  3124.  
  3125.  
  3126. void chromosome_init_random(chromosome _c);
  3127.  
  3128.  
  3129. unsigned int chromosome_value(chromosome _c,
  3130.                               unsigned int _index);
  3131.  
  3132.  
  3133. float chromosome_valuef(chromosome _c,
  3134.                         unsigned int _index);
  3135.  
  3136.  
  3137.  
  3138.  
  3139. typedef struct gasearch_s * gasearch;
  3140.  
  3141. typedef float (*gasearch_utility)(void * _userdata, chromosome _c);
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148. gasearch gasearch_create(gasearch_utility _u,
  3149.                          void * _userdata,
  3150.                          chromosome _parent,
  3151.                          int _minmax);
  3152. # 8097 "include\\liquid.h"
  3153. gasearch gasearch_create_advanced(gasearch_utility _utility,
  3154.                                   void * _userdata,
  3155.                                   chromosome _parent,
  3156.                                   int _minmax,
  3157.                                   unsigned int _population_size,
  3158.                                   float _mutation_rate);
  3159.  
  3160.  
  3161.  
  3162. void gasearch_destroy(gasearch _q);
  3163.  
  3164.  
  3165. void gasearch_print(gasearch _q);
  3166.  
  3167.  
  3168. void gasearch_set_mutation_rate(gasearch _q,
  3169.                                 float _mutation_rate);
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175. void gasearch_set_population_size(gasearch _q,
  3176.                                   unsigned int _population_size,
  3177.                                   unsigned int _selection_size);
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183. float gasearch_run(gasearch _q,
  3184.                     unsigned int _max_iterations,
  3185.                     float _target_utility);
  3186.  
  3187.  
  3188. void gasearch_evolve(gasearch _q);
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194. void gasearch_getopt(gasearch _q,
  3195.                      chromosome _c,
  3196.                      float * _utility_opt);
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202. float compress_mulaw(float _x, float _mu);
  3203. float expand_mulaw(float _x, float _mu);
  3204.  
  3205. void compress_cf_mulaw(liquid_float_complex _x, float _mu, liquid_float_complex * _y);
  3206. void expand_cf_mulaw(liquid_float_complex _y, float _mu, liquid_float_complex * _x);
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212. unsigned int quantize_adc(float _x, unsigned int _num_bits);
  3213. float quantize_dac(unsigned int _s, unsigned int _num_bits);
  3214.  
  3215.  
  3216.  
  3217. typedef enum {
  3218.     LIQUID_COMPANDER_NONE=0,
  3219.     LIQUID_COMPANDER_LINEAR,
  3220.     LIQUID_COMPANDER_MULAW,
  3221.     LIQUID_COMPANDER_ALAW
  3222. } liquid_compander_type;
  3223. # 8213 "include\\liquid.h"
  3224. typedef struct quantizerf_s * quantizerf; quantizerf quantizerf_create(liquid_compander_type _ctype, float _range, unsigned int _num_bits); void quantizerf_destroy(quantizerf _q); void quantizerf_print(quantizerf _q); void quantizerf_execute_adc(quantizerf _q, float _x, unsigned int * _s); void quantizerf_execute_dac(quantizerf _q, unsigned int _s, float * _x);
  3225. typedef struct quantizercf_s * quantizercf; quantizercf quantizercf_create(liquid_compander_type _ctype, float _range, unsigned int _num_bits); void quantizercf_destroy(quantizercf _q); void quantizercf_print(quantizercf _q); void quantizercf_execute_adc(quantizercf _q, liquid_float_complex _x, unsigned int * _s); void quantizercf_execute_dac(quantizercf _q, unsigned int _s, liquid_float_complex * _x);
  3226. # 8223 "include\\liquid.h"
  3227. float randf();
  3228. float randf_pdf(float _x);
  3229. float randf_cdf(float _x);
  3230.  
  3231.  
  3232. float randuf(float _a, float _b);
  3233. float randuf_pdf(float _x, float _a, float _b);
  3234. float randuf_cdf(float _x, float _a, float _b);
  3235. # 8239 "include\\liquid.h"
  3236. float randnf();
  3237. void awgn(float *_x, float _nstd);
  3238. void crandnf(liquid_float_complex *_y);
  3239. void cawgn(liquid_float_complex *_x, float _nstd);
  3240. float randnf_pdf(float _x, float _eta, float _sig);
  3241. float randnf_cdf(float _x, float _eta, float _sig);
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248. float randexpf(float _lambda);
  3249. float randexpf_pdf(float _x, float _lambda);
  3250. float randexpf_cdf(float _x, float _lambda);
  3251. # 8262 "include\\liquid.h"
  3252. float randweibf(float _alpha, float _beta, float _gamma);
  3253. float randweibf_pdf(float _x, float _a, float _b, float _g);
  3254. float randweibf_cdf(float _x, float _a, float _b, float _g);
  3255. # 8275 "include\\liquid.h"
  3256. float randgammaf(float _alpha, float _beta);
  3257. float randgammaf_pdf(float _x, float _alpha, float _beta);
  3258. float randgammaf_cdf(float _x, float _alpha, float _beta);
  3259. # 8286 "include\\liquid.h"
  3260. float randnakmf(float _m, float _omega);
  3261. float randnakmf_pdf(float _x, float _m, float _omega);
  3262. float randnakmf_cdf(float _x, float _m, float _omega);
  3263. # 8300 "include\\liquid.h"
  3264. float randricekf(float _K, float _omega);
  3265. float randricekf_cdf(float _x, float _K, float _omega);
  3266. float randricekf_pdf(float _x, float _K, float _omega);
  3267.  
  3268.  
  3269.  
  3270. void scramble_data(unsigned char * _x, unsigned int _len);
  3271. void unscramble_data(unsigned char * _x, unsigned int _len);
  3272. void unscramble_data_soft(unsigned char * _x, unsigned int _len);
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280. typedef struct bsequence_s * bsequence;
  3281.  
  3282.  
  3283. bsequence bsequence_create(unsigned int num_bits);
  3284.  
  3285.  
  3286. void bsequence_destroy(bsequence _bs);
  3287.  
  3288.  
  3289. void bsequence_reset(bsequence _bs);
  3290.  
  3291.  
  3292. void bsequence_init(bsequence _bs,
  3293.                     unsigned char * _v);
  3294.  
  3295.  
  3296. void bsequence_print(bsequence _bs);
  3297.  
  3298.  
  3299. void bsequence_push(bsequence _bs,
  3300.                     unsigned int _bit);
  3301.  
  3302.  
  3303. void bsequence_circshift(bsequence _bs);
  3304.  
  3305.  
  3306. int bsequence_correlate(bsequence _bs1, bsequence _bs2);
  3307.  
  3308.  
  3309. void bsequence_add(bsequence _bs1, bsequence _bs2, bsequence _bs3);
  3310.  
  3311.  
  3312. void bsequence_mul(bsequence _bs1, bsequence _bs2, bsequence _bs3);
  3313.  
  3314.  
  3315. unsigned int bsequence_accumulate(bsequence _bs);
  3316.  
  3317.  
  3318. unsigned int bsequence_get_length(bsequence _bs);
  3319. unsigned int bsequence_index(bsequence _bs, unsigned int _i);
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327. void bsequence_create_ccodes(bsequence _a,
  3328.                              bsequence _b);
  3329. # 8387 "include\\liquid.h"
  3330. typedef struct msequence_s * msequence;
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337. msequence msequence_create(unsigned int _m,
  3338.                            unsigned int _g,
  3339.                            unsigned int _a);
  3340.  
  3341.  
  3342. msequence msequence_create_genpoly(unsigned int _g);
  3343.  
  3344.  
  3345. msequence msequence_create_default(unsigned int _m);
  3346.  
  3347.  
  3348. void msequence_destroy(msequence _m);
  3349.  
  3350.  
  3351. void msequence_print(msequence _m);
  3352.  
  3353.  
  3354. unsigned int msequence_advance(msequence _ms);
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360. unsigned int msequence_generate_symbol(msequence _ms,
  3361.                                        unsigned int _bps);
  3362.  
  3363.  
  3364. void msequence_reset(msequence _ms);
  3365.  
  3366.  
  3367.  
  3368.  
  3369. void bsequence_init_msequence(bsequence _bs,
  3370.                               msequence _ms);
  3371.  
  3372.  
  3373. unsigned int msequence_get_length(msequence _ms);
  3374.  
  3375.  
  3376. unsigned int msequence_get_state(msequence _ms);
  3377.  
  3378.  
  3379. void msequence_set_state(msequence _ms,
  3380.                          unsigned int _a);
  3381. # 8450 "include\\liquid.h"
  3382. void liquid_pack_array(unsigned char * _src,
  3383.                        unsigned int _n,
  3384.                        unsigned int _k,
  3385.                        unsigned int _b,
  3386.                        unsigned char _sym_in);
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394. void liquid_unpack_array(unsigned char * _src,
  3395.                          unsigned int _n,
  3396.                          unsigned int _k,
  3397.                          unsigned int _b,
  3398.                          unsigned char * _sym_out);
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406. void liquid_pack_bytes(unsigned char * _sym_in,
  3407.                        unsigned int _sym_in_len,
  3408.                        unsigned char * _sym_out,
  3409.                        unsigned int _sym_out_len,
  3410.                        unsigned int * _num_written);
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418. void liquid_unpack_bytes(unsigned char * _sym_in,
  3419.                          unsigned int _sym_in_len,
  3420.                          unsigned char * _sym_out,
  3421.                          unsigned int _sym_out_len,
  3422.                          unsigned int * _num_written);
  3423. # 8500 "include\\liquid.h"
  3424. void liquid_repack_bytes(unsigned char * _sym_in,
  3425.                          unsigned int _sym_in_bps,
  3426.                          unsigned int _sym_in_len,
  3427.                          unsigned char * _sym_out,
  3428.                          unsigned int _sym_out_bps,
  3429.                          unsigned int _sym_out_len,
  3430.                          unsigned int * _num_written);
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436. void liquid_lbshift(unsigned char * _src,
  3437.                     unsigned int _n,
  3438.                     unsigned int _b);
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444. void liquid_rbshift(unsigned char * _src,
  3445.                     unsigned int _n,
  3446.                     unsigned int _b);
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452. void liquid_lbcircshift(unsigned char * _src,
  3453.                         unsigned int _n,
  3454.                         unsigned int _b);
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460. void liquid_rbcircshift(unsigned char * _src,
  3461.                         unsigned int _n,
  3462.                         unsigned int _b);
  3463. # 8547 "include\\liquid.h"
  3464. void liquid_lshift(unsigned char * _src,
  3465.                    unsigned int _n,
  3466.                    unsigned int _b);
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472. void liquid_rshift(unsigned char * _src,
  3473.                    unsigned int _n,
  3474.                    unsigned int _b);
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480. void liquid_lcircshift(unsigned char * _src,
  3481.                        unsigned int _n,
  3482.                        unsigned int _b);
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488. void liquid_rcircshift(unsigned char * _src,
  3489.                        unsigned int _n,
  3490.                        unsigned int _b);
  3491.  
  3492.  
  3493. unsigned int liquid_count_ones(unsigned int _x);
  3494.  
  3495.  
  3496. unsigned int liquid_count_ones_mod2(unsigned int _x);
  3497.  
  3498.  
  3499. unsigned int liquid_bdotprod(unsigned int _x,
  3500.                              unsigned int _y);
  3501.  
  3502.  
  3503. unsigned int liquid_count_leading_zeros(unsigned int _x);
  3504.  
  3505.  
  3506. unsigned int liquid_msb_index(unsigned int _x);
  3507.  
  3508.  
  3509. void liquid_print_bitstring(unsigned int _x,
  3510.                             unsigned int _n);
  3511.  
  3512.  
  3513. unsigned char liquid_reverse_byte( unsigned char _x);
  3514. unsigned int liquid_reverse_uint16(unsigned int _x);
  3515. unsigned int liquid_reverse_uint24(unsigned int _x);
  3516. unsigned int liquid_reverse_uint32(unsigned int _x);
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522. void liquid_get_scale(float _val,
  3523.                       char * _unit,
  3524.                       float * _scale);
  3525. # 8684 "include\\liquid.h"
  3526. void liquid_vectorf_init(float _c, float * _x, unsigned int _n); void liquid_vectorf_add(float * _x, float * _y, unsigned int _n, float * _z); void liquid_vectorf_addscalar(float * _x, unsigned int _n, float _c, float * _y); void liquid_vectorf_mul(float * _x, float * _y, unsigned int _n, float * _z); void liquid_vectorf_mulscalar(float * _x, unsigned int _n, float _c, float * _y); void liquid_vectorf_cexpj(float * _theta, unsigned int _n, float * _x); void liquid_vectorf_carg(float * _x, unsigned int _n, float * _theta); void liquid_vectorf_abs(float * _x, unsigned int _n, float * _y); float liquid_vectorf_sumsq(float * _x, unsigned int _n); float liquid_vectorf_norm(float * _x, unsigned int _n); float liquid_vectorf_pnorm(float * _x, unsigned int _n, float _p); void liquid_vectorf_normalize(float * _x, unsigned int _n, float * _y);
  3527. void liquid_vectorcf_init(liquid_float_complex _c, liquid_float_complex * _x, unsigned int _n); void liquid_vectorcf_add(liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n, liquid_float_complex * _z); void liquid_vectorcf_addscalar(liquid_float_complex * _x, unsigned int _n, liquid_float_complex _c, liquid_float_complex * _y); void liquid_vectorcf_mul(liquid_float_complex * _x, liquid_float_complex * _y, unsigned int _n, liquid_float_complex * _z); void liquid_vectorcf_mulscalar(liquid_float_complex * _x, unsigned int _n, liquid_float_complex _c, liquid_float_complex * _y); void liquid_vectorcf_cexpj(float * _theta, unsigned int _n, liquid_float_complex * _x); void liquid_vectorcf_carg(liquid_float_complex * _x, unsigned int _n, float * _theta); void liquid_vectorcf_abs(liquid_float_complex * _x, unsigned int _n, float * _y); float liquid_vectorcf_sumsq(liquid_float_complex * _x, unsigned int _n); float liquid_vectorcf_norm(liquid_float_complex * _x, unsigned int _n); float liquid_vectorcf_pnorm(liquid_float_complex * _x, unsigned int _n, float _p); void liquid_vectorcf_normalize(liquid_float_complex * _x, unsigned int _n, liquid_float_complex * _y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement