Add missing include guards

This commit is contained in:
Jean-Marc Valin 2023-05-24 12:58:05 -04:00
parent c6db01d2a6
commit c9b9570970
3 changed files with 15 additions and 0 deletions

View file

@ -25,6 +25,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/
#ifndef BURG_H
#define BURG_H
float silk_burg_analysis( /* O returns residual energy */
float A[], /* O prediction coefficients (length order) */
@ -34,3 +37,5 @@ float silk_burg_analysis( /* O returns residual energy
const int nb_subfr, /* I number of subframes stacked in x */
const int D /* I order */
);
#endif

View file

@ -24,6 +24,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef FREQ_H
#define FREQ_H
#include "kiss_fft.h"
#define LPC_ORDER 16
@ -59,3 +62,5 @@ float lpc_from_bands(float *lpc, const float *Ex);
float lpc_from_cepstrum(float *lpc, const float *cepstrum);
void apply_window(float *x);
void lpc_weighting(float *lpc, float gamma);
#endif

View file

@ -28,6 +28,9 @@
*/
/* NEON support for ARM machines */
#ifndef VEC_NEON_H
#define VEC_NEON_H
#include <arm_neon.h>
#ifndef DISABLE_DOT_PROD
@ -366,3 +369,5 @@ static inline void sparse_sgemv_accum8x4(float *_out, const qweight *w, int rows
vst1q_f32(&_out[i+4], vmulq_f32(scale_1, vcvtq_f32_s32(acc1)));
}
}
#endif