Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
encode_alpha_jpeg.cpp File Reference
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/encode/SkJpegEncoder.h"
#include "include/private/base/SkTemplates.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"

Go to the source code of this file.

Classes

class  skiagm::EncodeJpegAlphaOptsGM
 

Namespaces

namespace  skiagm
 

Functions

static void skiagm::read_into_pixmap (SkPixmap *dst, SkImageInfo dstInfo, void *dstPixels, sk_sp< SkImage > src)
 
static sk_sp< SkImageskiagm::encode_pixmap_and_make_image (const SkPixmap &src, SkJpegEncoder::AlphaOption alphaOption)