Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: src/ports/SkImageDecoder_empty.cpp

Issue 1456603002: Add decodeYUV8Planes to SkImageDecoder_empty (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698