Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions
SkWebpEncoder.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkSpan.h"
#include "include/encode/SkEncoder.h"
#include "include/private/base/SkAPI.h"

Go to the source code of this file.

Classes

struct  SkWebpEncoder::Options
 

Namespaces

namespace  SkWebpEncoder
 

Enumerations

enum class  SkWebpEncoder::Compression { SkWebpEncoder::kLossy , SkWebpEncoder::kLossless }
 

Functions

SK_API bool SkWebpEncoder::Encode (SkWStream *dst, const SkPixmap &src, const Options &options)
 
SK_API sk_sp< SkDataSkWebpEncoder::Encode (GrDirectContext *ctx, const SkImage *img, const Options &options)
 
SK_API bool SkWebpEncoder::EncodeAnimated (SkWStream *dst, SkSpan< const SkEncoder::Frame > src, const Options &options)