| 109 | } |
| 110 | |
| 111 | inline float FilterSinc1D(float x) |
| 112 | { |
| 113 | x = std::abs(x); |
| 114 | |
| 115 | float s; |
| 116 | if(x < 0.001f) |
| 117 | s = 1.0f; |
| 118 | else |
| 119 | s = std::sin(x * Pi) / (x * Pi); |
| 120 | |
| 121 | return s; |
| 122 | } |
| 123 | |
| 124 | inline float BlackmanHarris(float x) |
| 125 | { |
nothing calls this directly
no outgoing calls
no test coverage detected