| OLD | NEW |
| 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 SkBmpCodec_DEFINED | 7 #ifndef SkBmpCodec_DEFINED |
| 8 #define SkBmpCodec_DEFINED | 8 #define SkBmpCodec_DEFINED |
| 9 | 9 |
| 10 #include "SkCodec.h" | 10 #include "SkCodec.h" |
| 11 #include "SkColorSpace.h" |
| 11 #include "SkColorTable.h" | 12 #include "SkColorTable.h" |
| 12 #include "SkImageInfo.h" | 13 #include "SkImageInfo.h" |
| 13 #include "SkStream.h" | 14 #include "SkStream.h" |
| 14 #include "SkSwizzler.h" | 15 #include "SkSwizzler.h" |
| 15 #include "SkTypes.h" | 16 #include "SkTypes.h" |
| 16 | 17 |
| 17 /* | 18 /* |
| 18 * This class enables code sharing between its bmp codec subclasses. The | 19 * This class enables code sharing between its bmp codec subclasses. The |
| 19 * subclasses actually do the work. | 20 * subclasses actually do the work. |
| 20 */ | 21 */ |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 bool onSkipScanlines(int count) override; | 139 bool onSkipScanlines(int count) override; |
| 139 | 140 |
| 140 const uint16_t fBitsPerPixel; | 141 const uint16_t fBitsPerPixel; |
| 141 const SkScanlineOrder fRowOrder; | 142 const SkScanlineOrder fRowOrder; |
| 142 const size_t fSrcRowBytes; | 143 const size_t fSrcRowBytes; |
| 143 | 144 |
| 144 typedef SkCodec INHERITED; | 145 typedef SkCodec INHERITED; |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 #endif | 148 #endif |
| OLD | NEW |