Commit 9fe3e7ef authored by jbr's avatar jbr

cosmetics: adjust line breaks and vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14795 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 29e425c4
...@@ -855,8 +855,9 @@ static int encode_residual(FlacEncodeContext *ctx, int ch) ...@@ -855,8 +855,9 @@ static int encode_residual(FlacEncodeContext *ctx, int ch)
} }
/* LPC */ /* LPC */
opt_order = ff_lpc_calc_coefs(&ctx->dsp, smp, n, min_order, max_order, precision, coefs, opt_order = ff_lpc_calc_coefs(&ctx->dsp, smp, n, min_order, max_order,
shift, ctx->options.use_lpc, omethod, MAX_LPC_SHIFT, 0); precision, coefs, shift, ctx->options.use_lpc,
omethod, MAX_LPC_SHIFT, 0);
if(omethod == ORDER_METHOD_2LEVEL || if(omethod == ORDER_METHOD_2LEVEL ||
omethod == ORDER_METHOD_4LEVEL || omethod == ORDER_METHOD_4LEVEL ||
......
...@@ -135,9 +135,10 @@ static int estimate_best_order(double *ref, int max_order) ...@@ -135,9 +135,10 @@ 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 min_order, int max_order, const int32_t *samples, int blocksize, int min_order,
int precision, int32_t coefs[][MAX_LPC_ORDER], int max_order, int precision,
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift) int32_t coefs[][MAX_LPC_ORDER], 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];
......
...@@ -39,8 +39,9 @@ ...@@ -39,8 +39,9 @@
* 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 min_order, int max_order, const int32_t *samples, int blocksize, int min_order,
int precision, int32_t coefs[][MAX_LPC_ORDER], int max_order, int precision,
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift); int32_t coefs[][MAX_LPC_ORDER], int *shift, int use_lpc,
int omethod, int max_shift, int zero_shift);
#endif /* FFMPEG_LPC_H */ #endif /* FFMPEG_LPC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment