| /* |
| * Copyright 2012 The Android Open Source Project |
| * |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| |
| #include "SkBlitRow.h" |
| #include "SkUtilsArm.h" |
| |
| #include "SkBlitRow_opts_arm_neon.h" |
| |
| static const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm[] = { |
| nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, |
| }; |
| |
| static const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = { |
| nullptr, nullptr, |
| }; |
| |
| static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = { |
| nullptr, nullptr, nullptr, nullptr, |
| }; |
| |
| SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { |
| return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags]; |
| } |
| |
| SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) { |
| return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_colorprocs_arm)[flags]; |
| } |
| |
| SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { |
| return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; |
| } |