From 81d1b2797aa3945c529d57f9ddf6179ec2b392a4 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 7 Apr 2007 12:47:34 +0000 Subject: Moved ilbc to third_party directory git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1169 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/ilbc/hpInput.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 third_party/ilbc/hpInput.c (limited to 'third_party/ilbc/hpInput.c') diff --git a/third_party/ilbc/hpInput.c b/third_party/ilbc/hpInput.c new file mode 100644 index 00000000..7ceee096 --- /dev/null +++ b/third_party/ilbc/hpInput.c @@ -0,0 +1,65 @@ + + /****************************************************************** + + iLBC Speech Coder ANSI-C Source Code + + + + + + hpInput.c + + Copyright (C) The Internet Society (2004). + All Rights Reserved. + + ******************************************************************/ + + #include "constants.h" + + /*----------------------------------------------------------------* + * Input high-pass filter + *---------------------------------------------------------------*/ + + void hpInput( + float *In, /* (i) vector to filter */ + int len, /* (i) length of vector to filter */ + float *Out, /* (o) the resulting filtered vector */ + float *mem /* (i/o) the filter state */ + ){ + int i; + float *pi, *po; + + /* all-zero section*/ + + pi = &In[0]; + po = &Out[0]; + for (i=0; i