/* ======================================================================== */
/*  TEXAS INSTRUMENTS, INC.                                                 */
/*                                                                          */
/*  NAME                                                                    */
/*      DSPF_sp_autocor -- Single Precision autocorrelation                 */
/*                                                                          */
/* USAGE                                                                    */
/*       This routine has the following C prototype:                        */
/*                                                                          */
/*       void DSPF_sp_autocor                                               */
/*                     (                                                    */
/*                         float       *  restrict r,                       */
/*                         const float *  restrict x,                       */
/*                         int            nx,                               */
/*                         int            nr                                */
/*                     )                                                    */
/*            r  = Pointer to output array of autocorrelation of length nr  */
/*            x  = Pointer to input array of length nx+nr. Input data must  */
/*                 be padded with nr consecutive zeros at the beginning.    */
/*            nx = Length of autocorrelation vector.                        */
/*            nr = Length of lags.                                          */
/*                                                                          */
/*                                                                          */
/* DESCRIPTION                                                              */
/*                                                                          */
/*       This routine performs the autocorrelation of the input array x.    */
/*       It is assumed that the length of the input array, x, is a          */
/*   multiple of 2 and the length of the output array, r, is a              */
/*   multiple of 4. The assembly routine computes 4 output samples          */
/*   at a time. It is assumed that input vector x is padded with nr         */
/*   no of zeros in the beginning.                                          */
/*                                                                          */
/* ------------------------------------------------------------------------ */
/*            Copyright (c) 2003 Texas Instruments, Incorporated.           */
/*                           All Rights Reserved.                           */
/* ======================================================================== */
#ifndef DSPF_SP_AUTOCOR_
#define DSPF_SP_AUTOCOR_ 1

void DSPF_sp_autocor(float *restrict r, const float *restrict x, int nx, int nr);

#endif
/* ========================================================================*/
/*  End of file: dspf_sp_autocor.h                                         */
/* ------------------------------------------------------------------------*/
/*          Copyright (C) 2003 Texas Instruments, Incorporated.            */
/*                          All Rights Reserved.                           */
/* ========================================================================*/