OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkFDot6
(Results
1 - 9
of
9
) sorted by null
/external/skia/src/core/
SkFDot6Constants.h
13
static constexpr const
SkFDot6
gFDot6INVERSE[kInverseTableSize * 2] = {
SkFDot6.h
16
typedef int32_t
SkFDot6
;
23
inline
SkFDot6
SkScalarRoundToFDot6(SkScalar x, int shift = 0)
44
inline
SkFDot6
SkIntToFDot6(S16CPU x) {
58
inline SkFixed SkFDot6ToFixed(
SkFDot6
x) {
64
#define SkScalarToFDot6(x) (
SkFDot6
)((x) * 64)
68
inline SkFixed SkFDot6Div(
SkFDot6
a,
SkFDot6
b) {
82
inline static SkFixed Lookup(
SkFDot6
x) {
88
static inline SkFixed QuickSkFDot6Div(
SkFDot6
a,
SkFDot6
b)
[
all
...]
SkEdge.cpp
10
#include "
SkFDot6
.h"
25
static inline SkFixed SkFDot6ToFixedDiv2(
SkFDot6
value) {
35
SkFDot6
x0, y0, x1, y1;
73
const
SkFDot6
dy = SkEdge_Compute_DY(top, y0);
114
const
SkFDot6
dy = SkEdge_Compute_DY(top, y0);
148
static inline
SkFDot6
cheap_distance(
SkFDot6
dx,
SkFDot6
dy)
160
static inline int diff_to_shift(
SkFDot6
dx,
SkFDot6
dy, int shiftAA = 2
[
all
...]
SkAnalyticEdge.cpp
10
#include "
SkFDot6
.h"
25
SkFDot6
dx = SkFixedToFDot6(x1 - x0);
26
SkFDot6
dy = SkFixedToFDot6(y1 - y0);
35
SkFDot6
absSlope = SkAbs32(SkFixedToFDot6(slope));
97
SkFDot6
diffY = SkFixedToFDot6(newy - fSnappedY);
105
SkFDot6
diffY = SkFixedToFDot6(newSnappedY - fSnappedY);
118
SkFDot6
diffY = (newy - fSnappedY) >> 10;
SkScan_Antihair.cpp
14
#include "
SkFDot6
.h"
251
static inline SkFixed fastfixdiv(
SkFDot6
a,
SkFDot6
b) {
279
static bool canConvertFDot6ToFixed(
SkFDot6
x) {
291
static int contribution_64(
SkFDot6
ordinate) {
304
static void do_anti_hairline(
SkFDot6
x0,
SkFDot6
y0,
SkFDot6
x1,
SkFDot6
y1,
346
SkTSwap<
SkFDot6
>(x0, x1)
[
all
...]
SkAnalyticEdge.h
154
SkFDot6
dy = SkFixedToFDot6(y1 - y0);
158
SkFDot6
dx = SkFixedToFDot6(x1 - x0);
SkEdge.h
13
#include "
SkFDot6
.h"
89
SkFDot6
x0, y0, x1, y1;
123
const
SkFDot6
dy = SkEdge_Compute_DY(top, y0);
SkScan_Hairline.cpp
12
#include "
SkFDot6
.h"
36
static bool canConvertFDot6ToFixed(
SkFDot6
x) {
67
// be missed after we convert to
SkFDot6
(overflow)
72
SkFDot6
x0 = SkScalarToFDot6(pts[0].fX);
73
SkFDot6
y0 = SkScalarToFDot6(pts[0].fY);
74
SkFDot6
x1 = SkScalarToFDot6(pts[1].fX);
75
SkFDot6
y1 = SkScalarToFDot6(pts[1].fY);
107
SkFDot6
dx = x1 - x0;
108
SkFDot6
dy = y1 - y0;
112
SkTSwap<
SkFDot6
>(x0, x1)
[
all
...]
/external/skia/tests/
MathTest.cpp
12
#include "
SkFDot6
.h"
48
for (
SkFDot6
i=-kInverseTableSize; i<kInverseTableSize; i++) {
58
for (
SkFDot6
a = -1024; a <= 1024; a++) {
59
for (
SkFDot6
b = -1024; b <= 1024; b++) {
Completed in 267 milliseconds