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 | 9 |
10 #include "SkImageDecoder.h" | 10 #include "SkImageDecoder.h" |
11 #include "SkImageEncoder.h" | 11 #include "SkImageEncoder.h" |
12 #include "SkMovie.h" | 12 #include "SkMovie.h" |
13 | 13 |
14 class SkBitmap; | 14 class SkBitmap; |
15 class SkStream; | 15 class SkStream; |
16 | 16 |
17 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { | 17 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { |
18 return NULL; | 18 return NULL; |
19 } | 19 } |
20 | 20 |
21 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap*, SkBitmap::Config, | 21 bool SkImageDecoder::DecodeFile(const char file[], SkBitmap*, SkBitmap::Config, |
22 SkImageDecoder::Mode, SkImageDecoder::Format*) { | 22 SkImageDecoder::Mode, SkImageDecoder::Format*) { |
23 return false; | 23 return false; |
24 } | 24 } |
25 | 25 |
26 bool SkImageDecoder::decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref,
Mode) { | 26 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkBitmap::Config, Mode, bool)
{ |
27 return false; | 27 return false; |
28 } | 28 } |
29 | 29 |
30 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, SkImag
eDecoder::Mode, | 30 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, SkImag
eDecoder::Mode, |
31 SkImageDecoder::Format*) { | 31 SkImageDecoder::Format*) { |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkBitmap::Conf
ig, | 35 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkBitmap::Conf
ig, |
36 SkImageDecoder::Mode, SkImageDecoder::Format*)
{ | 36 SkImageDecoder::Mode, SkImageDecoder::Format*)
{ |
(...skipping 25 matching lines...) Expand all Loading... |
62 | 62 |
63 bool SkImageEncoder::encodeStream(SkWStream*, const SkBitmap&, int) { | 63 bool SkImageEncoder::encodeStream(SkWStream*, const SkBitmap&, int) { |
64 return false; | 64 return false; |
65 } | 65 } |
66 | 66 |
67 ///////////////////////////////////////////////////////////////////////// | 67 ///////////////////////////////////////////////////////////////////////// |
68 | 68 |
69 #include "SkImages.h" | 69 #include "SkImages.h" |
70 | 70 |
71 void SkImages::InitializeFlattenables() {} | 71 void SkImages::InitializeFlattenables() {} |
OLD | NEW |