Renamed SKP_[u]int* to opus_[u]int*
This commit is contained in:
parent
d77d6a58fc
commit
f9d14f8d77
164 changed files with 3297 additions and 3298 deletions
|
@ -29,19 +29,19 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
/* Interpolate two vectors */
|
||||
void silk_interpolate(
|
||||
SKP_int16 xi[ MAX_LPC_ORDER ], /* O interpolated vector */
|
||||
const SKP_int16 x0[ MAX_LPC_ORDER ], /* I first vector */
|
||||
const SKP_int16 x1[ MAX_LPC_ORDER ], /* I second vector */
|
||||
const SKP_int ifact_Q2, /* I interp. factor, weight on 2nd vector */
|
||||
const SKP_int d /* I number of parameters */
|
||||
opus_int16 xi[ MAX_LPC_ORDER ], /* O interpolated vector */
|
||||
const opus_int16 x0[ MAX_LPC_ORDER ], /* I first vector */
|
||||
const opus_int16 x1[ MAX_LPC_ORDER ], /* I second vector */
|
||||
const opus_int ifact_Q2, /* I interp. factor, weight on 2nd vector */
|
||||
const opus_int d /* I number of parameters */
|
||||
)
|
||||
{
|
||||
SKP_int i;
|
||||
opus_int i;
|
||||
|
||||
SKP_assert( ifact_Q2 >= 0 );
|
||||
SKP_assert( ifact_Q2 <= 4 );
|
||||
|
||||
for( i = 0; i < d; i++ ) {
|
||||
xi[ i ] = ( SKP_int16 )SKP_ADD_RSHIFT( x0[ i ], SKP_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 );
|
||||
xi[ i ] = ( opus_int16 )SKP_ADD_RSHIFT( x0[ i ], SKP_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue