| 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 "SkColorTable.h" | 11 #include "SkColorTable.h" |
| 12 #include "SkImageInfo.h" | 12 #include "SkImageInfo.h" |
| 13 #include "SkMaskSwizzler.h" | |
| 14 #include "SkStream.h" | 13 #include "SkStream.h" |
| 15 #include "SkSwizzler.h" | 14 #include "SkSwizzler.h" |
| 16 #include "SkTypes.h" | 15 #include "SkTypes.h" |
| 17 | 16 |
| 18 /* | 17 /* |
| 19 * This class enables code sharing between its bmp codec subclasses. The | 18 * This class enables code sharing between its bmp codec subclasses. The |
| 20 * subclasses actually do the work. | 19 * subclasses actually do the work. |
| 21 */ | 20 */ |
| 22 class SkBmpCodec : public SkCodec { | 21 class SkBmpCodec : public SkCodec { |
| 23 public: | 22 public: |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 153 |
| 155 // TODO(msarett): Override default skipping with something more clever. | 154 // TODO(msarett): Override default skipping with something more clever. |
| 156 | 155 |
| 157 const uint16_t fBitsPerPixel; | 156 const uint16_t fBitsPerPixel; |
| 158 const SkScanlineOrder fRowOrder; | 157 const SkScanlineOrder fRowOrder; |
| 159 | 158 |
| 160 typedef SkCodec INHERITED; | 159 typedef SkCodec INHERITED; |
| 161 }; | 160 }; |
| 162 | 161 |
| 163 #endif | 162 #endif |
| OLD | NEW |