Lines Matching defs:v0
736 int v0 = v >> 16;
738 int v1 = v0 + 1;
751 if (v0<0) v0 += h;
753 if (v0>=h) v0 -= h;
756 if (v0<0) v0 = 0;
758 if (v0>=h) v0 = h-1;
763 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]);
765 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]);
1608 T interpolate(int y, T v0, U dvdx, U dvdy) {
1610 // v = v0 + (y + 0.5) * dvdy + (0.5 * dvdx)
1611 return (y * dvdy) + (v0 + ((dvdy + dvdx) >> 1));
1949 const int32_t v0 = tc[i].st[j].q;
1951 int32_t dvdx = v1 - v0;
1959 ti.st[j].ydvdy = v0 << scale;
1962 ti.st[j].ydvdy = v0 >> -scale;