Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkAndroidCodec::AndroidOptions Struct Reference

#include <SkAndroidCodec.h>

Inheritance diagram for SkAndroidCodec::AndroidOptions:
SkCodec::Options

Public Member Functions

 AndroidOptions ()
 
- Public Member Functions inherited from SkCodec::Options
 Options ()
 

Public Attributes

int fSampleSize
 
- Public Attributes inherited from SkCodec::Options
ZeroInitialized fZeroInitialized
 
const SkIRectfSubset
 
int fFrameIndex
 
int fPriorFrame
 

Detailed Description

Additional options to pass to getAndroidPixels().

Definition at line 205 of file SkAndroidCodec.h.

Constructor & Destructor Documentation

◆ AndroidOptions()

SkAndroidCodec::AndroidOptions::AndroidOptions ( )
inline

Definition at line 206 of file SkAndroidCodec.h.

Member Data Documentation

◆ fSampleSize

int SkAndroidCodec::AndroidOptions::fSampleSize

The client may provide an integer downscale factor for the decode. The codec may implement this downscaling by sampling or another method if it is more efficient.

The default is 1, representing no downscaling.

Definition at line 218 of file SkAndroidCodec.h.


The documentation for this struct was generated from the following file: