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 "SkImage.h" | 10 #include "SkImage.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { | 25 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { |
26 return NULL; | 26 return NULL; |
27 } | 27 } |
28 | 28 |
29 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {} | 29 void SkImageDecoder::copyFieldsToOther(SkImageDecoder* ) {} |
30 | 30 |
31 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkColorType, Mode, Form
at*) { | 31 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkColorType, Mode, Form
at*) { |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkColorType, Mode) { | 35 SkImageDecoder::Result SkImageDecoder::decode(SkStream*, SkBitmap*, SkColorType,
Mode) { |
36 return false; | 36 return kFailure; |
37 } | 37 } |
38 | 38 |
39 bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, M
ode, Format*) { | 39 bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, M
ode, Format*) { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M
ode, Format*) { | 43 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M
ode, Format*) { |
44 return false; | 44 return false; |
45 } | 45 } |
46 | 46 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 } | 128 } |
129 | 129 |
130 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 130 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
131 return NULL; | 131 return NULL; |
132 } | 132 } |
133 | 133 |
134 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 134 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
135 return false; | 135 return false; |
136 } | 136 } |
137 ///////////////////////////////////////////////////////////////////////// | 137 ///////////////////////////////////////////////////////////////////////// |
OLD | NEW |