/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ /****************************************************************** iLBC Speech Coder ANSI-C Source Code WebRtcIlbcfix_EnhUpsample.c ******************************************************************/ #include "defines.h" #include "constants.h" /*----------------------------------------------------------------* * upsample finite array assuming zeros outside bounds *---------------------------------------------------------------*/ void WebRtcIlbcfix_EnhUpsample( int32_t *useq1, /* (o) upsampled output sequence */ int16_t *seq1 /* (i) unupsampled sequence */ ){ int j; int32_t *pu1, *pu11; int16_t *ps, *w16tmp; const int16_t *pp; /* filtering: filter overhangs left side of sequence */ pu1=useq1; for (j=0;j