diff options
author | Michael Niedermayer | 2013-06-30 11:22:15 +0200 |
---|---|---|
committer | Michael Niedermayer | 2013-06-30 11:23:43 +0200 |
commit | c93a424718c38c6add273745f3792b531332ea88 (patch) | |
tree | ab6de6854680c0f8499dcaf4cad0d90c1c470920 /libavcodec/lpc.c | |
parent | d3bd320e63bfbc96d78a673a01d36f25dc6316e7 (diff) | |
parent | 41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2 (diff) |
Merge commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2'
* commit '41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2':
lpc: use function pointers, in preparation for asm
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r-- | libavcodec/lpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c index eb7698bdfe..e2c0aacc43 100644 --- a/libavcodec/lpc.c +++ b/libavcodec/lpc.c @@ -216,7 +216,7 @@ int ff_lpc_calc_coefs(LPCContext *s, if(pass){ double eval, inv, rinv; - eval= avpriv_evaluate_lls(&m[(pass-1)&1], var+1, max_order-1); + eval= m[(pass-1)&1].evaluate_lls(&m[(pass-1)&1], var+1, max_order-1); eval= (512>>pass) + fabs(eval - var[0]); inv = 1/eval; rinv = sqrt(inv); @@ -226,7 +226,7 @@ int ff_lpc_calc_coefs(LPCContext *s, }else weight++; - avpriv_update_lls(&m[pass&1], var); + m[pass&1].update_lls(&m[pass&1], var); } avpriv_solve_lls(&m[pass&1], 0.001, 0); } |