FFmpeg
Macros | Functions
kbdwin.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define FF_KBD_WINDOW_MAX   1024
 Maximum window size for avpriv_kbd_window_init. More...
 

Functions

int avpriv_kbd_window_init (float *window, float alpha, int n)
 Generate a Kaiser-Bessel Derived Window. More...
 
int avpriv_kbd_window_init_fixed (int32_t *window, float alpha, int n)
 

Macro Definition Documentation

◆ FF_KBD_WINDOW_MAX

#define FF_KBD_WINDOW_MAX   1024

Maximum window size for avpriv_kbd_window_init.

Definition at line 27 of file kbdwin.h.

Function Documentation

◆ avpriv_kbd_window_init()

int avpriv_kbd_window_init ( float window,
float  alpha,
int  n 
)

Generate a Kaiser-Bessel Derived Window.

Parameters
windowpointer to half window
alphadetermines window shape
nsize of half window
Returns
if n is larger than FF_KBD_WINDOW_MAX then AVERROR(ENOMEM) is possible

Definition at line 61 of file kbdwin.c.

Referenced by aac_static_table_init(), ac3_decode_init(), ac3_fixed_mdct_init(), ac3_float_mdct_init(), and init_tables().

◆ avpriv_kbd_window_init_fixed()

int avpriv_kbd_window_init_fixed ( int32_t window,
float  alpha,
int  n 
)

Definition at line 66 of file kbdwin.c.