Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions
SkJpegEncoder.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"
#include <memory>

Go to the source code of this file.

Classes

struct  SkJpegEncoder::Options
 

Namespaces

namespace  SkJpegEncoder
 

Enumerations

enum class  SkJpegEncoder::AlphaOption { SkJpegEncoder::kIgnore , SkJpegEncoder::kBlendOnBlack }
 
enum class  SkJpegEncoder::Downsample { SkJpegEncoder::k420 , SkJpegEncoder::k422 , SkJpegEncoder::k444 }
 

Functions

SK_API bool SkJpegEncoder::Encode (SkWStream *dst, const SkPixmap &src, const Options &options)
 
SK_API bool SkJpegEncoder::Encode (SkWStream *dst, const SkYUVAPixmaps &src, const SkColorSpace *srcColorSpace, const Options &options)
 
SK_API sk_sp< SkDataSkJpegEncoder::Encode (GrDirectContext *ctx, const SkImage *img, const Options &options)
 
SK_API std::unique_ptr< SkEncoderSkJpegEncoder::Make (SkWStream *dst, const SkPixmap &src, const Options &options)
 
SK_API std::unique_ptr< SkEncoderSkJpegEncoder::Make (SkWStream *dst, const SkYUVAPixmaps &src, const SkColorSpace *srcColorSpace, const Options &options)