| 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 "SkBitmapFactory.h" | |
| 11 #include "SkImage.h" | 10 #include "SkImage.h" |
| 12 #include "SkImageDecoder.h" | 11 #include "SkImageDecoder.h" |
| 13 #include "SkImageEncoder.h" | 12 #include "SkImageEncoder.h" |
| 14 #include "SkMovie.h" | 13 #include "SkMovie.h" |
| 15 | 14 |
| 16 class SkColorTable; | 15 class SkColorTable; |
| 17 class SkStream; | 16 class SkStream; |
| 18 class SkStreamRewindable; | 17 class SkStreamRewindable; |
| 19 | 18 |
| 20 // Empty implementations for SkImageDecoder. | 19 // Empty implementations for SkImageDecoder. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return NULL; | 77 return NULL; |
| 79 } | 78 } |
| 80 | 79 |
| 81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { | 80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
| 82 return NULL; | 81 return NULL; |
| 83 } | 82 } |
| 84 | 83 |
| 85 void SkImageDecoder::setSampleSize(int) {} | 84 void SkImageDecoder::setSampleSize(int) {} |
| 86 | 85 |
| 87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*, | 86 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*, |
| 88 const SkBitmapFactory::Target*) { | 87 const SkImageDecoder::Target*) { |
| 89 return false; | 88 return false; |
| 90 } | 89 } |
| 91 | 90 |
| 92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { | 91 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { |
| 93 return SkBitmap::kNo_Config; | 92 return SkBitmap::kNo_Config; |
| 94 } | 93 } |
| 95 | 94 |
| 96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | 95 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} |
| 97 | 96 |
| 98 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 97 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 151 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
| 153 return false; | 152 return false; |
| 154 } | 153 } |
| 155 ///////////////////////////////////////////////////////////////////////// | 154 ///////////////////////////////////////////////////////////////////////// |
| 156 | 155 |
| 157 // Empty implementation for SkImages. | 156 // Empty implementation for SkImages. |
| 158 | 157 |
| 159 #include "SkImages.h" | 158 #include "SkImages.h" |
| 160 | 159 |
| 161 void SkImages::InitializeFlattenables() {} | 160 void SkImages::InitializeFlattenables() {} |
| OLD | NEW |