Lines Matching +full:- +full:yq
7 // http://www.apache.org/licenses/LICENSE-2.0
89 Float A = (y2 - y0) * x1 + (y1 - y2) * x0 + (y0 - y1) * x2; // Area in generate()
100 A = IfThenElse(w0w1w2 < 0, -A, A); in generate()
203 Array<Int> Yq(16); in generate() local
210 Yq[i] = Y[i]; in generate()
215 Yq[i] = Yq[i] + *Pointer<Int>(constants + OFFSET(Constants,Yf) + q * sizeof(int)); in generate()
222 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
223 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
231 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
239 Yq[n] = Yq[0]; in generate()
247 edge(primitive, data, Xq[i + 1 - d], Yq[i + 1 - d], Xq[i + d], Yq[i + d], q); in generate()
261 …ort>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>(rightEdge + (yMax - 1) * … in generate()
271 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
272 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
273 …ftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitiv… in generate()
274 …htEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitiv… in generate()
330 X2 = X1 + Y1 - Y0; in generate()
331 Y2 = Y1 + X0 - X1; in generate()
337 X1 -= X0; in generate()
338 Y1 -= Y0; in generate()
340 X2 -= X0; in generate()
341 Y2 -= Y0; in generate()
349 Float a = x1 * y2 - x2 * y1; in generate()
351 Float4 xQuad = Float4(0, 1, 0, 1) - Float4(dx); in generate()
352 Float4 yQuad = Float4(0, 0, 1, 1) - Float4(dy); in generate()
370 M[0].x = (y1 * w2 - y2 * w1) * D; in generate()
371 M[0].y = (x2 * w1 - x1 * w2) * D; in generate()
376 M[1].y = -x2 * A; in generate()
380 M[2].x = -y1 * A; in generate()
405 z1 -= z0; in generate()
406 z2 -= z0; in generate()
419 Float D = *Pointer<Float>(data + OFFSET(DrawData,depthRange)) / (x1 * y2 - x2 * y1); in generate()
421 Float a = (y2 * z1 - y1 * z2) * D; in generate()
422 Float b = (x1 * z2 - x2 * z1) * D; in generate()
445 bias = -bias; in generate()
522 m -= 0.5f; in setupGradient()
579 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left); in edge()
580 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right); in edge()
584 Int DX12 = X2 - X1; in edge()
585 Int DY12 = Y2 - Y1; in edge()
590 Int X = DX12 * ((y1 << 4) - Y1) + (X1 & 0x0000000F) * DY12; in edge()
592 Int d = X % FDY12; // Error-term in edge()
593 Int ceil = -d >> 31; // Ceiling division: remainder <= 0 in edge()
594 x -= ceil; in edge()
595 d -= ceil & FDY12; in edge()
597 Int Q = FDX12 / FDY12; // Edge-step in edge()
598 Int R = FDX12 % FDY12; // Error-step in edge()
603 Int D = FDY12; // Error-overflow in edge()
613 Int overflow = -d >> 31; in edge()
615 d -= D & overflow; in edge()
616 x -= overflow; in edge()