FFmpeg
Macros | Functions
sinewin_fixed_tablegen.h File Reference
#include "libavutil/mem_internal.h"
#include <math.h>
#include "libavutil/attributes.h"

Go to the source code of this file.

Macros

#define SINETABLE(size)   static SINETABLE_CONST DECLARE_ALIGNED(32, int, sine_##size##_fixed)[size]
 
#define SINETABLE_CONST
 
#define SIN_FIX(a)   (int)floor((a) * 0x80000000 + 0.5)
 

Functions

 SINETABLE (120)
 
 SINETABLE (128)
 
 SINETABLE (480)
 
 SINETABLE (512)
 
 SINETABLE (960)
 
 SINETABLE (1024)
 
static av_cold void sine_window_init_fixed (int *window, int n)
 
static av_cold void init_sine_windows_fixed (void)
 

Macro Definition Documentation

◆ SINETABLE

#define SINETABLE (   size)    static SINETABLE_CONST DECLARE_ALIGNED(32, int, sine_##size##_fixed)[size]

Definition at line 33 of file sinewin_fixed_tablegen.h.

◆ SINETABLE_CONST

#define SINETABLE_CONST

Definition at line 46 of file sinewin_fixed_tablegen.h.

◆ SIN_FIX

#define SIN_FIX (   a)    (int)floor((a) * 0x80000000 + 0.5)

Definition at line 54 of file sinewin_fixed_tablegen.h.

Function Documentation

◆ SINETABLE() [1/6]

SINETABLE ( 120  )

◆ SINETABLE() [2/6]

SINETABLE ( 128  )

◆ SINETABLE() [3/6]

SINETABLE ( 480  )

◆ SINETABLE() [4/6]

SINETABLE ( 512  )

◆ SINETABLE() [5/6]

SINETABLE ( 960  )

◆ SINETABLE() [6/6]

SINETABLE ( 1024  )

◆ sine_window_init_fixed()

static av_cold void sine_window_init_fixed ( int window,
int  n 
)
static

Definition at line 57 of file sinewin_fixed_tablegen.h.

Referenced by init_sine_windows_fixed().

◆ init_sine_windows_fixed()

static av_cold void init_sine_windows_fixed ( void  )
static

Definition at line 63 of file sinewin_fixed_tablegen.h.

Referenced by aac_static_table_init(), and main().