Flutter Engine
The Flutter Engine
Functions
SkPixmap.cpp File Reference
#include "include/core/SkPixmap.h"
#include "include/core/SkAlphaType.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkColorType.h"
#include "include/core/SkUnPreMultiply.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkTPin.h"
#include "src/base/SkHalf.h"
#include "src/base/SkVx.h"
#include "src/core/SkConvertPixels.h"
#include "src/core/SkImageInfoPriv.h"
#include "src/core/SkMask.h"
#include "src/core/SkReadPixelsRec.h"
#include "src/core/SkSwizzlePriv.h"
#include "src/opts/SkMemset_opts.h"
#include <cstdint>
#include <cstring>
#include <iterator>
#include <utility>

Go to the source code of this file.

Functions

static const void * fast_getaddr (const SkPixmap &pm, int x, int y)
 

Function Documentation

◆ fast_getaddr()

static const void * fast_getaddr ( const SkPixmap pm,
int  x,
int  y 
)
static

Definition at line 89 of file SkPixmap.cpp.

89 {
91 return static_cast<const char*>(pm.addr()) + y * pm.rowBytes() + x;
92}
static int SkColorTypeShiftPerPixel(SkColorType ct)
size_t rowBytes() const
Definition: SkPixmap.h:145
SkColorType colorType() const
Definition: SkPixmap.h:173
const void * addr() const
Definition: SkPixmap.h:153
double y
double x