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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 return SkBitmap::kNo_Config; | 87 return SkBitmap::kNo_Config; |
88 } | 88 } |
89 | 89 |
90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | 90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} |
91 | 91 |
92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
93 int, int) { | 93 int, int) { |
94 return false; | 94 return false; |
95 } | 95 } |
96 | 96 |
97 bool SkImageDecoder::chooseFromOneChoice(SkBitmap::Config, int, int) const { | 97 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { |
98 return false; | 98 return false; |
99 } | 99 } |
100 | 100 |
101 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { | 101 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { |
102 return false; | 102 return false; |
103 } | 103 } |
104 | 104 |
105 SkBitmap::Config SkImageDecoder::getPrefConfig(SrcDepth, bool) const { | |
106 return SkBitmap::kNo_Config; | |
107 } | |
108 | |
109 | |
110 ///////////////////////////////////////////////////////////////////////// | 105 ///////////////////////////////////////////////////////////////////////// |
111 | 106 |
112 // Empty implementation for SkMovie. | 107 // Empty implementation for SkMovie. |
113 | 108 |
114 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { | 109 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { |
115 return NULL; | 110 return NULL; |
116 } | 111 } |
117 | 112 |
118 ///////////////////////////////////////////////////////////////////////// | 113 ///////////////////////////////////////////////////////////////////////// |
119 | 114 |
(...skipping 20 matching lines...) Expand all Loading... |
140 } | 135 } |
141 | 136 |
142 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 137 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
143 return NULL; | 138 return NULL; |
144 } | 139 } |
145 | 140 |
146 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 141 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
147 return false; | 142 return false; |
148 } | 143 } |
149 ///////////////////////////////////////////////////////////////////////// | 144 ///////////////////////////////////////////////////////////////////////// |
OLD | NEW |