| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ | |
| 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ | |
| 7 | |
| 8 #include <stddef.h> | |
| 9 | |
| 10 class SkBitmap; | |
| 11 | |
| 12 namespace blimp { | |
| 13 namespace client { | |
| 14 | |
| 15 // DecodeBlimpImage is an implementation of SkPicture::InstallPixelRefProc | |
| 16 // which is used by the client to decode WebP images that are part of an | |
| 17 // SkPicture. | |
| 18 bool DecodeBlimpImage(const void* input, size_t input_size, SkBitmap* bitmap); | |
| 19 | |
| 20 } // namespace client | |
| 21 } // namespace blimp | |
| 22 | |
| 23 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ | |
| OLD | NEW |