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 | 18 |
19 // Empty implementations for SkImageDecoder. | 19 // Empty implementations for SkImageDecoder. |
20 | 20 |
21 SkImageDecoder* SkImageDecoder::Factory(SkStream*) { | 21 SkImageDecoder* SkImageDecoder::Factory(SkStream*) { |
22 return NULL; | 22 return NULL; |
23 } | 23 } |
24 | 24 |
25 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, | 25 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, |
26 SkImageDecoder::Mode, SkImageDecoder::Format*) { | 26 SkImageDecoder::Mode, SkImageDecoder::Format*) { |
27 return false; | 27 return false; |
28 } | 28 } |
29 | 29 |
30 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkBitmap::Config, Mode, bool)
{ | 30 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkBitmap::Config, Mode) { |
31 return false; | 31 return false; |
32 } | 32 } |
33 | 33 |
34 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, | 34 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, |
35 SkImageDecoder::Mode, | 35 SkImageDecoder::Mode, |
36 SkImageDecoder::Format*) { | 36 SkImageDecoder::Format*) { |
37 return false; | 37 return false; |
38 } | 38 } |
39 | 39 |
40 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, | 40 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
146 return false; | 146 return false; |
147 } | 147 } |
148 ///////////////////////////////////////////////////////////////////////// | 148 ///////////////////////////////////////////////////////////////////////// |
149 | 149 |
150 // Empty implementation for SkImages. | 150 // Empty implementation for SkImages. |
151 | 151 |
152 #include "SkImages.h" | 152 #include "SkImages.h" |
153 | 153 |
154 void SkImages::InitializeFlattenables() {} | 154 void SkImages::InitializeFlattenables() {} |
OLD | NEW |