| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return NULL; | 78 return NULL; |
| 79 } | 79 } |
| 80 #endif | 80 #endif |
| 81 | 81 |
| 82 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { | 82 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
| 83 return NULL; | 83 return NULL; |
| 84 } | 84 } |
| 85 | 85 |
| 86 void SkImageDecoder::setSampleSize(int) {} | 86 void SkImageDecoder::setSampleSize(int) {} |
| 87 | 87 |
| 88 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { | |
| 89 return SkBitmap::kNo_Config; | |
| 90 } | |
| 91 | |
| 92 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | |
| 93 | |
| 94 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 88 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
| 95 int, int) { | 89 int, int) { |
| 96 return false; | 90 return false; |
| 97 } | 91 } |
| 98 | 92 |
| 99 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER | 93 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER |
| 100 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { | 94 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { |
| 101 return false; | 95 return false; |
| 102 } | 96 } |
| 103 #endif | 97 #endif |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 } | 133 } |
| 140 | 134 |
| 141 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 135 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
| 142 return NULL; | 136 return NULL; |
| 143 } | 137 } |
| 144 | 138 |
| 145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 139 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
| 146 return false; | 140 return false; |
| 147 } | 141 } |
| 148 ///////////////////////////////////////////////////////////////////////// | 142 ///////////////////////////////////////////////////////////////////////// |
| OLD | NEW |