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

Side by Side Diff: blimp/client/feature/compositor/decoding_image_generator.cc

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "blimp/client/feature/compositor/decoding_image_generator.h" 5 #include "blimp/client/feature/compositor/decoding_image_generator.h"
6 6
7 #include "base/numerics/safe_conversions.h" 7 #include "base/numerics/safe_conversions.h"
8 #include "blimp/common/compositor/webp_decoder.h" 8 #include "blimp/client/feature/compositor/webp_decoder.h"
9 #include "blimp/common/proto/blob_cache.pb.h" 9 #include "blimp/common/proto/blob_cache.pb.h"
10 #include "third_party/libwebp/webp/decode.h" 10 #include "third_party/libwebp/webp/decode.h"
11 #include "third_party/libwebp/webp/demux.h" 11 #include "third_party/libwebp/webp/demux.h"
12 #include "third_party/skia/include/core/SkData.h" 12 #include "third_party/skia/include/core/SkData.h"
13 13
14 namespace blimp { 14 namespace blimp {
15 namespace client { 15 namespace client {
16 16
17 SkImageGenerator* DecodingImageGenerator::create(SkData* data) { 17 SkImageGenerator* DecodingImageGenerator::create(SkData* data) {
18 BlobCacheImageMetadata parsed_metadata; 18 BlobCacheImageMetadata parsed_metadata;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return false; 57 return false;
58 } 58 }
59 59
60 bool DecodingImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, 60 bool DecodingImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo,
61 void* planes[3]) { 61 void* planes[3]) {
62 return false; 62 return false;
63 } 63 }
64 64
65 } // namespace client 65 } // namespace client
66 } // namespace blimp 66 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698