浏览该文件的文档.
38 #define AKSIMD_GETELEMENT_V4F32( __vName, __num__ ) ((AkReal32*)&(__vName))[(__num__)]
39 #define AKSIMD_GETELEMENT_V2F32( __vName, __num__ ) ((AkReal32*)&(__vName))[(__num__)]
40 #define AKSIMD_GETELEMENT_V2F64( __vName, __num__ ) ((AkReal64*)&(__vName))[(__num__)]
41 #define AKSIMD_GETELEMENT_V4I32( __vName, __num__ ) ((AkInt32*)&(__vName))[(__num__)]
42 #define AKSIMD_GETELEMENT_V2I64( __vName, __num__ ) ((AkInt64*)&(__vName))[(__num__)]
47 #if defined( AK_WIN ) || defined( AK_XBOX )
51 #elif defined( AK_APPLE )
53 #include <TargetConditionals.h>
60 #elif defined( AK_ANDROID )
64 #elif defined( AK_HARMONY )
68 #elif defined( AK_PS4 )
72 #elif defined( AK_PS5 )
76 #elif defined( AK_LINUX )
80 #elif defined( AK_EMSCRIPTEN )
82 #include <AK/SoundEngine/Platforms/Emscripten/AkSimd.h>
84 #elif defined( AK_QNX )
86 #include <AK/SoundEngine/Platforms/QNX/AkSimd.h>
88 #elif defined( AK_NX )
93 #error Unsupported platform, or platform-specific SIMD not defined
99 #ifndef AKSIMD_ASSERTFLUSHZEROMODE
100 #define AKSIMD_ASSERTFLUSHZEROMODE
103 #ifndef AKSIMD_DECLARE_V4F32_TYPE
104 #define AKSIMD_DECLARE_V4F32_TYPE AKSIMD_V4F32
107 #ifndef AKSIMD_DECLARE_V4I32_TYPE
108 #define AKSIMD_DECLARE_V4I32_TYPE AKSIMD_V4I32
111 #ifndef AKSIMD_DECLARE_V4F32
112 #define AKSIMD_DECLARE_V4F32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4F32_TYPE _x = { _a, _b, _c, _d }
115 #ifndef AKSIMD_DECLARE_V4I32
116 #define AKSIMD_DECLARE_V4I32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4I32_TYPE _x = { _a, _b, _c, _d }
119 #ifndef AKSIMD_SETELEMENT_V4F32
120 #define AKSIMD_SETELEMENT_V4F32( __vName__, __num__, __value__ ) ( AKSIMD_GETELEMENT_V4F32( __vName__, __num__ ) = (__value__) )
142 #endif //_AK_DATA_TYPES_H_
AkForceInline void AKSIMD_TRANSPOSE4X4_V4F32(AKSIMD_V4F32 &A, AKSIMD_V4F32 &B, AKSIMD_V4F32 &C, AKSIMD_V4F32 &D)
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅