OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkBitmapFactory.h" | 10 #include "SkBitmapFactory.h" |
11 #include "SkImage.h" | 11 #include "SkImage.h" |
12 #include "SkImageDecoder.h" | 12 #include "SkImageDecoder.h" |
13 #include "SkImageEncoder.h" | 13 #include "SkImageEncoder.h" |
14 #include "SkMovie.h" | 14 #include "SkMovie.h" |
15 | 15 |
16 class SkColorTable; | 16 class SkColorTable; |
17 class SkStream; | 17 class SkStream; |
18 class SkStreamRewindable; | 18 class SkStreamRewindable; |
19 | 19 |
20 // Empty implementations for SkImageDecoder. | 20 // Empty implementations for SkImageDecoder. |
21 | 21 |
| 22 SkImageDecoder::SkImageDecoder() {} |
| 23 |
| 24 SkImageDecoder::~SkImageDecoder() {} |
| 25 |
22 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { | 26 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { |
23 return NULL; | 27 return NULL; |
24 } | 28 } |
25 | 29 |
26 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {} | 30 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {} |
27 | 31 |
28 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, | 32 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, |
29 SkImageDecoder::Mode, SkImageDecoder::Format*) { | 33 SkImageDecoder::Mode, SkImageDecoder::Format*) { |
30 return false; | 34 return false; |
31 } | 35 } |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
149 return false; | 153 return false; |
150 } | 154 } |
151 ///////////////////////////////////////////////////////////////////////// | 155 ///////////////////////////////////////////////////////////////////////// |
152 | 156 |
153 // Empty implementation for SkImages. | 157 // Empty implementation for SkImages. |
154 | 158 |
155 #include "SkImages.h" | 159 #include "SkImages.h" |
156 | 160 |
157 void SkImages::InitializeFlattenables() {} | 161 void SkImages::InitializeFlattenables() {} |
OLD | NEW |