FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
kbdwin.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/mathematics.h"
#include "libavutil/attributes.h"
#include "kbdwin.h"

Go to the source code of this file.

Macros

#define BESSEL_I0_ITER   50
 

Functions

av_cold void ff_kbd_window_init (float *window, float alpha, int n)
 Generate a Kaiser-Bessel Derived Window.
 
av_cold void ff_kbd_window_init_fixed (int32_t *window, float alpha, int n)
 

Macro Definition Documentation

#define BESSEL_I0_ITER   50

Definition at line 24 of file kbdwin.c.

Referenced by ff_kbd_window_init().

Function Documentation

av_cold void ff_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, max FF_KBD_WINDOW_MAX

Definition at line 26 of file kbdwin.c.

Referenced by aac_decode_init(), ac3_decode_init(), dsp_init(), ff_ac3_float_mdct_init(), and ff_kbd_window_init_fixed().

av_cold void ff_kbd_window_init_fixed ( int32_t window,
float  alpha,
int  n 
)

Definition at line 49 of file kbdwin.c.