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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.h

Issue 2503973002: Add image color space histograms (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BitmapImageMetrics_h 5 #ifndef BitmapImageMetrics_h
6 #define BitmapImageMetrics_h 6 #define BitmapImageMetrics_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/ImageOrientation.h" 9 #include "platform/graphics/ImageOrientation.h"
10 #include "third_party/skia/include/core/SkColorSpace.h" 10 #include "third_party/skia/include/core/SkColorSpace.h"
(...skipping 30 matching lines...) Expand all
41 GammaInvalid = 6, 41 GammaInvalid = 6,
42 GammaExponent = 7, 42 GammaExponent = 7,
43 GammaTable = 8, 43 GammaTable = 8,
44 GammaParametric = 9, 44 GammaParametric = 9,
45 GammaNamed = 10, 45 GammaNamed = 10,
46 GammaEnd = GammaNamed + 1, 46 GammaEnd = GammaNamed + 1,
47 }; 47 };
48 48
49 static void countDecodedImageType(const String& type); 49 static void countDecodedImageType(const String& type);
50 static void countImageOrientation(const ImageOrientationEnum); 50 static void countImageOrientation(const ImageOrientationEnum);
51 static void countGamma(SkColorSpace*); 51 static void countImageGamma(SkColorSpace*);
52 static void countOutputGamma(SkColorSpace*);
53
54 private:
55 static Gamma getColorSpaceGamma(SkColorSpace*);
52 }; 56 };
53 57
54 } // namespace blink 58 } // namespace blink
55 59
56 #endif 60 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/BitmapImageMetrics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698