#ifndef _KBDWIN_H_6d51f086_ #define _KBDWIN_H_6d51f086_ /* * This file was stolen from ffmpeg and modified for usability here. * The original does not have a "copyright by" line. * * This version is a derivative work of that version. It is not free * software; it is licensed under the GNU Lesser General Public * License version 2.1, which places nontrivial restrictions on what * may be done with it. (I'm not terribly happy about that, but for * my purposes accepting LGPL-infected code is a lower price than * reimplementing it all myself.) * * The LGPL v2.1 as distributed with ffmpeg is in the accompanying file * `LGPL-v2.1'. */ /** * Maximum window size for ff_kbd_window_init. */ #define FF_KBD_WINDOW_MAX 1024 /** * Generate a Kaiser-Bessel Derived Window. * @param window pointer to half window * @param alpha determines window shape * @param n size of half window, max FF_KBD_WINDOW_MAX */ void ff_kbd_window_init(float *window, float alpha, int n); #endif