OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkToU8
(Results
1 - 25
of
50
) sorted by null
1
2
/external/skia/src/ports/
SkTime_Unix.cpp
34
dt->fMonth =
SkToU8
(tstruct->tm_mon + 1);
35
dt->fDayOfWeek =
SkToU8
(tstruct->tm_wday);
36
dt->fDay =
SkToU8
(tstruct->tm_mday);
37
dt->fHour =
SkToU8
(tstruct->tm_hour);
38
dt->fMinute =
SkToU8
(tstruct->tm_min);
39
dt->fSecond =
SkToU8
(tstruct->tm_sec);
SkTime_win.cpp
28
dt->fMonth =
SkToU8
(st.wMonth + 1);
29
dt->fDayOfWeek =
SkToU8
(st.wDayOfWeek);
30
dt->fDay =
SkToU8
(st.wDay);
31
dt->fHour =
SkToU8
(st.wHour);
32
dt->fMinute =
SkToU8
(st.wMinute);
33
dt->fSecond =
SkToU8
(st.wSecond);
SkFontHost_gamma.cpp
39
table[i] =
SkToU8
(xx);
/external/skia/src/animator/
SkTime.cpp
34
t->fMonth =
SkToU8
(syst.wMonth);
35
t->fDayOfWeek =
SkToU8
(syst.wDayOfWeek);
36
t->fDay =
SkToU8
(syst.wDay);
37
t->fHour =
SkToU8
(syst.wHour);
38
t->fMinute =
SkToU8
(syst.wMinute);
39
t->fSecond =
SkToU8
(syst.wSecond);
66
t->fMonth =
SkToU8
(syst.tm_mon + 1);
67
t->fDayOfWeek =
SkToU8
(syst.tm_wday);
68
t->fDay =
SkToU8
(syst.tm_mday);
69
t->fHour =
SkToU8
(syst.tm_hour)
[
all
...]
SkDrawColor.cpp
95
//used to say
SkToU8
((U8CPU) red) etc
238
alpha = scalar == SK_Scalar1 ? 255 :
SkToU8
((U8CPU) (scalar * 256));
240
alpha =
SkToU8
((scalar - (scalar >= SK_ScalarHalf)) >> 8);
248
SkColorGetG(color),
SkToU8
((U8CPU) scalar));
253
SkToU8
((U8CPU) scalar), SkColorGetB(color));
261
color = SkColorSetARGB(SkColorGetA(color),
SkToU8
((U8CPU) scalar),
/external/skia/src/core/
SkPathEffect.cpp
77
fStyle(
SkToU8
(paint.getStyle())), fJoin(
SkToU8
(paint.getStrokeJoin())),
78
fCap(
SkToU8
(paint.getStrokeCap())) {
83
: fWidth(width), fMiter(miter), fStyle(
SkToU8
(style)),
84
fJoin(
SkToU8
(join)), fCap(
SkToU8
(cap)) {
SkBlitter_A8.cpp
53
device[i] =
SkToU8
(srcA + SkAlphaMul(device[i], scale));
82
device[i] =
SkToU8
(sa + SkAlphaMul(device[i], scale));
114
if (bw & 0x80) dst[0] =
SkToU8
(sa + SkAlphaMul(dst[0], dst_scale));
115
if (bw & 0x40) dst[1] =
SkToU8
(sa + SkAlphaMul(dst[1], dst_scale));
116
if (bw & 0x20) dst[2] =
SkToU8
(sa + SkAlphaMul(dst[2], dst_scale));
117
if (bw & 0x10) dst[3] =
SkToU8
(sa + SkAlphaMul(dst[3], dst_scale));
118
if (bw & 0x08) dst[4] =
SkToU8
(sa + SkAlphaMul(dst[4], dst_scale));
119
if (bw & 0x04) dst[5] =
SkToU8
(sa + SkAlphaMul(dst[5], dst_scale));
120
if (bw & 0x02) dst[6] =
SkToU8
(sa + SkAlphaMul(dst[6], dst_scale));
121
if (bw & 0x01) dst[7] =
SkToU8
(sa + SkAlphaMul(dst[7], dst_scale))
[
all
...]
SkProcSpriteBlitter.cpp
25
: SkSpriteBlitter(source), fProc(proc), fSrcShift(
SkToU8
(srcShift)), fDstShift(
SkToU8
(dstShift)) {}
SkDebug.cpp
28
uint8_t
SkToU8
(size_t x)
SkAlphaRuns.cpp
103
alpha[x] =
SkToU8
(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256
118
alpha[0] =
SkToU8
(alpha[0] + maxValue);
132
alpha[0] =
SkToU8
(alpha[0] + stopAlpha);
SkShader.cpp
98
fDeviceConfig =
SkToU8
(device.getConfig());
148
*alpha++ =
SkToU8
(a0);
149
*alpha++ =
SkToU8
(a1);
150
*alpha++ =
SkToU8
(a2);
151
*alpha++ =
SkToU8
(a3);
SkScan_AntiPath.cpp
276
*alpha =
SkToU8
(tmp - (tmp >> 8));
300
*alpha++ =
SkToU8
(tmp - (tmp >> 8));
305
*alpha++ =
SkToU8
(tmp - (tmp >> 8));
311
alpha[0] =
SkToU8
(alpha[0] + maxValue);
329
alpha[0] =
SkToU8
(alpha[0] + maxValue);
337
*alpha =
SkToU8
(*alpha + stopAlpha);
SkColorTable.cpp
82
fFlags =
SkToU8
(flags);
SkWriter32.cpp
230
*ptr++ =
SkToU8
(len);
233
*ptr++ =
SkToU8
(len >> 8);
/external/skia/src/views/
SkTagList.h
37
SkTagList(U8CPU tag) : fTag(
SkToU8
(tag))
SkStackViewLayout.cpp
16
fOrient =
SkToU8
(ori);
38
fPack =
SkToU8
(pack);
44
fAlign =
SkToU8
(align);
49
fRound =
SkToU8
(r);
SkStaticTextView.cpp
50
fMode =
SkToU8
(mode);
57
fSpacingAlign =
SkToU8
(align);
/external/skia/include/utils/
SkInterpolator.h
53
fFlags =
SkToU8
((fFlags & ~kMirror) | (int)mirror);
66
fFlags =
SkToU8
((fFlags & ~kReset) | (int)reset);
/external/skia/include/core/
SkStroke.h
52
void setDoFill(bool doFill) { fDoFill =
SkToU8
(doFill); }
SkTypes.h
156
SK_API uint8_t
SkToU8
(size_t);
163
#define
SkToU8
(x) ((uint8_t)(x))
/external/skia/src/effects/
SkBlurMask.cpp
116
*dst++ =
SkToU8
(tmp * scale >> 24);
172
*dst++ =
SkToU8
((outer_sum * outer_scale + inner_sum * inner_scale) >> 24);
193
*dst =
SkToU8
(SkAlphaMul(*blur, SkAlpha255To256(*src)));
215
*dst =
SkToU8
(s + d - SkMulDiv255Round(s, d));
223
*dst =
SkToU8
(SkAlphaMul(*dst, SkAlpha255To256(255 - *src)));
386
gamma[i] =
SkToU8
(n);
403
gamma[i] =
SkToU8
(n * div255 >> 16);
SkEmbossMask.cpp
157
multiply[x] =
SkToU8
(mul);
158
additive[x] =
SkToU8
(add);
SkEmbossMaskFilter.cpp
49
light.fAmbient =
SkToU8
(am);
50
light.fSpecular =
SkToU8
(sp);
SkKernel33MaskFilter.cpp
62
*dstRow++ =
SkToU8
(value);
/external/skia/src/images/
SkImageDecoder_libjpeg.cpp
750
dst[0] =
SkToU8
(y);
751
dst[1] =
SkToU8
(u + 128);
752
dst[2] =
SkToU8
(v + 128);
764
dst[0] =
SkToU8
(y);
765
dst[1] =
SkToU8
(u + 128);
766
dst[2] =
SkToU8
(v + 128);
778
dst[0] =
SkToU8
(y);
779
dst[1] =
SkToU8
(u + 128);
780
dst[2] =
SkToU8
(v + 128);
Completed in 185 milliseconds
1
2