OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GLFFT Namespace Reference

Classes

class  FFT
 
struct  Parameters
 
struct  FFTOptions
 Options for FFT implementation. Defaults for performance as conservative. More...
 
class  Buffer
 
class  Texture
 
class  Program
 
class  ProgramCache
 
struct  WisdomPass
 
struct  FFTStaticWisdom
 
class  FFTWisdom
 

Enumerations

enum  Direction { Forward = -1, InverseConvolve = 0, Inverse = 1 }
 
enum  Mode {
  Horizontal, HorizontalDual, Vertical, VerticalDual,
  ResolveRealToComplex, ResolveComplexToReal
}
 
enum  Type { ComplexToComplex, ComplexToComplexDual, ComplexToReal, RealToComplex }
 
enum  Target { SSBO, Image, ImageReal }
 

Detailed Description

GLFFT doesn't try to preserve GL state in any way. E.g. SHADER_STORAGE_BUFFER bindings, programs bound, texture bindings, etc. Applications calling this library must expect that some GL state will be modified. No rendering state associated with graphics will be modified.

Enumeration Type Documentation

Enumerator
Forward 

Forward FFT transform.

InverseConvolve 

Inverse FFT transform, but with two inputs (in frequency domain) which are multiplied together for convolution.

Inverse 

Inverse FFT transform.

Definition at line 36 of file glfft_common.hpp.

Enumerator
Horizontal 
HorizontalDual 
Vertical 
VerticalDual 
ResolveRealToComplex 
ResolveComplexToReal 

Definition at line 47 of file glfft_common.hpp.

Enumerator
SSBO 

GL_SHADER_STORAGE_BUFFER.

Image 

Textures, when used as output, type is determined by transform type. ComplexToComplex / RealToComplex -> GL_RG16F ComplexToComplexDual -> GL_RGBA16F

ImageReal 

Real-valued (single component) textures, when used as output, type is determined by transform type. ComplexToReal -> GL_R32F (because GLES 3.1 doesn't have GL_R16F image type).

Definition at line 71 of file glfft_common.hpp.

Enumerator
ComplexToComplex 

Regular complex-to-complex transform.

ComplexToComplexDual 

Complex-to-complex dual transform where the complex value is four-dimensional, i.e. a vector of two complex values. Typically used to transform RGBA data.

ComplexToReal 

Complex-to-real transform. N / 2 + 1 complex values are used per row with a stride of N complex samples.

RealToComplex 

Real-to-complex transform. N / 2 + 1 complex output samples are created per row with a stride of N complex samples.

Definition at line 58 of file glfft_common.hpp.