cosmetics: adjust line breaks and vertical alignment
Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
56c07e2989
commit
9045f5e72d
@ -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)
|
|||||||
* 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 @@
|
|||||||
* 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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user