Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Typedefs | Functions | Variables
SkBitmapProcState.h File Reference
#include "include/core/SkColor.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkPoint.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkCPUTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFixed.h"
#include "src/base/SkArenaAlloc.h"
#include "src/core/SkMatrixPriv.h"
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Classes

struct  SkBitmapProcState
 
class  SkBitmapProcStateAutoMapper
 

Namespaces

namespace  sktests
 
namespace  SkOpts
 

Macros

#define SkScalarToFractionalInt(x)   SkScalarToFixed3232(x)
 
#define SkFractionalIntToFixed(x)   SkFixed3232ToFixed(x)
 
#define SkFixedToFractionalInt(x)   SkFixedToFixed3232(x)
 
#define SkFractionalIntToInt(x)   SkFixed3232ToInt(x)
 
#define PACK_TWO_SHORTS(pri, sec)   ((pri) | ((sec) << 16))
 
#define UNPACK_PRIMARY_SHORT(packed)   ((packed) & 0xFFFF)
 
#define UNPACK_SECONDARY_SHORT(packed)   ((uint32_t)(packed) >> 16)
 
#define pack_two_shorts(pri, sec)   PACK_TWO_SHORTS(pri, sec)
 

Typedefs

typedef SkFixed3232 SkFractionalInt
 

Functions

uint32_t sktests::pack_clamp (SkFixed f, unsigned max)
 
uint32_t sktests::pack_repeat (SkFixed f, unsigned max, size_t width)
 
uint32_t sktests::pack_mirror (SkFixed f, unsigned max, size_t width)
 
void SkOpts::Init_BitmapProcState ()
 

Variables

void(* SkOpts::S32_alpha_D32_filter_DX )(const SkBitmapProcState &, const uint32_t *xy, int count, SkPMColor *)
 
void(* SkOpts::S32_alpha_D32_filter_DXDY )(const SkBitmapProcState &, const uint32_t *xy, int count, SkPMColor *)
 

Macro Definition Documentation

◆ PACK_TWO_SHORTS

#define PACK_TWO_SHORTS (   pri,
  sec 
)    ((pri) | ((sec) << 16))

Definition at line 130 of file SkBitmapProcState.h.

◆ pack_two_shorts

#define pack_two_shorts (   pri,
  sec 
)    PACK_TWO_SHORTS(pri, sec)

Definition at line 142 of file SkBitmapProcState.h.

◆ SkFixedToFractionalInt

#define SkFixedToFractionalInt (   x)    SkFixedToFixed3232(x)

Definition at line 33 of file SkBitmapProcState.h.

◆ SkFractionalIntToFixed

#define SkFractionalIntToFixed (   x)    SkFixed3232ToFixed(x)

Definition at line 32 of file SkBitmapProcState.h.

◆ SkFractionalIntToInt

#define SkFractionalIntToInt (   x)    SkFixed3232ToInt(x)

Definition at line 34 of file SkBitmapProcState.h.

◆ SkScalarToFractionalInt

#define SkScalarToFractionalInt (   x)    SkScalarToFixed3232(x)

Definition at line 31 of file SkBitmapProcState.h.

◆ UNPACK_PRIMARY_SHORT

#define UNPACK_PRIMARY_SHORT (   packed)    ((packed) & 0xFFFF)

Definition at line 131 of file SkBitmapProcState.h.

◆ UNPACK_SECONDARY_SHORT

#define UNPACK_SECONDARY_SHORT (   packed)    ((uint32_t)(packed) >> 16)

Definition at line 132 of file SkBitmapProcState.h.

Typedef Documentation

◆ SkFractionalInt

Definition at line 30 of file SkBitmapProcState.h.