RetroArch/cores/libretro-ffmpeg/ffmpeg_fft.h

25 lines
512 B
C
Raw Normal View History

#ifndef FFMPEG_FFT_H_
#define FFMPEG_FFT_H_
2016-06-15 17:21:06 +00:00
#include <glsym/glsym.h>
#include <retro_common_api.h>
RETRO_BEGIN_DECLS
2017-05-27 01:28:49 +00:00
typedef struct GLFFT fft_t;
2017-05-27 01:28:49 +00:00
fft_t *fft_new(unsigned fft_steps, rglgen_proc_address_t proc);
2017-05-27 01:28:49 +00:00
void fft_free(fft_t *fft);
2017-05-27 01:28:49 +00:00
void fft_init_multisample(fft_t *fft, unsigned width, unsigned height, unsigned samples);
2017-05-27 01:28:49 +00:00
void fft_step_fft(fft_t *fft, const GLshort *buffer, unsigned frames);
2017-05-27 01:28:49 +00:00
void fft_render(fft_t *fft, GLuint backbuffer, unsigned width, unsigned height);
RETRO_END_DECLS
#endif