FFmpeg
Macros | Functions | Variables
sinewin_tablegen.h File Reference
#include <assert.h>
#include <math.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/thread.h"

Go to the source code of this file.

Macros

#define INIT_FF_SINE_WINDOW_INIT_FUNC(index)
 

Functions

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

Variables

SINETABLE_CONST float *const ff_sine_windows []
 
static void(*const sine_window_init_func_array [])(void)
 
static AVOnce init_sine_window_once [9]
 

Macro Definition Documentation

#define INIT_FF_SINE_WINDOW_INIT_FUNC (   index)
Value:
static void init_ff_sine_window_ ## index(void) \
{ \
}
int index
Definition: gxfenc.c:89
SINETABLE_CONST float *const ff_sine_windows[]
av_cold void ff_sine_window_init(float *window, int n)
Generate a sine window.

Definition at line 67 of file sinewin_tablegen.h.

Function Documentation

SINETABLE ( 32  )
SINETABLE ( 64  )
SINETABLE ( 128  )
SINETABLE ( 256  )
SINETABLE ( 512  )
SINETABLE ( 1024  )
SINETABLE ( 2048  )
SINETABLE ( 4096  )
SINETABLE ( 8192  )
av_cold 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 59 of file sinewin_tablegen.h.

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

av_cold void ff_init_ff_sine_windows ( int  index)

initialize the specified entry of ff_sine_windows

Definition at line 101 of file sinewin_tablegen.h.

Referenced by aac_static_table_init(), atrac1_decode_init(), decode_init(), ff_atrac3p_init_dsp_static(), ff_wma_init(), init_mdct_win(), main(), and nellymoser_init_static().

Variable Documentation

SINETABLE_CONST float* const ff_sine_windows[]
Initial value:
= {
ff_sine_32, ff_sine_64, ff_sine_128,
ff_sine_256, ff_sine_512, ff_sine_1024,
ff_sine_2048, ff_sine_4096, ff_sine_8192,
}
#define NULL
Definition: coverity.c:32

Definition at line 51 of file sinewin_tablegen.h.

Referenced by decode_init(), ff_init_ff_sine_windows(), ff_wma_init(), imdct_and_window(), and main().

void(*const sine_window_init_func_array[])(void)
static
Initial value:
= {
init_ff_sine_window_5,
init_ff_sine_window_6,
init_ff_sine_window_7,
init_ff_sine_window_8,
init_ff_sine_window_9,
init_ff_sine_window_10,
init_ff_sine_window_11,
init_ff_sine_window_12,
init_ff_sine_window_13,
}

Definition at line 83 of file sinewin_tablegen.h.

Referenced by ff_init_ff_sine_windows().

AVOnce init_sine_window_once[9]
static
Initial value:

Definition at line 95 of file sinewin_tablegen.h.

Referenced by ff_init_ff_sine_windows().