michael@0: /* michael@0: * Copyright 2014 ARM Ltd. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #include "SkBlurImage_opts_neon.h" michael@0: #include "SkUtilsArm.h" michael@0: michael@0: bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, michael@0: SkBoxBlurProc* boxBlurY, michael@0: SkBoxBlurProc* boxBlurXY, michael@0: SkBoxBlurProc* boxBlurYX) { michael@0: #if SK_ARM_NEON_IS_NONE michael@0: return false; michael@0: #else michael@0: #if SK_ARM_NEON_IS_DYNAMIC michael@0: if (!sk_cpu_arm_has_neon()) { michael@0: return false; michael@0: } michael@0: #endif michael@0: return SkBoxBlurGetPlatformProcs_NEON(boxBlurX, boxBlurY, boxBlurXY, boxBlurYX); michael@0: #endif michael@0: }