FFmpeg
Loading...
Searching...
No Matches
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)
 
#define SINETABLE_CONST
 
#define SIN_FIX(a)
 

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)
Value:
static SINETABLE_CONST DECLARE_ALIGNED(32, int, sine_##size##_fixed)[size]
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
#define SINETABLE_CONST
Definition sinewin.h:30
int 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)
Value:
(int)floor((a) * 0x80000000 + 0.5)
static __device__ float floor(float a)
int a

Definition at line 56 of file sinewin_fixed_tablegen.h.

Referenced by sine_window_init_fixed().

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().