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 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 | 37 |
38 bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, M
ode, Format*) { | 38 bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, M
ode, Format*) { |
39 return false; | 39 return false; |
40 } | 40 } |
41 | 41 |
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::decodeYUV8Planes(SkStream*, SkISize[3], void*[3], |
| 47 size_t[3], SkYUVColorSpace*) { |
| 48 return false; |
| 49 } |
| 50 |
46 SkImageDecoder::Format SkImageDecoder::getFormat() const { | 51 SkImageDecoder::Format SkImageDecoder::getFormat() const { |
47 return kUnknown_Format; | 52 return kUnknown_Format; |
48 } | 53 } |
49 | 54 |
50 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable*) { | 55 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable*) { |
51 return kUnknown_Format; | 56 return kUnknown_Format; |
52 } | 57 } |
53 | 58 |
54 const char* SkImageDecoder::GetFormatName(Format) { | 59 const char* SkImageDecoder::GetFormatName(Format) { |
55 return nullptr; | 60 return nullptr; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 112 } |
108 | 113 |
109 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { | 114 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { |
110 return nullptr; | 115 return nullptr; |
111 } | 116 } |
112 | 117 |
113 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 118 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
114 return false; | 119 return false; |
115 } | 120 } |
116 ///////////////////////////////////////////////////////////////////////// | 121 ///////////////////////////////////////////////////////////////////////// |
OLD | NEW |