| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |