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

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

Issue 6334070: SIMD implementation of Convolver for Lanczos filter etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to fix win Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 SKIA_EXT_IMAGE_OPERATIONS_H_ 5 #ifndef SKIA_EXT_IMAGE_OPERATIONS_H_
6 #define SKIA_EXT_IMAGE_OPERATIONS_H_ 6 #define SKIA_EXT_IMAGE_OPERATIONS_H_
7 #pragma once 7 #pragma once
8 8
9 class SkBitmap; 9 class SkBitmap;
10 struct SkIRect; 10 struct SkIRect;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Supports all methods except RESIZE_SUBPIXEL. 114 // Supports all methods except RESIZE_SUBPIXEL.
115 static SkBitmap ResizeBasic(const SkBitmap& source, 115 static SkBitmap ResizeBasic(const SkBitmap& source,
116 ResizeMethod method, 116 ResizeMethod method,
117 int dest_width, int dest_height, 117 int dest_width, int dest_height,
118 const SkIRect& dest_subset); 118 const SkIRect& dest_subset);
119 119
120 // Subpixel renderer. 120 // Subpixel renderer.
121 static SkBitmap ResizeSubpixel(const SkBitmap& source, 121 static SkBitmap ResizeSubpixel(const SkBitmap& source,
122 int dest_width, int dest_height, 122 int dest_width, int dest_height,
123 const SkIRect& dest_subset); 123 const SkIRect& dest_subset);
124
125 static bool hasSSE2();
124 }; 126 };
125 127
126 } // namespace skia 128 } // namespace skia
127 129
128 #endif // SKIA_EXT_IMAGE_OPERATIONS_H_ 130 #endif // SKIA_EXT_IMAGE_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698