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 (128)
 
 SINETABLE (512)
 
 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 51 of file sinewin_fixed_tablegen.h.

Function Documentation

◆ SINETABLE() [1/3]

SINETABLE ( 128  )

◆ SINETABLE() [2/3]

SINETABLE ( 512  )

◆ SINETABLE() [3/3]

SINETABLE ( 1024  )

◆ sine_window_init_fixed()

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

Definition at line 54 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 60 of file sinewin_fixed_tablegen.h.

Referenced by aac_static_table_init(), and main().