Chromium Code Reviews| Index: blimp/client/feature/compositor/webp_decoder.h |
| diff --git a/blimp/client/feature/compositor/webp_decoder.h b/blimp/client/feature/compositor/webp_decoder.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..24a872a7d0e870a2b08e76309e1117d149e76b61 |
| --- /dev/null |
| +++ b/blimp/client/feature/compositor/webp_decoder.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_WEBP_DECODER_H_ |
| +#define BLIMP_CLIENT_FEATURE_COMPOSITOR_WEBP_DECODER_H_ |
| + |
| +#include <stddef.h> |
| + |
| +class SkBitmap; |
| + |
| +namespace blimp { |
| + |
| +// WebPDecoder is an implementation of SkPicture::InstallPixelRefProc which |
| +// is used by the client to decode WebP images that are part of an SkPicture. |
| +bool WebPDecoder(const void* input, size_t input_size, SkBitmap* bitmap); |
|
Kevin M
2016/05/05 19:34:40
We should give this a better name, because this do
nyquist
2016/05/05 21:44:41
Done.
|
| + |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_WEBP_DECODER_H_ |