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

Side by Side Diff: src/pdf/SkJpegInfo.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/pdf/SkDeflate.cpp ('k') | src/pdf/SkJpegInfo.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 2015 Google Inc. 2 * Copyright 2015 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 #ifndef SkJpegInfo_DEFINED 7 #ifndef SkJpegInfo_DEFINED
8 #define SkJpegInfo_DEFINED 8 #define SkJpegInfo_DEFINED
9 9
10 #include "SkSize.h" 10 #include "SkSize.h"
11 11
12 class SkData; 12 class SkData;
13 13
14 struct SkJFIFInfo { 14 struct SkJFIFInfo {
15 SkISize fSize; 15 SkISize fSize;
16 enum Type { 16 enum Type {
17 kGrayscale, 17 kGrayscale,
18 kYCbCr, 18 kYCbCr,
19 } fType; 19 } fType;
20 }; 20 };
21 21
22 /** Returns true iff the data seems to be a valid JFIF JPEG image. 22 /** Returns true iff the data seems to be a valid JFIF JPEG image.
23 If so and if info is not nullptr, populate info. 23 If so and if info is not nullptr, populate info.
24 24
25 JPEG/JFIF References: 25 JPEG/JFIF References:
26 http://www.w3.org/Graphics/JPEG/itu-t81.pdf 26 http://www.w3.org/Graphics/JPEG/itu-t81.pdf
27 http://www.w3.org/Graphics/JPEG/jfif3.pdf 27 http://www.w3.org/Graphics/JPEG/jfif3.pdf
28 */ 28 */
29 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info); 29 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info);
30 30
31 #endif // SkJpegInfo_DEFINED 31 #endif // SkJpegInfo_DEFINED
OLDNEW
« no previous file with comments | « src/pdf/SkDeflate.cpp ('k') | src/pdf/SkJpegInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698