/usr/include/libairspy/filters.h is in libairspy-dev 1.0.9-1+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | /*
Copyright (C) 2014, Youssef Touil <youssef@airspy.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#ifndef FILTERS_H
#define FILTERS_H
#include <stdint.h>
#define HB_KERNEL_FLOAT_LEN 47
const float HB_KERNEL_FLOAT[HB_KERNEL_FLOAT_LEN] =
{
-0.000998606272947510,
0.000000000000000000,
0.001695637278417295,
0.000000000000000000,
-0.003054430179754289,
0.000000000000000000,
0.005055504379767936,
0.000000000000000000,
-0.007901319195893647,
0.000000000000000000,
0.011873357051047719,
0.000000000000000000,
-0.017411159379930066,
0.000000000000000000,
0.025304817427568772,
0.000000000000000000,
-0.037225225204559217,
0.000000000000000000,
0.057533286997004301,
0.000000000000000000,
-0.102327462004259350,
0.000000000000000000,
0.317034472508947400,
0.500000000000000000,
0.317034472508947400,
0.000000000000000000,
-0.102327462004259350,
0.000000000000000000,
0.057533286997004301,
0.000000000000000000,
-0.037225225204559217,
0.000000000000000000,
0.025304817427568772,
0.000000000000000000,
-0.017411159379930066,
0.000000000000000000,
0.011873357051047719,
0.000000000000000000,
-0.007901319195893647,
0.000000000000000000,
0.005055504379767936,
0.000000000000000000,
-0.003054430179754289,
0.000000000000000000,
0.001695637278417295,
0.000000000000000000,
-0.000998606272947510
};
#define HB_KERNEL_INT16_LEN 47
const int16_t HB_KERNEL_INT16[HB_KERNEL_INT16_LEN] =
{
-33,
0,
56,
0,
-100,
0,
166,
0,
-259,
0,
389,
0,
-571,
0,
829,
0,
-1220,
0,
1885,
0,
-3353,
0,
10389,
16384,
10389,
0,
-3353,
0,
1885,
0,
-1220,
0,
829,
0,
-571,
0,
389,
0,
-259,
0,
166,
0,
-100,
0,
56,
0,
-33
};
#endif // FILTERS_H
|