File: ffmpeg_fft.h

package info (click to toggle)
retroarch 1.7.3%2Bdfsg1-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 49,188 kB
  • sloc: ansic: 600,492; cpp: 23,670; objc: 8,299; asm: 6,404; sh: 2,203; xml: 2,144; makefile: 1,867; python: 1,582; java: 941; perl: 393
file content (24 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FFMPEG_FFT_H_
#define FFMPEG_FFT_H_

#include <glsym/glsym.h>

#include <retro_common_api.h>

RETRO_BEGIN_DECLS

typedef struct GLFFT fft_t;

fft_t *fft_new(unsigned fft_steps, rglgen_proc_address_t proc);

void fft_free(fft_t *fft);

void fft_init_multisample(fft_t *fft, unsigned width, unsigned height, unsigned samples);

void fft_step_fft(fft_t *fft, const GLshort *buffer, unsigned frames);

void fft_render(fft_t *fft, GLuint backbuffer, unsigned width, unsigned height);

RETRO_END_DECLS

#endif