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 (96)
 
 SINETABLE (120)
 
 SINETABLE (128)
 
 SINETABLE (480)
 
 SINETABLE (512)
 
 SINETABLE (768)
 
 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 56 of file sinewin_fixed_tablegen.h.

Function Documentation

◆ SINETABLE() [1/8]

SINETABLE ( 96  )

◆ SINETABLE() [2/8]

SINETABLE ( 120  )

◆ SINETABLE() [3/8]

SINETABLE ( 128  )

◆ SINETABLE() [4/8]

SINETABLE ( 480  )

◆ SINETABLE() [5/8]

SINETABLE ( 512  )

◆ SINETABLE() [6/8]

SINETABLE ( 768  )

◆ SINETABLE() [7/8]

SINETABLE ( 960  )

◆ SINETABLE() [8/8]

SINETABLE ( 1024  )

◆ sine_window_init_fixed()

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

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

Referenced by init_tables_fixed_fn(), and main().