X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FPseudoCudaType.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FPseudoCudaType.h;h=b75629a020313188b9910980d251308bd351df5a;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/common/PseudoCudaType.h b/WCudaMSE/API_Bilat_Image_GL/INC/common/PseudoCudaType.h new file mode 100755 index 0000000..b75629a --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/common/PseudoCudaType.h @@ -0,0 +1,42 @@ +#ifndef CUDA_PSEUDO_TYPE_H_ +#define CUDA_PSEUDO_TYPE_H_ + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +namespace cpu + { + + struct float2 + { + float x; + float y; + }; + + struct float3 + { + float x; + float y; + float z; + }; + + struct uchar4 + { + unsigned char x; + unsigned char y; + unsigned char z; + unsigned char w; + }; + + } + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/