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

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

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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/lazy/SkDiscardablePixelRef.cpp ('k') | src/opts/SkBitmapProcState_opts_SSE2.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 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
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 "SkBitmapProcState.h" 8 #include "SkBitmapProcState.h"
9 #include "SkBitmapProcState_filter.h" 9 #include "SkBitmapProcState_filter.h"
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 S16_D16_nofilter_DX_neon, 89 S16_D16_nofilter_DX_neon,
90 S16_D16_filter_DXDY_neon, 90 S16_D16_filter_DXDY_neon,
91 S16_D16_filter_DX_neon, 91 S16_D16_filter_DX_neon,
92 92
93 SI8_D16_nofilter_DXDY_neon, 93 SI8_D16_nofilter_DXDY_neon,
94 SI8_D16_nofilter_DX_neon, 94 SI8_D16_nofilter_DX_neon,
95 SI8_D16_filter_DXDY_neon, 95 SI8_D16_filter_DXDY_neon,
96 SI8_D16_filter_DX_neon, 96 SI8_D16_filter_DX_neon,
97 97
98 // Don't support 4444 -> 565 98 // Don't support 4444 -> 565
99 NULL, NULL, NULL, NULL, 99 nullptr, nullptr, nullptr, nullptr,
100 // Don't support A8 -> 565 100 // Don't support A8 -> 565
101 NULL, NULL, NULL, NULL, 101 nullptr, nullptr, nullptr, nullptr,
102 // Don't support G8 -> 565 (but we could) 102 // Don't support G8 -> 565 (but we could)
103 NULL, NULL, NULL, NULL, 103 nullptr, nullptr, nullptr, nullptr,
104 }; 104 };
105 105
106 /////////////////////////////////////////////////////////////////////////////// 106 ///////////////////////////////////////////////////////////////////////////////
107 107
108 #include <arm_neon.h> 108 #include <arm_neon.h>
109 #include "SkConvolver.h" 109 #include "SkConvolver.h"
110 110
111 // Convolves horizontally along a single row. The row data is given in 111 // Convolves horizontally along a single row. The row data is given in
112 // |srcData| and continues for the numValues() of the filter. 112 // |srcData| and continues for the numValues() of the filter.
113 void convolveHorizontally_neon(const unsigned char* srcData, 113 void convolveHorizontally_neon(const unsigned char* srcData,
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 } 515 }
516 } 516 }
517 517
518 void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs) { 518 void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs) {
519 procs->fExtraHorizontalReads = 3; 519 procs->fExtraHorizontalReads = 3;
520 procs->fConvolveVertically = &convolveVertically_neon; 520 procs->fConvolveVertically = &convolveVertically_neon;
521 procs->fConvolve4RowsHorizontally = &convolve4RowsHorizontally_neon; 521 procs->fConvolve4RowsHorizontally = &convolve4RowsHorizontally_neon;
522 procs->fConvolveHorizontally = &convolveHorizontally_neon; 522 procs->fConvolveHorizontally = &convolveHorizontally_neon;
523 procs->fApplySIMDPadding = &applySIMDPadding_neon; 523 procs->fApplySIMDPadding = &applySIMDPadding_neon;
524 } 524 }
OLDNEW
« no previous file with comments | « src/lazy/SkDiscardablePixelRef.cpp ('k') | src/opts/SkBitmapProcState_opts_SSE2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698