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

Go to the source code of this file.


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


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


#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.

windowpointer to half window
alphadetermines window shape
nsize of half window
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.