update to use new asm routine naming
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 23 May 2001 20:56:30 +0000 (20:56 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 23 May 2001 20:56:30 +0000 (20:56 +0000)
src/libFLAC/include/private/fixed.h
src/libFLAC/include/private/lpc.h

index cd63c19..837ec98 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef FLAC__PRIVATE__FIXED_H
 #define FLAC__PRIVATE__FIXED_H
 
+#include "FLAC/config.h"
 #include "FLAC/format.h"
 
 /*
  *     OUT residual_bits_per_sample[0,FLAC__MAX_FIXED_ORDER]
  */
 unsigned FLAC__fixed_compute_best_predictor(const int32 data[], unsigned data_len, real residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
+#ifndef FLAC__NO_ASM
+#ifdef FLAC__CPU_IA32
+#ifdef FLAC__HAS_NASM
+unsigned FLAC__fixed_compute_best_predictor_asm_i386_mmx_cmov(const int32 data[], unsigned data_len, real residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
+#endif
+#endif
+#endif
 unsigned FLAC__fixed_compute_best_predictor_slow(const int32 data[], unsigned data_len, real residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
 
 /*
index 5639e50..04e9c25 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef FLAC__PRIVATE__LPC_H
 #define FLAC__PRIVATE__LPC_H
 
+#include "FLAC/config.h"
 #include "FLAC/ordinals.h"
 
 #define FLAC__MAX_LPC_ORDER (32u)
  *     OUT autoc[0,lag-1]
  */
 void FLAC__lpc_compute_autocorrelation(const real data[], unsigned data_len, unsigned lag, real autoc[]);
-void FLAC__lpc_compute_autocorrelation_asm(const real data[], unsigned data_len, unsigned lag, real autoc[]);
+#ifndef FLAC__NO_ASM
+#ifdef FLAC__CPU_IA32
+#ifdef FLAC__HAS_NASM
+void FLAC__lpc_compute_autocorrelation_asm_i386(const real data[], unsigned data_len, unsigned lag, real autoc[]);
+void FLAC__lpc_compute_autocorrelation_asm_i386_sse(const real data[], unsigned data_len, unsigned lag, real autoc[]);
+#endif
+#endif
+#endif
 
 /*
  *     FLAC__lpc_compute_lp_coefficients()
@@ -113,6 +121,13 @@ void FLAC__lpc_compute_residual_from_qlp_coefficients(const int32 data[], unsign
  *     OUT data[0,data_len-1]     original signal
  */
 void FLAC__lpc_restore_signal(const int32 residual[], unsigned data_len, const int32 qlp_coeff[], unsigned order, int lp_quantization, int32 data[]);
+#ifndef FLAC__NO_ASM
+#ifdef FLAC__CPU_IA32
+#ifdef FLAC__HAS_NASM
+void FLAC__lpc_restore_signal_asm_i386(const int32 residual[], unsigned data_len, const int32 qlp_coeff[], unsigned order, int lp_quantization, int32 data[]);
+#endif
+#endif
+#endif
 
 /*
  *     FLAC__lpc_compute_expected_bits_per_residual_sample()