Lines Matching refs:wy

49         // In a _DX variant only X varies; all samples share y0/y1 coordinates and wy weight.
50 int y0, y1, wy;
51 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy);
117 sum = 16*top + (bot-top)*wy;
126 // sum = tl * (16-wy) * (16-wx)
127 // + bl * ( wy) * (16-wx)
128 // + tr * (16-wy) * ( wx)
129 // + br * ( wy) * ( wx)
135 skvx::Vec<32, uint16_t> sum = lerp(lerp(to_16x4(tl), to_16x4(bl), wy),
136 lerp(to_16x4(tr), to_16x4(br), wy), to_16x4(wx));
213 int wy) {
218 // Interpolate in Y. As in the SSE2 code, we calculate top*(16-wy) + bot*wy
219 // as 16*top + (bot-top)*wy to save a multiply.
222 _mm_set1_epi16(wy)));
237 int y0, y1, wy;
238 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy);
272 interlaced_x_weights_AB, wy);
279 interlaced_x_weights_CD, wy);
303 interlaced_x_weights, wy);
320 int y0, y1, wy;
321 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy);
326 // We'll put one pixel in the low 4 16-bit lanes to line up with wy,
327 // and another in the upper 4 16-bit lanes to line up with 16 - wy.
328 const __m128i allY = _mm_unpacklo_epi64(_mm_set1_epi16( wy), // Bottom pixel goes here.
329 _mm_set1_epi16(16-wy)); // Top pixel goes here.
343 // sum = tl * (16-wy) * (16-wx)
344 // + bl * ( wy) * (16-wx)
345 // + tr * (16-wy) * ( wx)
346 // + br * ( wy) * ( wx)
348 // (Notice top --> 16-wy, bottom --> wy, left --> 16-wx, right --> wx.)
350 // We've already prepared allY as a vector containing [wy, 16-wy] as a way
482 int y0, y1, wy;
483 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy);
492 filter_and_scale_by_alpha(wx, wy,
515 int y0, y1, wy,
517 decode_packed_coordinates_and_weight(*xy++, &y0, &y1, &wy);
523 filter_and_scale_by_alpha(wx, wy,