FFmpeg
Functions
kbdwin.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/error.h"
#include "libavutil/libm.h"
#include "libavutil/mathematics.h"
#include "libavutil/attributes.h"
#include "libavutil/mem.h"
#include "kbdwin.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ kbd_window_init()

static av_cold int kbd_window_init ( float float_window,
int int_window,
float  alpha,
int  n 
)
static

Definition at line 27 of file kbdwin.c.

Referenced by avpriv_kbd_window_init(), and avpriv_kbd_window_init_fixed().

◆ avpriv_kbd_window_init()

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

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

Definition at line 66 of file kbdwin.c.