FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
window_func.c File Reference
#include <math.h>
#include "libavutil/avassert.h"
#include "window_func.h"

Go to the source code of this file.

Macros

#define SINC(x)   (!(x)) ? 1 : sin(M_PI * (x))/(M_PI * (x));
 
#define SQR(x)   ((x)*(x))
 

Functions

void ff_generate_window_func (float *lut, int N, int win_func, float *overlap)
 

Macro Definition Documentation

#define SINC (   x)    (!(x)) ? 1 : sin(M_PI * (x))/(M_PI * (x));

Referenced by ff_generate_window_func().

#define SQR (   x)    ((x)*(x))

Referenced by ff_generate_window_func().

Function Documentation

void ff_generate_window_func ( float *  lut,
int  N,
int  win_func,
float *  overlap 
)

Definition at line 26 of file window_func.c.

Referenced by config_input(), and config_output().