Home | History | Annotate | Download | only in opts
      1 /*
      2  * Copyright 2012 The Android Open Source Project
      3  *
      4  * Use of this source code is governed by a BSD-style license that can be
      5  * found in the LICENSE file.
      6  */
      7 
      8 #include "SkBlitRow.h"
      9 #include "SkUtilsArm.h"
     10 
     11 #include "SkBlitRow_opts_arm_neon.h"
     12 
     13 extern const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm[] = {
     14     nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
     15 };
     16 
     17 extern const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = {
     18     nullptr, nullptr,
     19 };
     20 
     21 extern const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = {
     22     nullptr, nullptr, nullptr, nullptr,
     23 };
     24 
     25 SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) {
     26     return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags];
     27 }
     28 
     29 SkBlitRow::ColorProc16 SkBlitRow::PlatformColorFactory565(unsigned flags) {
     30     return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_colorprocs_arm)[flags];
     31 }
     32 
     33 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) {
     34     return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags];
     35 }
     36