FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sinewin.h File Reference
#include "config.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Macros

#define SINETABLE_CONST
 
#define SINETABLE(size)   SINETABLE_CONST DECLARE_ALIGNED(32, float, ff_sine_##size)[size]
 

Functions

void ff_sine_window_init (float *window, int n)
 Generate a sine window.
 
void ff_init_ff_sine_windows (int index)
 initialize the specified entry of ff_sine_windows
 
 SINETABLE (32)
 
 SINETABLE (64)
 
 SINETABLE (128)
 
 SINETABLE (256)
 
 SINETABLE (512)
 
 SINETABLE (1024)
 
 SINETABLE (2048)
 
 SINETABLE (4096)
 
 SINETABLE (8192)
 

Variables

SINETABLE_CONST float *const ff_sine_windows [14]
 

Macro Definition Documentation

#define SINETABLE_CONST

Definition at line 30 of file sinewin.h.

#define SINETABLE (   size)    SINETABLE_CONST DECLARE_ALIGNED(32, float, ff_sine_##size)[size]

Definition at line 33 of file sinewin.h.

Function Documentation

void ff_sine_window_init ( float *  window,
int  n 
)

Generate a sine window.

Parameters
windowpointer to half window
nsize of half window

Definition at line 54 of file sinewin_tablegen.h.

Referenced by ff_init_ff_sine_windows(), imc_decode_init(), init_cook_mlt(), and wmavoice_decode_init().

void ff_init_ff_sine_windows ( int  index)

initialize the specified entry of ff_sine_windows

Definition at line 60 of file sinewin_tablegen.h.

Referenced by aac_decode_init(), atrac1_decode_init(), decode_init(), dsp_init(), encode_init(), ff_wma_init(), init_mdct_win(), and main().

SINETABLE ( 32  )
SINETABLE ( 64  )
SINETABLE ( 128  )
SINETABLE ( 256  )
SINETABLE ( 512  )
SINETABLE ( 1024  )
SINETABLE ( 2048  )
SINETABLE ( 4096  )
SINETABLE ( 8192  )

Variable Documentation

SINETABLE_CONST float* const ff_sine_windows[14]