#include "dsputil.h"
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
| #define | MUL16(a, b) ((a) * (b)) |
| #define | CMAC(pre, pim, are, aim, bre, bim) |
Functions | |
| void | fft_ref_init (int nbits, int inverse) |
| void | fft_ref (FFTComplex *tabr, FFTComplex *tab, int nbits) |
| void | imdct_ref (float *out, float *in, int nbits) |
| void | mdct_ref (float *output, float *input, int nbits) |
| float | frandom (void) |
| int64_t | gettime (void) |
| void | check_diff (float *tab1, float *tab2, int n) |
| void | help (void) |
| int | main (int argc, char **argv) |
Variables | |
| FFTComplex * | exptab |
Definition in file fft-test.c.
| #define CMAC | ( | pre, | |||
| pim, | |||||
| are, | |||||
| aim, | |||||
| bre, | |||||
| bim | ) |
| #define MUL16 | ( | a, | |||
| b | ) | ((a) * (b)) |
Definition at line 38 of file fft-test.c.
| void check_diff | ( | float * | tab1, | |
| float * | tab2, | |||
| int | n | |||
| ) |
| void fft_ref | ( | FFTComplex * | tabr, | |
| FFTComplex * | tab, | |||
| int | nbits | |||
| ) |
| void fft_ref_init | ( | int | nbits, | |
| int | inverse | |||
| ) |
| float frandom | ( | void | ) |
| int64_t gettime | ( | void | ) |
Definition at line 137 of file fft-test.c.
| void help | ( | void | ) |
Definition at line 163 of file fft-test.c.
| void imdct_ref | ( | float * | out, | |
| float * | in, | |||
| int | nbits | |||
| ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 177 of file fft-test.c.
| void mdct_ref | ( | float * | output, | |
| float * | input, | |||
| int | nbits | |||
| ) |
Definition at line 46 of file fft-test.c.
1.5.8