Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: src/opts/SkBlitRow_opts_SSE4.cpp

Issue 1212393002: add/fix copyrights (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/opts/SkBlitMask_opts_arm_neon.cpp ('k') | src/opts/SkColor_opts_neon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 * Copyright 2015 Google Inc.
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
1 #include "SkBlitRow_opts_SSE4.h" 8 #include "SkBlitRow_opts_SSE4.h"
2 9
3 // Some compilers can't compile SSSE3 or SSE4 intrinsics. We give them stub met hods. 10 // Some compilers can't compile SSSE3 or SSE4 intrinsics. We give them stub met hods.
4 // The stubs should never be called, so we make them crash just to confirm that. 11 // The stubs should never be called, so we make them crash just to confirm that.
5 #if SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE41 12 #if SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE41
6 void S32A_Opaque_BlitRow32_SSE4(SkPMColor* SK_RESTRICT, const SkPMColor* SK_REST RICT, int, U8CPU) { 13 void S32A_Opaque_BlitRow32_SSE4(SkPMColor* SK_RESTRICT, const SkPMColor* SK_REST RICT, int, U8CPU) {
7 sk_throw(); 14 sk_throw();
8 } 15 }
9 16
10 #else 17 #else
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Wrap up the last <= 15 pixels. 62 // Wrap up the last <= 15 pixels.
56 for (int i = count16*16; i < count; i++) { 63 for (int i = count16*16; i < count; i++) {
57 // This check is not really necessarily, but it prevents pointless autov ectorization. 64 // This check is not really necessarily, but it prevents pointless autov ectorization.
58 if (src[i] & 0xFF000000) { 65 if (src[i] & 0xFF000000) {
59 dst[i] = SkPMSrcOver(src[i], dst[i]); 66 dst[i] = SkPMSrcOver(src[i], dst[i]);
60 } 67 }
61 } 68 }
62 } 69 }
63 70
64 #endif 71 #endif
OLDNEW
« no previous file with comments | « src/opts/SkBlitMask_opts_arm_neon.cpp ('k') | src/opts/SkColor_opts_neon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698