summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-25 15:33:15 +0300
committerMartin Storsjö <martin@martin.st>2012-10-29 21:53:16 +0200
commit8b25a20efbf4ca261bcd3327a385330eca775ec6 (patch)
tree00136cbafa5a3aae9f70c537d9b1d88e6caf9041 /libavcodec/lpc.h
parent39ef66f5300c2a42acc29937f5417bc2efe09752 (diff)
lpc: Add a function for calculating reflection coefficients from samples
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/lpc.h')
-rw-r--r--libavcodec/lpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h
index 0e54f0dfab..6590608693 100644
--- a/libavcodec/lpc.h
+++ b/libavcodec/lpc.h
@@ -92,6 +92,9 @@ int ff_lpc_calc_coefs(LPCContext *s,
enum FFLPCType lpc_type, int lpc_passes,
int omethod, int max_shift, int zero_shift);
+int ff_lpc_calc_ref_coefs(LPCContext *s,
+ const int32_t *samples, int order, double *ref);
+
/**
* Initialize LPCContext.
*/