| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 const char* SkImageDecoder::GetFormatName(Format) { | 63 const char* SkImageDecoder::GetFormatName(Format) { |
| 64 return NULL; | 64 return NULL; |
| 65 } | 65 } |
| 66 | 66 |
| 67 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) { | 67 SkImageDecoder::Peeker* SkImageDecoder::setPeeker(Peeker*) { |
| 68 return NULL; | 68 return NULL; |
| 69 } | 69 } |
| 70 | 70 |
| 71 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER | |
| 72 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { | |
| 73 return NULL; | |
| 74 } | |
| 75 #endif | |
| 76 | |
| 77 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { | 71 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
| 78 return NULL; | 72 return NULL; |
| 79 } | 73 } |
| 80 | 74 |
| 81 void SkImageDecoder::setSampleSize(int) {} | 75 void SkImageDecoder::setSampleSize(int) {} |
| 82 | 76 |
| 83 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 77 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
| 84 int, int) { | 78 int, int) { |
| 85 return false; | 79 return false; |
| 86 } | 80 } |
| 87 | 81 |
| 88 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER | |
| 89 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { | |
| 90 return false; | |
| 91 } | |
| 92 #endif | |
| 93 | |
| 94 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { | 82 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { |
| 95 return false; | 83 return false; |
| 96 } | 84 } |
| 97 | 85 |
| 98 ///////////////////////////////////////////////////////////////////////// | 86 ///////////////////////////////////////////////////////////////////////// |
| 99 | 87 |
| 100 // Empty implementation for SkMovie. | 88 // Empty implementation for SkMovie. |
| 101 | 89 |
| 102 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { | 90 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { |
| 103 return NULL; | 91 return NULL; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 128 } | 116 } |
| 129 | 117 |
| 130 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 118 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
| 131 return NULL; | 119 return NULL; |
| 132 } | 120 } |
| 133 | 121 |
| 134 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 122 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
| 135 return false; | 123 return false; |
| 136 } | 124 } |
| 137 ///////////////////////////////////////////////////////////////////////// | 125 ///////////////////////////////////////////////////////////////////////// |
| OLD | NEW |