Commit f75daa53 authored by vaclav's avatar vaclav
Browse files

define local functions as static

parent ba15be34
Loading
Loading
Loading
Loading
+32 −1
Original line number Diff line number Diff line
@@ -1559,7 +1559,11 @@ static void fft5_4(
 * a low complexity 2-dimensional DFT of 80 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT80_fx(
#else
void DoRTFT80_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1586,7 +1590,11 @@ void DoRTFT80_fx(
 * a low complexity 2-dimensional DFT of 120 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT120_fx(
#else
void DoRTFT120_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1613,7 +1621,11 @@ void DoRTFT120_fx(
 * a low complexity 2-dimensional DFT of 160 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT160_fx(
#else
void DoRTFT160_fx(
#endif
    Word32 x[], /* i/o: real part of input and output data Qx      */
    Word32 y[]  /* i/o: imaginary part of input and output data Qx */
)
@@ -1640,7 +1652,11 @@ void DoRTFT160_fx(
 * a low complexity 2-dimensional DFT of 320 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT320_fx(
#else
void DoRTFT320_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1667,7 +1683,11 @@ void DoRTFT320_fx(
 * a low complexity 2-dimensional DFT of 480 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT480_fx(
#else
void DoRTFT480_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1694,7 +1714,11 @@ void DoRTFT480_fx(
 * a low complexity 2-dimensional DFT of 40 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT40_fx(
#else
void DoRTFT40_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1720,7 +1744,11 @@ void DoRTFT40_fx(
 * a low complexity 2-dimensional DFT of 20 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT20_fx(
#else
void DoRTFT20_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
@@ -1747,12 +1775,15 @@ void DoRTFT20_fx(
 * FFT with 128 points
 *-----------------------------------------------------------------*/

#ifdef HARMONIZE_DoRTFTn
static void DoRTFT128_fx(
#else
void DoRTFT128_fx(
#endif
    Word32 *x, /* i/o: real part of input and output data Qx      */
    Word32 *y  /* i/o: imaginary part of input and output data Qx */
)
{

    Word16 i;
    Word32 z[256];

+3 −1
Original line number Diff line number Diff line
@@ -4060,6 +4060,7 @@ void DoRTFTn_fx(
    const Word16 n /* i : size of the FFT up to 1024               */
);

#ifndef HARMONIZE_DoRTFTn
void DoRTFT480_fx(
    Word32 *x, /* i/o: real part of input and output data       */
    Word32 *y  /* i/o: imaginary part of input and output data  */
@@ -4100,6 +4101,7 @@ void DoRTFT20_fx(
    Word32 *y  /* i/o: imaginary part of input and output data  */
);

#endif
Word16 RFFTN_fx(
    Word32 *data,
    const Word16 *sine_table,