Flutter Engine
The Flutter Engine
Functions
SkBmpStandardCodec.cpp File Reference
#include "src/codec/SkBmpStandardCodec.h"
#include "include/core/SkAlphaType.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkColorType.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkSize.h"
#include "include/core/SkStream.h"
#include "include/private/base/SkAlign.h"
#include "include/private/base/SkTemplates.h"
#include "src/base/SkMathPriv.h"
#include "src/codec/SkCodecPriv.h"
#include <algorithm>
#include <utility>

Go to the source code of this file.

Functions

static SkEncodedInfo make_info (SkEncodedInfo::Color color, SkEncodedInfo::Alpha alpha, int bitsPerPixel)
 

Function Documentation

◆ make_info()

static SkEncodedInfo make_info ( SkEncodedInfo::Color  color,
SkEncodedInfo::Alpha  alpha,
int  bitsPerPixel 
)
static

Definition at line 161 of file SkBmpStandardCodec.cpp.

162 {
163 // This is just used for the swizzler, which does not need the width or height.
164 return SkEncodedInfo::Make(0, 0, color, alpha, bitsPerPixel);
165}
DlColor color
static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, int bitsPerComponent)