OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 The Android Open Source Project |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkBlitRow.h" | 8 #include "SkBlitRow.h" |
9 #include "SkColorPriv.h" | 9 #include "SkColorPriv.h" |
10 #include "SkDither.h" | 10 #include "SkDither.h" |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 #endif // USE_ARM_CODE | 374 #endif // USE_ARM_CODE |
375 | 375 |
376 SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { | 376 SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { |
377 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags]; | 377 return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags]; |
378 } | 378 } |
379 | 379 |
380 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { | 380 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { |
381 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; | 381 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; |
382 } | 382 } |
383 | 383 |
| 384 SkBlitRow::Blend32_16_row_Proc SkBlitRow::PlatformBlend32_16_rowProc() { |
| 385 return SK_ARM_NEON_WRAP(blend32_16_row); |
| 386 } |
| 387 |
384 /////////////////////////////////////////////////////////////////////////////// | 388 /////////////////////////////////////////////////////////////////////////////// |
385 #define Color32_arm NULL | 389 #define Color32_arm NULL |
386 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { | 390 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
387 return SK_ARM_NEON_WRAP(Color32_arm); | 391 return SK_ARM_NEON_WRAP(Color32_arm); |
388 } | 392 } |
389 | 393 |
390 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { | 394 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { |
391 return NULL; | 395 return NULL; |
392 } | 396 } |
OLD | NEW |