lpc: cosmetics: vertically align declarations and definitions.

Originally committed as revision 14792 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ramiro Polla 17 years ago
parent 1b0f6fb830
commit e9e3c9801e
  1. 6
      libavcodec/lpc.c
  2. 10
      libavcodec/lpc.h

@ -135,9 +135,9 @@ static int estimate_best_order(double *ref, int max_order)
* Calculate LPC coefficients for multiple orders * Calculate LPC coefficients for multiple orders
*/ */
int ff_lpc_calc_coefs(DSPContext *s, int ff_lpc_calc_coefs(DSPContext *s,
const int32_t *samples, int blocksize, int max_order, const int32_t *samples, int blocksize, int max_order,
int precision, int32_t coefs[][MAX_LPC_ORDER], int precision, int32_t coefs[][MAX_LPC_ORDER],
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift) int *shift, int use_lpc, int omethod, int max_shift, int zero_shift)
{ {
double autoc[MAX_LPC_ORDER+1]; double autoc[MAX_LPC_ORDER+1];
double ref[MAX_LPC_ORDER]; double ref[MAX_LPC_ORDER];

@ -31,16 +31,16 @@
#define ORDER_METHOD_SEARCH 4 #define ORDER_METHOD_SEARCH 4
#define ORDER_METHOD_LOG 5 #define ORDER_METHOD_LOG 5
#define MIN_LPC_ORDER 1 #define MIN_LPC_ORDER 1
#define MAX_LPC_ORDER 32 #define MAX_LPC_ORDER 32
/** /**
* Calculate LPC coefficients for multiple orders * Calculate LPC coefficients for multiple orders
*/ */
int ff_lpc_calc_coefs(DSPContext *s, int ff_lpc_calc_coefs(DSPContext *s,
const int32_t *samples, int blocksize, int max_order, const int32_t *samples, int blocksize, int max_order,
int precision, int32_t coefs[][MAX_LPC_ORDER], int precision, int32_t coefs[][MAX_LPC_ORDER],
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift); int *shift, int use_lpc, int omethod, int max_shift, int zero_shift);
#endif /* FFMPEG_LPC_H */ #endif /* FFMPEG_LPC_H */

Loading…
Cancel
Save