00001 00002 // 00003 // Copyright (c) 2011 Audiokinetic Inc. / All Rights Reserved 00004 // 00006 00007 // AkSimd.h 00008 00011 00012 00013 #pragma once 00014 00015 #include <AK/SoundEngine/Common/AkTypes.h> 00016 00017 #define AKSIMD_GETELEMENT_V4F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00018 #define AKSIMD_GETELEMENT_V2F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00019 #define AKSIMD_GETELEMENT_V4I32( __vName, __num__ ) ((int*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00020 00021 #ifdef AK_CPU_ARM_NEON 00022 #include <AK/SoundEngine/Platforms/arm_neon/AkSimd.h> 00023 #else 00024 #include <AK/SoundEngine/Platforms/Generic/AkSimd.h> 00025 #endif 00026
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요