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

Side by Side Diff: skia/ext/convolver.h

Issue 13080: Move convolver and image_operations from base/gfx to skia/ext. This is just... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/views/button.cc ('k') | skia/ext/convolver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/convolver.h:r69-2775
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_GFX_CONVOLVER_H__ 5 #ifndef SKIA_EXT_CONVOLVER_H_
6 #define BASE_GFX_CONVOLVER_H__ 6 #define SKIA_EXT_CONVOLVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 // avoid confusion with Mac OS X's math library (Carbon) 12 // avoid confusion with Mac OS X's math library (Carbon)
13 #if defined(OS_MACOSX) 13 #if defined(OS_MACOSX)
14 #undef FloatToFixed 14 #undef FloatToFixed
15 #endif 15 #endif
16 16
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // (this is ARGB when loaded into 32-bit words on a little-endian machine). 126 // (this is ARGB when loaded into 32-bit words on a little-endian machine).
127 void BGRAConvolve2D(const uint8* source_data, 127 void BGRAConvolve2D(const uint8* source_data,
128 int source_byte_row_stride, 128 int source_byte_row_stride,
129 bool source_has_alpha, 129 bool source_has_alpha,
130 const ConvolusionFilter1D& xfilter, 130 const ConvolusionFilter1D& xfilter,
131 const ConvolusionFilter1D& yfilter, 131 const ConvolusionFilter1D& yfilter,
132 uint8* output); 132 uint8* output);
133 133
134 } // namespace gfx 134 } // namespace gfx
135 135
136 #endif // BASE_GFX_CONVOLVER_H__ 136 #endif // SKIA_EXT_CONVOLVER_H_
137 137
OLDNEW
« no previous file with comments | « chrome/views/button.cc ('k') | skia/ext/convolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698