RetroArch
ffmpeg_fft.h
Go to the documentation of this file.
1 #ifndef FFMPEG_FFT_H_
2 #define FFMPEG_FFT_H_
3 
4 #include <glsym/glsym.h>
5 
6 #include <retro_common_api.h>
7 
9 
10 typedef struct GLFFT fft_t;
11 
12 fft_t *fft_new(unsigned fft_steps, rglgen_proc_address_t proc);
13 
14 void fft_free(fft_t *fft);
15 
16 void fft_init_multisample(fft_t *fft, unsigned width, unsigned height, unsigned samples);
17 
18 void fft_step_fft(fft_t *fft, const GLshort *buffer, unsigned frames);
19 
20 void fft_render(fft_t *fft, GLuint backbuffer, unsigned width, unsigned height);
21 
23 
24 #endif
GLsizei samples
Definition: glext.h:7673
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
void fft_init_multisample(fft_t *fft, unsigned width, unsigned height, unsigned samples)
Definition: ffmpeg_fft.c:517
unsigned int GLuint
Definition: nx_gl.h:48
void fft_free(fft_t *fft)
Definition: ffmpeg_fft.c:566
typedefRETRO_BEGIN_DECLS struct GLFFT fft_t
Definition: ffmpeg_fft.h:10
void fft_step_fft(fft_t *fft, const GLshort *buffer, unsigned frames)
Definition: ffmpeg_fft.c:577
fft_t * fft_new(unsigned fft_steps, rglgen_proc_address_t proc)
Definition: ffmpeg_fft.c:483
static struct frame frames[2]
Definition: ffmpeg_core.c:162
short GLshort
Definition: nx_gl.h:44
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
GLint GLint GLsizei width
Definition: glext.h:6293
Definition: fft.c:30
void fft_render(fft_t *fft, GLuint backbuffer, unsigned width, unsigned height)
Definition: ffmpeg_fft.c:686
rglgen_func_t(* rglgen_proc_address_t)(const char *)
Definition: rglgen.h:39
Definition: video4linux2.c:51
Definition: ffmpeg_fft.c:48
GLint GLint GLsizei GLsizei height
Definition: glext.h:6293