OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glfft.cpp File Reference
#include "glfft.hpp"
#include <algorithm>
#include <stdexcept>
#include <numeric>
#include <fstream>
#include <sstream>
#include <assert.h>

Go to the source code of this file.

Classes

struct  WorkGroupSize
 
struct  Radix
 
struct  CostPropagate
 

Macros

#define GLFFT_SHADER_FROM_FILE
 

Functions

static void reduce (unsigned &wg_size, unsigned &divisor)
 
static unsigned radix_to_wg_z (unsigned radix)
 
static Radix build_radix (unsigned Nx, unsigned Ny, Mode mode, unsigned vector_size, bool shared_banked, unsigned radix, WorkGroupSize size, bool pow2_stride)
 
static Radix build_resolve_radix (unsigned Nx, unsigned Ny, WorkGroupSize size)
 
static bool is_radix_valid (unsigned Nx, unsigned Ny, Mode mode, unsigned vector_size, unsigned radix, WorkGroupSize size, bool pow2_stride)
 
static double find_cost (unsigned Nx, unsigned Ny, Mode mode, unsigned radix, const FFTOptions &options, const FFTWisdom &wisdom)
 
static vector< Radixsplit_radices (unsigned Nx, unsigned Ny, Mode mode, Target input_target, Target output_target, const FFTOptions &options, bool pow2_stride, const FFTWisdom &wisdom, double &accumulate_cost)
 
static unsigned mode_to_input_components (Mode mode)
 
static void print_radix_splits (const vector< Radix > radices[2])
 
static unsigned type_to_input_components (Type type)
 

Macro Definition Documentation

#define GLFFT_SHADER_FROM_FILE

Definition at line 27 of file glfft.cpp.

Function Documentation

static Radix build_radix ( unsigned  Nx,
unsigned  Ny,
Mode  mode,
unsigned  vector_size,
bool  shared_banked,
unsigned  radix,
WorkGroupSize  size,
bool  pow2_stride 
)
static

Definition at line 86 of file glfft.cpp.

static Radix build_resolve_radix ( unsigned  Nx,
unsigned  Ny,
WorkGroupSize  size 
)
static

Definition at line 144 of file glfft.cpp.

static double find_cost ( unsigned  Nx,
unsigned  Ny,
Mode  mode,
unsigned  radix,
const FFTOptions options,
const FFTWisdom wisdom 
)
static

Definition at line 163 of file glfft.cpp.

static bool is_radix_valid ( unsigned  Nx,
unsigned  Ny,
Mode  mode,
unsigned  vector_size,
unsigned  radix,
WorkGroupSize  size,
bool  pow2_stride 
)
static

Definition at line 150 of file glfft.cpp.

static unsigned mode_to_input_components ( Mode  mode)
inlinestatic

Definition at line 355 of file glfft.cpp.

static void print_radix_splits ( const vector< Radix radices[2])
inlinestatic

Definition at line 450 of file glfft.cpp.

static unsigned radix_to_wg_z ( unsigned  radix)
static

Definition at line 71 of file glfft.cpp.

static void reduce ( unsigned &  wg_size,
unsigned &  divisor 
)
static

Definition at line 57 of file glfft.cpp.

static vector<Radix> split_radices ( unsigned  Nx,
unsigned  Ny,
Mode  mode,
Target  input_target,
Target  output_target,
const FFTOptions options,
bool  pow2_stride,
const FFTWisdom wisdom,
double &  accumulate_cost 
)
static

Definition at line 198 of file glfft.cpp.

static unsigned type_to_input_components ( Type  type)
inlinestatic

Definition at line 479 of file glfft.cpp.