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

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

Issue 1212393002: add/fix copyrights (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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.h ('k') | src/opts/SkBlitRow_opts_SSE4.cpp » ('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 */
1 7
2 #include "SkBlitMask.h" 8 #include "SkBlitMask.h"
3 #include "SkColor_opts_neon.h" 9 #include "SkColor_opts_neon.h"
4 10
5 static void D32_A8_Black_neon(void* SK_RESTRICT dst, size_t dstRB, 11 static void D32_A8_Black_neon(void* SK_RESTRICT dst, size_t dstRB,
6 const void* SK_RESTRICT maskPtr, size_t maskRB, 12 const void* SK_RESTRICT maskPtr, size_t maskRB,
7 SkColor, int width, int height) { 13 SkColor, int width, int height) {
8 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; 14 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst;
9 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; 15 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr;
10 16
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 251
246 dst += 8; 252 dst += 8;
247 src += 8; 253 src += 8;
248 width -= 8; 254 width -= 8;
249 } 255 }
250 256
251 for (int i = 0; i < width; i++) { 257 for (int i = 0; i < width; i++) {
252 dst[i] = SkBlendLCD16(colA, colR, colG, colB, dst[i], src[i]); 258 dst[i] = SkBlendLCD16(colA, colR, colG, colB, dst[i], src[i]);
253 } 259 }
254 } 260 }
OLDNEW
« no previous file with comments | « src/opts/SkBlitMask_opts_arm_neon.h ('k') | src/opts/SkBlitRow_opts_SSE4.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698