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

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

Issue 2449213004: Remove SkMovie and giflib (Closed)
Patch Set: Created 4 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 | « src/images/SkMovie_FactoryDefault.cpp ('k') | third_party/giflib/BUILD.gn » ('j') | 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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkImage.h" 9 #include "SkImage.h"
10 #include "SkImageEncoder.h" 10 #include "SkImageEncoder.h"
11 #include "SkMovie.h"
12 #include "SkPixelSerializer.h" 11 #include "SkPixelSerializer.h"
13 #include "SkStream.h" 12 #include "SkStream.h"
14 13
15 ///////////////////////////////////////////////////////////////////////// 14 /////////////////////////////////////////////////////////////////////////
16 15
17 // Empty implementation for SkMovie.
18
19 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) {
20 return nullptr;
21 }
22
23 /////////////////////////////////////////////////////////////////////////
24
25 // Empty implementations for SkImageEncoder. 16 // Empty implementations for SkImageEncoder.
26 17
27 SkImageEncoder* SkImageEncoder::Create(Type t) { 18 SkImageEncoder* SkImageEncoder::Create(Type t) {
28 return nullptr; 19 return nullptr;
29 } 20 }
30 21
31 bool SkImageEncoder::EncodeFile(const char file[], const SkBitmap&, Type, int qu ality) { 22 bool SkImageEncoder::EncodeFile(const char file[], const SkBitmap&, Type, int qu ality) {
32 return false; 23 return false;
33 } 24 }
34 25
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool onUseEncodedData(const void*, size_t) override { return true; } 58 bool onUseEncodedData(const void*, size_t) override { return true; }
68 SkData* onEncode(const SkPixmap&) override { return nullptr; } 59 SkData* onEncode(const SkPixmap&) override { return nullptr; }
69 }; 60 };
70 } // namespace 61 } // namespace
71 62
72 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { 63 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() {
73 return new ImageEncoderPixelSerializer; 64 return new ImageEncoderPixelSerializer;
74 } 65 }
75 66
76 ///////////////////////////////////////////////////////////////////////// 67 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « src/images/SkMovie_FactoryDefault.cpp ('k') | third_party/giflib/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698