X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcpu%2FcudaType_CPU.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcpu%2FcudaType_CPU.h;h=52a3b22989e72c48bed495831d9a52c4bd747dc1;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/cpu/cudaType_CPU.h b/WCudaMSE/API_Bilat_Image_GL/INC/cpu/cudaType_CPU.h new file mode 100755 index 0000000..52a3b22 --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/cpu/cudaType_CPU.h @@ -0,0 +1,44 @@ +#ifndef CUDA_TYPE_CPU_H_ +#define CUDA_TYPE_CPU_H_ + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +namespace cpu + { + + //#define uchar unsigned char + typedef unsigned char uchar; //Mieux, en plus tu as la coloration synthaxique + + struct float2 + { + float x; + float y; + }; + + struct float3 + { + float x; + float y; + float z; + }; + + struct uchar4 + { + uchar x; + uchar y; + uchar z; + uchar w; + }; + } + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/