Openholo  v4.2
Open Source Digital Holographic Library
ophPAS_GPU.h File Reference
#include "ophGen.h"
#include <cuda.h>
Include dependency graph for ophPAS_GPU.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  constValue
 
class  ophPAS_GPU
 

Macros

#define PI   (3.14159265358979323846f)
 
#define M2_PI   (PI*2.0)
 
#define RADIANS   (PI/180.0)
 
#define DEGREE2   (180./PI)
 
#define NUMTBL   1024
 
#define NUMTBL2   (NUMTBL-1)
 
#define MAX_STR_LEN   4000
 
#define FFT_SEGMENT_SIZE   64
 

Functions

void cuda_Wrapper_phaseCalc (float *inRe, float *inIm, constValue val, float &cx, float &cy, float &cz, float &amp, ivec3 &seg)
 

Macro Definition Documentation

◆ DEGREE2

#define DEGREE2   (180./PI)

Definition at line 12 of file ophPAS_GPU.h.

◆ FFT_SEGMENT_SIZE

#define FFT_SEGMENT_SIZE   64

Definition at line 18 of file ophPAS_GPU.h.

◆ M2_PI

#define M2_PI   (PI*2.0)

Definition at line 9 of file ophPAS_GPU.h.

◆ MAX_STR_LEN

#define MAX_STR_LEN   4000

Definition at line 16 of file ophPAS_GPU.h.

◆ NUMTBL

#define NUMTBL   1024

Definition at line 14 of file ophPAS_GPU.h.

◆ NUMTBL2

#define NUMTBL2   (NUMTBL-1)

Definition at line 15 of file ophPAS_GPU.h.

◆ PI

#define PI   (3.14159265358979323846f)

Definition at line 8 of file ophPAS_GPU.h.

◆ RADIANS

#define RADIANS   (PI/180.0)

Definition at line 10 of file ophPAS_GPU.h.

Function Documentation

◆ cuda_Wrapper_phaseCalc()

void cuda_Wrapper_phaseCalc ( float *  inRe,
float *  inIm,
constValue  val,
float &  cx,
float &  cy,
float &  cz,
float &  amp,
ivec3 seg 
)