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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M
ode, Format*) { | 42 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, SkColorType, M
ode, Format*) { |
43 return false; | 43 return false; |
44 } | 44 } |
45 | 45 |
46 bool SkImageDecoder::buildTileIndex(SkStreamRewindable*, int *width, int *height
) { | 46 bool SkImageDecoder::buildTileIndex(SkStreamRewindable*, int *width, int *height
) { |
47 return false; | 47 return false; |
48 } | 48 } |
49 | 49 |
50 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, | 50 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, |
51 int* /*width*/, int* /*height*/) { | 51 int* /*width*/, int* /*height*/) { |
52 SkDELETE(stream); | 52 delete stream; |
53 return false; | 53 return false; |
54 } | 54 } |
55 | 55 |
56 | 56 |
57 bool SkImageDecoder::decodeSubset(SkBitmap*, const SkIRect&, SkColorType) { | 57 bool SkImageDecoder::decodeSubset(SkBitmap*, const SkIRect&, SkColorType) { |
58 return false; | 58 return false; |
59 } | 59 } |
60 | 60 |
61 SkImageDecoder::Format SkImageDecoder::getFormat() const { | 61 SkImageDecoder::Format SkImageDecoder::getFormat() const { |
62 return kUnknown_Format; | 62 return kUnknown_Format; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 } | 122 } |
123 | 123 |
124 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 124 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
125 return NULL; | 125 return NULL; |
126 } | 126 } |
127 | 127 |
128 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 128 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
129 return false; | 129 return false; |
130 } | 130 } |
131 ///////////////////////////////////////////////////////////////////////// | 131 ///////////////////////////////////////////////////////////////////////// |
OLD | NEW |