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

Side by Side Diff: blimp/common/compositor/webp_decoder.h

Issue 1680333004: Add support for encoding/decoding WebP images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serialize-deserialize-images-framework
Patch Set: address minor last comments Created 4 years, 10 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
(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_COMMON_COMPOSITOR_WEBP_DECODER_H_
6 #define BLIMP_COMMON_COMPOSITOR_WEBP_DECODER_H_
7
8 #include <stddef.h>
9
10 #include "blimp/common/blimp_common_export.h"
11 #include "third_party/skia/include/core/SkData.h"
12
13 class SkBitmap;
14
15 namespace blimp {
16
17 // WebPDecoder is an implementation of SkPicture::InstallPixelRefProc which
18 // is used by the client to decode WebP images that are part of an SkPicture.
19 BLIMP_COMMON_EXPORT bool WebPDecoder(const void* input,
20 size_t input_size,
21 SkBitmap* bitmap);
22
23 } // namespace blimp
24
25 #endif // BLIMP_COMMON_COMPOSITOR_WEBP_DECODER_H_
OLDNEW
« no previous file with comments | « blimp/common/compositor/blimp_image_serialization_processor.cc ('k') | blimp/common/compositor/webp_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698