|
static GLuint | fft_compile_shader (fft_t *fft, GLenum type, const char *source) |
|
static GLuint | fft_compile_program (fft_t *fft, const char *vertex_source, const char *fragment_source) |
|
static INLINE unsigned | log2i (unsigned x) |
|
static INLINE unsigned | bitinverse (unsigned x, unsigned size) |
|
static fft_complex_t | exp_imag (float phase) |
|
void | fft_build_params (fft_t *fft, GLuint *buffer, unsigned step, unsigned size) |
|
static void | fft_init_quad_vao (fft_t *fft) |
|
static void | fft_init_texture (fft_t *fft, GLuint *tex, GLenum format, unsigned width, unsigned height, unsigned levels, GLenum mag, GLenum min) |
|
static void | fft_init_target (fft_t *fft, struct target *target, GLenum format, unsigned width, unsigned height, unsigned levels, GLenum mag, GLenum min) |
|
static void | fft_init (fft_t *fft) |
|
static void | fft_init_block (fft_t *fft) |
|
static bool | fft_context_reset (fft_t *fft, unsigned fft_steps, rglgen_proc_address_t proc, unsigned fft_depth) |
|
fft_t * | fft_new (unsigned fft_steps, rglgen_proc_address_t proc) |
|
void | fft_init_multisample (fft_t *fft, unsigned width, unsigned height, unsigned samples) |
|
static void | fft_context_destroy (fft_t *fft) |
|
void | fft_free (fft_t *fft) |
|
void | fft_step_fft (fft_t *fft, const GLshort *audio_buffer, unsigned frames) |
|
void | fft_render (fft_t *fft, GLuint backbuffer, unsigned width, unsigned height) |
|