/*M*
//
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 1995 Intel Corporation. All Rights Reserved.
//
//  RCS:
//      $Source: d:/rcs/nsp20/include/nspsampl.h $
//      $Revision: 1.4 $
//      $Date: 1995/08/07 11:01:48 $
//
//  Purpose: NSP sample
*M*/

/* ========================================================================= */

#if !defined _NSPSAMPL_H  || defined _NSP_BLDPCS
# define _NSPSAMPL_H

/* --------------------------------------------------------------------------*/
/*        UpSample                                                           */
/*                                                                           */
/* Up-sample  a  signal,  conceptually  increasing  its  sampling rate by an */
/* integer factor.                                                           */

 NSPAPI(void,nspsUpSample,(int factor,int phase,const float  *src,int srcLen,
                           float  *dst));
 NSPAPI(void,nspcUpSample,(int factor,int phase,const SCplx  *src,int srcLen,
                           SCplx  *dst));
 NSPAPI(void,nspdUpSample,(int factor,int phase,const double *src,int srcLen,
                           double *dst));
 NSPAPI(void,nspzUpSample,(int factor,int phase,const DCplx  *src,int srcLen,
                           DCplx  *dst));
 NSPAPI(void,nspwUpSample,(int factor,int phase,const short *src,int srcLen,
                           short *dst));

/* --------------------------------------------------------------------------*/
/*        DownSample                                                         */
/*                                                                           */
/* Down-sample a  signal, conceptually decreasing  its sample rate  by an    */
/* integer factor.                                                           */

NSPAPI(void,nspsDownSample,(int factor,int phase,const float  *src,int srcLen,
                            float  *dst));
NSPAPI(void,nspcDownSample,(int factor,int phase,const SCplx  *src,int srcLen,
                            SCplx  *dst));
NSPAPI(void,nspdDownSample,(int factor,int phase,const double *src,int srcLen,
                            double *dst));
NSPAPI(void,nspzDownSample,(int factor,int phase,const DCplx  *src,int srcLen,
                            DCplx  *dst));
NSPAPI(void,nspwDownSample,(int factor,int phase,const short *src,int srcLen,
                            short *dst));

#endif                                  /* _NSPSAMPL_H                     */
