Home
last modified time | relevance | path

Searched refs:x_dist (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp153 SkScalar x_dist = SkMin32(x, dstWidth - x - 1) * invInset; in onFilterImage() local
161 if (x_dist < kScalar2 && y_dist < kScalar2) { in onFilterImage()
162 x_dist = kScalar2 - x_dist; in onFilterImage()
165 SkScalar dist = SkScalarSqrt(SkScalarSquare(x_dist) + in onFilterImage()
170 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp185 SkScalar x_dist = std::min(x, dstWidth - x - 1) * invInset; in onFilterImage() local
193 if (x_dist < kScalar2 && y_dist < kScalar2) { in onFilterImage()
194 x_dist = kScalar2 - x_dist; in onFilterImage()
197 SkScalar dist = SkScalarSqrt(SkScalarSquare(x_dist) + in onFilterImage()
203 SkScalar sqDist = std::min(SkScalarSquare(x_dist), in onFilterImage()
/external/libgav1/libgav1/src/dsp/arm/
Dintrapred_neon.cc376 inline uint8x16_t XLeTopLeft(const uint8x16_t x_dist, in XLeTopLeft() argument
382 vmovn_u16(vcleq_u16(vmovl_u8(vget_low_u8(x_dist)), top_left_dist_low)); in XLeTopLeft()
384 vmovn_u16(vcleq_u16(vmovl_u8(vget_high_u8(x_dist)), top_left_dist_high)); in XLeTopLeft()