/external/skia/src/utils/ |
SkPatchUtils.cpp | 110 static SkScalar bilerp(SkScalar tx, SkScalar ty, SkScalar c00, SkScalar c10, SkScalar c01, function 260 uint8_t a = uint8_t(bilerp(u, v, 265 uint8_t r = uint8_t(bilerp(u, v, 270 uint8_t g = uint8_t(bilerp(u, v, 275 uint8_t b = uint8_t(bilerp(u, v, 285 bilerp(u, v, texCoords[kTopLeft_Corner].x(), 289 bilerp(u, v, texCoords[kTopLeft_Corner].y(), 408 uint8_t a = uint8_t(bilerp(u, v, 413 uint8_t r = uint8_t(bilerp(u, v, 418 uint8_t g = uint8_t(bilerp(u, v [all...] |
/external/skia/src/core/ |
SkLinearBitmapPipeline_sample.h | 488 // BilerpSampler - use a bilerp filter to create runs of destination pixels. 572 // There is some sub-pixel offsets, so bilerp. 694 auto bilerp = [&](const Sk4f& leftPart, const Sk4f& rightPart) { local 701 fNext->blendPixel(bilerp(leftPart, rightPart)); 721 return bilerp(leftPart, rightPart); 757 return bilerp(leftPart, rightPart); 823 auto bilerp = [&](const Sk4f& part0, const Sk4f& part1) { local 838 Sk4f px0 = bilerp(overlapPart, part0); 839 Sk4f px1 = bilerp(part0, part1); 840 Sk4f px2 = bilerp(part1, part2) 926 auto bilerp = [&](const Sk4f& leftPart, const Sk4f& rightPart) { local [all...] |
/external/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 347 bool bilerp = mode != GrTextureDomain::kRepeat_Mode ? d->fRandom->nextBool() : false; local 355 bilerp ? GrSamplerParams::kBilerp_FilterMode
|