Home
last modified time | relevance | path

Searched refs:alphas (Results 1 – 25 of 60) sorted by relevance

123

/external/freetype/src/sdf/
Dftbsdf.c449 FT_16D16 alphas[9]; in compute_edge_distance() local
459 alphas[0] = 256 * (FT_16D16)current[-w - 1].alpha; in compute_edge_distance()
460 alphas[1] = 256 * (FT_16D16)current[-w ].alpha; in compute_edge_distance()
461 alphas[2] = 256 * (FT_16D16)current[-w + 1].alpha; in compute_edge_distance()
462 alphas[3] = 256 * (FT_16D16)current[ -1].alpha; in compute_edge_distance()
463 alphas[4] = 256 * (FT_16D16)current[ 0].alpha; in compute_edge_distance()
464 alphas[5] = 256 * (FT_16D16)current[ 1].alpha; in compute_edge_distance()
465 alphas[6] = 256 * (FT_16D16)current[ w - 1].alpha; in compute_edge_distance()
466 alphas[7] = 256 * (FT_16D16)current[ w ].alpha; in compute_edge_distance()
467 alphas[8] = 256 * (FT_16D16)current[ w + 1].alpha; in compute_edge_distance()
[all …]
/external/webp/src/enc/
Danalysis_enc.c133 const int alphas[MAX_ALPHA + 1]) { in AssignSegments()
151 for (n = 0; n <= MAX_ALPHA && alphas[n] == 0; ++n) {} in AssignSegments()
153 for (n = MAX_ALPHA; n > min_a && alphas[n] == 0; --n) {} in AssignSegments()
174 if (alphas[a]) { in AssignSegments()
180 dist_accum[n] += a * alphas[a]; in AssignSegments()
181 accum[n] += alphas[a]; in AssignSegments()
308 int alphas[MAX_ALPHA + 1], in MBAnalyze()
327 alphas[best_alpha]++; in MBAnalyze()
370 int alphas[MAX_ALPHA + 1]; member
387 MBAnalyze(it, job->alphas, &job->alpha, &job->uv_alpha); in DoSegmentsJob()
[all …]
/external/skia/src/opts/
DSkXfermode_opts.h33 XFERMODE(SrcIn) { return s.approxMulDiv255(d.alphas() ); } in XFERMODE()
34 XFERMODE(SrcOut) { return s.approxMulDiv255(d.alphas().inv()); } in XFERMODE()
35 XFERMODE(SrcOver) { return s + d.approxMulDiv255(s.alphas().inv()); } in XFERMODE()
41 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE()
44 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DCellIdentityNrBuilder.java29 @Nullable private String alphas = null; field in CellIdentityNrBuilder
85 this.alphas = shortOperatorName; in setShortOperatorName()
98 pci, tac, nrarfcn, mcc, mnc, nci, alphal, alphas); in build()
101 pci, tac, nrarfcn, bands, mcc, mnc, nci, alphal, alphas, additionalPlmns); in build()
120 String alphas); in newCellIdentityNr() argument
132 String alphas, in newCellIdentityNr() argument
DCellIdentityLteBuilder.java31 @Nullable private String alphas = null; field in CellIdentityLteBuilder
90 this.alphas = shortOperatorName; in setShortOperatorName()
110 ci, pci, tac, earfcn, bandwidth, mcc, mnc, alphal, alphas); in build()
122 alphas, in build()
153 String alphas); in newCellIdentityLte() argument
166 String alphas, in newCellIdentityLte() argument
/external/skia/gm/
Dnearesthalfpixelimage.cpp50 uint8_t alphas[] {0xFF, 0xAA}; variable
54 alphas,
55 sizeof(alphas));
59 alphas,
60 sizeof(alphas[0]));
/external/skia/src/core/
DSkScan_AAAPath.cpp596 static void compute_alpha_above_line(SkAlpha* alphas, in compute_alpha_above_line() argument
607 alphas[0] = get_partial_alpha(((R << 17) - l - r) >> 9, fullAlpha); in compute_alpha_above_line()
612 alphas[0] = SkFixedMul(first, firstH) >> 9; // triangle alpha in compute_alpha_above_line()
615 alphas[i] = alpha16 >> 8; in compute_alpha_above_line()
618 alphas[R - 1] = fullAlpha - partial_triangle_to_alpha(last, dY); in compute_alpha_above_line()
623 static void compute_alpha_below_line(SkAlpha* alphas, in compute_alpha_below_line() argument
634 alphas[0] = get_partial_alpha(trapezoid_to_alpha(l, r), fullAlpha); in compute_alpha_below_line()
639 alphas[R - 1] = SkFixedMul(last, lastH) >> 9; // triangle alpha in compute_alpha_below_line()
642 alphas[i] = (alpha16 >> 8) & 0xFF; in compute_alpha_below_line()
645 alphas[0] = fullAlpha - partial_triangle_to_alpha(first, dY); in compute_alpha_below_line()
[all …]
/external/skia/docs/examples/
DMultiply.cpp13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DExclusion.cpp13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DDifference.cpp13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DDst_Atop.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DDst_Over.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DSrc_In.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DSrc_Out.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DBitmap_setAlphaType.cpp10 const char* alphas[] = {"Unknown ", "Opaque ", "Premul ", "Unpremul"}; in draw() local
24 SkDebugf("%12s %9s ", colors[(int) colorType], alphas[(int) canonicalAlphaType ]); in draw()
28 SkDebugf("%s %s ", result ? "true " : "false", alphas[(int) bitmap.alphaType()]); in draw()
DDst_In.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DOverlay.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DScreen.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DSrc_Over.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DDst_Out.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DSrc_Atop.cpp14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
DColorTypeValidateAlphaType.cpp10 const char* alphas[] = {"Unknown ", "Opaque ", "Premul ", "Unpremul"}; in draw() local
28 string.printf("%13s %10s %10s", colors[(int) colorType], alphas[(int) alphaType], in draw()
29 result ? alphas[(int) canonicalAlphaType] : "------ "); in draw()
DImageInfo_alphaType.cpp7 const char* alphas[] = {"Unknown", "Opaque", "Premul", "Unpremul"}; in draw() local
9 SkDebugf("alpha type: k" "%s" "_SkAlphaType\n", alphas[info.alphaType()]); in draw()
DPixmap_alphaType.cpp7 const char* alphas[] = {"Unknown", "Opaque", "Premul", "Unpremul"}; in draw() local
9 SkDebugf("alpha type: k" "%s" "_SkAlphaType\n", alphas[pixmap.alphaType()]); in draw()
/external/webp/src/dsp/
Dalpha_processing_neon.c96 const uint8x8_t alphas = vld1_u8(alpha + i); in DispatchAlpha_NEON() local
97 rgbX.val[0] = alphas; in DispatchAlpha_NEON()
99 mask8 = vand_u8(mask8, alphas); in DispatchAlpha_NEON()
149 const uint8x8_t alphas = rgbX.val[0]; in ExtractAlpha_NEON() local
150 vst1_u8((uint8_t*)(alpha + i), alphas); in ExtractAlpha_NEON()
151 mask8 = vand_u8(mask8, alphas); in ExtractAlpha_NEON()

123