Lines Matching +full:- +full:yq
7 // http://www.apache.org/licenses/LICENSE-2.0
87 Float A = (y2 - y0) * x1 + (y1 - y2) * x0 + (y0 - y1) * x2; // Area in generate()
98 A = IfThenElse(w0w1w2 < 0, -A, A); in generate()
201 Array<Int> Yq(16); in generate() local
208 Yq[i] = Y[i]; in generate()
213 Yq[i] = Yq[i] + *Pointer<Int>(constants + OFFSET(Constants,Yf) + q * sizeof(int)); in generate()
220 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
221 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
229 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
237 Yq[n] = Yq[0]; in generate()
245 edge(primitive, data, Xq[i + 1 - d], Yq[i + 1 - d], Xq[i + d], Yq[i + d], q); in generate()
259 …ort>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<Short>(rightEdge + (yMax - 1) * … in generate()
269 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
270 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
271 …ftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitiv… in generate()
272 …htEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitiv… in generate()
328 X2 = X1 + Y1 - Y0; in generate()
329 Y2 = Y1 + X0 - X1; in generate()
335 X1 -= X0; in generate()
336 Y1 -= Y0; in generate()
338 X2 -= X0; in generate()
339 Y2 -= Y0; in generate()
347 Float a = x1 * y2 - x2 * y1; in generate()
349 Float4 xQuad = Float4(0, 1, 0, 1) - Float4(dx); in generate()
350 Float4 yQuad = Float4(0, 0, 1, 1) - Float4(dy); in generate()
368 M[0].x = (y1 * w2 - y2 * w1) * D; in generate()
369 M[0].y = (x2 * w1 - x1 * w2) * D; in generate()
374 M[1].y = -x2 * A; in generate()
378 M[2].x = -y1 * A; in generate()
403 z1 -= z0; in generate()
404 z2 -= z0; in generate()
417 Float D = *Pointer<Float>(data + OFFSET(DrawData,depthRange)) / (x1 * y2 - x2 * y1); in generate()
419 Float a = (y2 * z1 - y1 * z2) * D; in generate()
420 Float b = (x1 * z2 - x2 * z1) * D; in generate()
443 bias = -bias; in generate()
515 m -= 0.5f; in setupGradient()
572 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left); in edge()
573 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right); in edge()
577 Int DX12 = X2 - X1; in edge()
578 Int DY12 = Y2 - Y1; in edge()
583 Int X = DX12 * ((y1 << 4) - Y1) + (X1 & 0x0000000F) * DY12; in edge()
585 Int d = X % FDY12; // Error-term in edge()
586 Int ceil = -d >> 31; // Ceiling division: remainder <= 0 in edge()
587 x -= ceil; in edge()
588 d -= ceil & FDY12; in edge()
590 Int Q = FDX12 / FDY12; // Edge-step in edge()
591 Int R = FDX12 % FDY12; // Error-step in edge()
596 Int D = FDY12; // Error-overflow in edge()
606 Int overflow = -d >> 31; in edge()
608 d -= D & overflow; in edge()
609 x -= overflow; in edge()