/external/freetype/src/sdf/ |
D | ftbsdf.c | 449 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/ |
D | analysis_enc.c | 133 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/ |
D | SkXfermode_opts.h | 33 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/ |
D | CellIdentityNrBuilder.java | 29 @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
|
D | CellIdentityLteBuilder.java | 31 @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/ |
D | nearesthalfpixelimage.cpp | 50 uint8_t alphas[] {0xFF, 0xAA}; variable 54 alphas, 55 sizeof(alphas)); 59 alphas, 60 sizeof(alphas[0]));
|
/external/skia/src/core/ |
D | SkScan_AAAPath.cpp | 596 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/ |
D | Multiply.cpp | 13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Exclusion.cpp | 13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Difference.cpp | 13 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Dst_Atop.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Dst_Over.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Src_In.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Src_Out.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Bitmap_setAlphaType.cpp | 10 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()
|
D | Dst_In.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Overlay.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Screen.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Src_Over.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Dst_Out.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | Src_Atop.cpp | 14 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, std::size(alphas), in draw()
|
D | ColorTypeValidateAlphaType.cpp | 10 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()
|
D | ImageInfo_alphaType.cpp | 7 const char* alphas[] = {"Unknown", "Opaque", "Premul", "Unpremul"}; in draw() local 9 SkDebugf("alpha type: k" "%s" "_SkAlphaType\n", alphas[info.alphaType()]); in draw()
|
D | Pixmap_alphaType.cpp | 7 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/ |
D | alpha_processing_neon.c | 96 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()
|