mirror of
https://github.com/xiph/opus.git
synced 2025-05-21 10:58:30 +00:00
Add missing include guards
This commit is contained in:
parent
c6db01d2a6
commit
c9b9570970
3 changed files with 15 additions and 0 deletions
|
@ -25,6 +25,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
|
#ifndef BURG_H
|
||||||
|
#define BURG_H
|
||||||
|
|
||||||
|
|
||||||
float silk_burg_analysis( /* O returns residual energy */
|
float silk_burg_analysis( /* O returns residual energy */
|
||||||
float A[], /* O prediction coefficients (length order) */
|
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 nb_subfr, /* I number of subframes stacked in x */
|
||||||
const int D /* I order */
|
const int D /* I order */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef FREQ_H
|
||||||
|
#define FREQ_H
|
||||||
|
|
||||||
#include "kiss_fft.h"
|
#include "kiss_fft.h"
|
||||||
|
|
||||||
#define LPC_ORDER 16
|
#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);
|
float lpc_from_cepstrum(float *lpc, const float *cepstrum);
|
||||||
void apply_window(float *x);
|
void apply_window(float *x);
|
||||||
void lpc_weighting(float *lpc, float gamma);
|
void lpc_weighting(float *lpc, float gamma);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
*/
|
*/
|
||||||
/* NEON support for ARM machines */
|
/* NEON support for ARM machines */
|
||||||
|
|
||||||
|
#ifndef VEC_NEON_H
|
||||||
|
#define VEC_NEON_H
|
||||||
|
|
||||||
#include <arm_neon.h>
|
#include <arm_neon.h>
|
||||||
|
|
||||||
#ifndef DISABLE_DOT_PROD
|
#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)));
|
vst1q_f32(&_out[i+4], vmulq_f32(scale_1, vcvtq_f32_s32(acc1)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue