From 8b25a20efbf4ca261bcd3327a385330eca775ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 25 Oct 2012 15:33:15 +0300 Subject: lpc: Add a function for calculating reflection coefficients from samples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavcodec/lpc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/lpc.h') diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h index 0e54f0d..6590608 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. */ -- cgit v1.1