Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
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/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
 

Macro Definition Documentation

◆ PACK_TWO_SHORTS

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

Definition at line 129 of file SkBitmapProcState.h.

◆ pack_two_shorts

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

Definition at line 141 of file SkBitmapProcState.h.

◆ SkFixedToFractionalInt

#define SkFixedToFractionalInt (   x)    SkFixedToFixed3232(x)

Definition at line 32 of file SkBitmapProcState.h.

◆ SkFractionalIntToFixed

#define SkFractionalIntToFixed (   x)    SkFixed3232ToFixed(x)

Definition at line 31 of file SkBitmapProcState.h.

◆ SkFractionalIntToInt

#define SkFractionalIntToInt (   x)    SkFixed3232ToInt(x)

Definition at line 33 of file SkBitmapProcState.h.

◆ SkScalarToFractionalInt

#define SkScalarToFractionalInt (   x)    SkScalarToFixed3232(x)

Definition at line 30 of file SkBitmapProcState.h.

◆ UNPACK_PRIMARY_SHORT

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

Definition at line 130 of file SkBitmapProcState.h.

◆ UNPACK_SECONDARY_SHORT

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

Definition at line 131 of file SkBitmapProcState.h.

Typedef Documentation

◆ SkFractionalInt

Definition at line 29 of file SkBitmapProcState.h.