00001 /* 00002 * iLBC - a library for the iLBC codec 00003 * 00004 * doCPLC.h - The iLBC low bit rate speech codec. 00005 * 00006 * Adapted by Steve Underwood <steveu@coppice.org> from the reference 00007 * iLBC code supplied in RFC3951. 00008 * 00009 * Original code Copyright (C) The Internet Society (2004). 00010 * All changes to produce this version Copyright (C) 2008 by Steve Underwood 00011 * All Rights Reserved. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 * 00017 * $Id: doCPLC.h,v 1.2 2008/03/06 12:27:38 steveu Exp $ 00018 */ 00019 00020 #ifndef __iLBC_DOCLPC_H 00021 #define __iLBC_DOCLPC_H 00022 00023 void doThePLC(float *PLCresidual, /* (o) concealed residual */ 00024 float *PLClpc, /* (o) concealed LP parameters */ 00025 int PLI, /* (i) packet loss indicator, 0 - no PL, 1 = PL */ 00026 float *decresidual, /* (i) decoded residual */ 00027 float *lpc, /* (i) decoded LPC (only used for no PL) */ 00028 int inlag, /* (i) pitch lag */ 00029 ilbc_decode_state_t *iLBCdec_inst); /* (i/o) decoder instance */ 00030 00031 #endif