FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
sinewin_tablegen.h File Reference
#include <assert.h>
#include <math.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"

Go to the source code of this file.

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.
 
av_cold void ff_init_ff_sine_windows (int index)
 initialize the specified entry of ff_sine_windows
 

Variables

SINETABLE_CONST float *const ff_sine_windows []
 

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 54 of file sinewin_tablegen.h.

Referenced by 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 60 of file sinewin_tablegen.h.

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

Variable Documentation

SINETABLE_CONST float* const ff_sine_windows[]
Initial value:
= {
NULL, NULL, NULL, NULL, NULL,
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
}

Definition at line 47 of file sinewin_tablegen.h.

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