/external/skia/experimental/StrokePathRenderer/ |
H A D | GrStrokePathRenderer.cpp | 30 SkScalar y1 = p1.y(), y2 = p2.y(), y3 = p3.y(), y4 = p4.y(); local 32 SkScalar d = SkScalarMul(x1 - x2, y3 - y4) - SkScalarMul(y1 - y2, x3 - x4); 39 SkScalar pre = SkScalarMul(x1, y2) - SkScalarMul(y1, x2), 43 SkScalarDiv(SkScalarMul(pre, y3 - y4) - SkScalarMul(y1 - y2, post), d)); 48 res.y() < GrMin(y1, y2) || res.y() > GrMax(y1, y2) ||
|
/external/speex/libspeex/ |
H A D | filters.c | 441 void qmf_decomp(const spx_word16_t *xx, const spx_word16_t *aa, spx_word16_t *y1, spx_word16_t *y2, int N, int M, spx_word16_t *mem, char *stack) argument 472 y2[k] = EXTRACT16(SATURATE(PSHR32(y2k,15),32767)); 502 spx_sig_t y0, y1, y2, y3; local 505 y0 = y1 = y2 = y3 = 0; 522 y2 = MAC16_16(MAC16_16(y2, a0, x10), NEG16(a0), x20); 527 y2 = ADD32(y2,MULT16_16(a0, x10-x20)); 539 y2 = MAC16_16(MAC16_16(y2, a [all...] |
/external/aac/libAACenc/src/ |
H A D | metadata_compressor.cpp | 136 FIXP_DBL y2; member in struct:WEIGHTING_STATES 675 FIXP_DBL x1, x2, y, y1, y2; local 692 y2 = drcComp->filter[c].y2; 705 /* y = b0 * (x - x2) - a1 * y1 - a2 * y2; */ 706 y = fMult(b0,x-x2) - fMult(a1,y1) - fMult(a2,y2); 710 y2 = y1; 725 drcComp->filter[c].y2 = y2;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
H A D | Blit11.cpp | 111 float *x1, float *y1, float *x2, float *y2, 117 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f; 130 float x1, y1, x2, y2, u1, v1, u2, v2; local 131 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 136 d3d11::SetPositionTexCoordVertex(&vertices[1], x1, y2, u1, v1); 138 d3d11::SetPositionTexCoordVertex(&vertices[3], x2, y2, u2, v1); 152 float x1, y1, x2, y2, u1, v1, u2, v2; local 153 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 162 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 1], x1, y2, i, u1, v1, readDepth); 165 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 3], x1, y2, 109 GenerateVertexCoords(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, float *x1, float *y1, float *x2, float *y2, float *u1, float *v1, float *u2, float *v2) argument [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cf2hints.c | 72 CF2_Fixed y2 ) 77 return ( x1 >> 16 ) * ( ( y2 - y1 ) >> 16 ) - 1365 * On input, (x1, y1) and (x2, y2) give line segment. 1378 CF2_Fixed y2, 1383 CF2_Fixed dy = y2 - y1; 1401 cf2_getWindingMomentum( x1, y1, x2, y2 ); 1617 CF2_Fixed y2, 1635 y2, 1643 cf2_getWindingMomentum( x1, y1, x2, y2 ); 1652 P2.y = y2 1374 cf2_glyphpath_computeOffset( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed* x, CF2_Fixed* y ) argument 1613 cf2_glyphpath_curveTo( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed x3, CF2_Fixed y3 ) argument [all...] |
H A D | cf2intrp.c | 715 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 717 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 720 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1269 CF2_Fixed y2 = cf2_stack_getReal( opStack, index + 3 ) + y1; local 1271 CF2_Fixed y3 = cf2_stack_getReal( opStack, index + 5 ) + y2; 1274 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1295 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1309 y2 = cf2_stack_getReal( opStack, index + 2 ) + y1; 1311 y3 = cf2_stack_getReal( opStack, index + 3 ) + y2; 1313 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x 1334 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1376 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | blockd.h | 58 ENTROPY_CONTEXT y2; member in struct:__anon13042
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_render.c | 1176 unsigned x2, unsigned y2, 1184 unsigned height = y2 - y1; 1174 r300_blitter_draw_rectangle(struct blitter_context *blitter, unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, enum blitter_attrib_type type, const union pipe_color_union *attrib) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 1313 unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, 1323 util_blitter_draw_rectangle(blitter, x1, y1, x2, y2, depth, type, attrib); 1352 vb[9] = y2; 1312 r600_draw_rectangle(struct blitter_context *blitter, unsigned x1, unsigned y1, unsigned x2, unsigned y2, float depth, enum blitter_attrib_type type, const union pipe_color_union *attrib) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 180 x1p = (arc->x2*COS + arc->y2*SIN)/arc->a; 181 y1p = (-arc->x2*SIN + arc->y2*COS)/arc->b; 244 arc->x2, arc->y2, 245 &arc->x2, &arc->y2); 256 arc->x1, arc->y1, arc->x2, arc->y2); 262 vec1[1] = arc->y2 - arc->cy; 322 double x1, y1, x2, y2; local 335 y2 = arc->cy + a_cos_eta2 * arc->sin_theta + 339 x1, y1, x2, y2); 342 arc->x2, arc->y2); 346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument [all...] |
H A D | bezier.c | 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); 52 left->y3 = bez->y2 + t * (bez->y3 - bez->y2); 58 bez->y2 = left->y3 + t * (bez->y3 - left->y3); 61 left->y3 = left->y2 + t * (left->y3 - left->y2); 64 left->y4 = bez->y1 = left->y3 + t * (bez->y2 - left->y3); 81 c = (bez->y2 + bez->y3) / 2; 82 first_half->y2 166 bezier_init(struct bezier *bez, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) argument [all...] |
H A D | matrix.h | 419 VGfloat x2, VGfloat y2) 422 VGfloat y = y2 - y1; 418 line_length(VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_xv.c | 311 unsigned char y1, y2, u, v; local 362 y2 = buf[3]; 366 ymap[yidx++] = y2; 378 y2 = buf[2]; 384 ymap[yidx++] = y2; 548 int box_y2 = pbox->y2; 597 INT32 x1, x2, y1, y2; local 605 y2 = src_y + src_h; 610 dstBox.y2 = drw_y + drw_h; 612 if (!xf86XVClipVideoHelper(&dstBox, &x1, &x2, &y1, &y2, clipBoxe [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | i915_state.c | 515 int x1, y1, x2, y2; local 526 y2 = y1 + h - 1; 527 DBG("%s %d..%d,%d..%d (inverted)\n", __FUNCTION__, x1, x2, y1, y2); 535 y2 = y + h - 1; 536 DBG("%s %d..%d,%d..%d (not inverted)\n", __FUNCTION__, x1, x2, y1, y2); 542 y2 = CLAMP(y2, 0, ctx->DrawBuffer->Height - 1); 544 DBG("%s %d..%d,%d..%d (clamped)\n", __FUNCTION__, x1, x2, y1, y2); 548 i915->state.Buffer[I915_DESTREG_SR2] = (y2 << 16) | (x2 & 0xffff);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_state.c | 1578 unsigned x1, y1, x2, y2; local 1587 y2 = r200->radeon.state.scissor.rect.y2; 1593 y2 = rrb->base.Base.Height - 1; 1597 R200_SET_STATE(r200, sci, SCI_XY_2, x2 | (y2 << 16));
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_exec_api.c | 786 vbo_exec_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) argument 794 CALL_Vertex2f(GET_DISPATCH(), (x2, y2)); local 795 CALL_Vertex2f(GET_DISPATCH(), (x1, y2)); local
|
H A D | vbo_save_api.c | 1114 _save_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) argument 1120 (void) y2; 1177 _save_OBE_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) argument 1183 CALL_Vertex2f(GET_DISPATCH(), (x2, y2)); local 1184 CALL_Vertex2f(GET_DISPATCH(), (x1, y2)); local
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | CubicIntersection_Test.cpp | 428 double x1, y1, x2, y2; local 432 xy_at_t(cubic2, t2, x2, y2); 433 if (AlmostEqualUlps(x1, x2) && AlmostEqualUlps(y1, y2)) {
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathUtils.cpp | 196 // [y0 y1 y2] 207 double y2 = qPts[2].fY; local 208 double det = x0*y1 - y0*x1 + x2*y0 - y2*x0 + x1*y2 - y1*x2; 254 a0 = y1-y2; 256 a2 = x1*y2-x2*y1; 258 a3 = y2-y0; 260 a5 = x2*y0-x0*y2; 308 // k = (y2 - y0, x0 - x2, (x2 - x0)*y0 - (y2 [all...] |
/external/chromium_org/ui/events/gesture_detection/ |
H A D | gesture_provider_unittest.cc | 86 float y2) { 87 return MockMotionEvent(action, event_time, x0, y0, x1, y1, x2, y2); 79 ObtainMotionEvent(base::TimeTicks event_time, MotionEvent::Action action, float x0, float y0, float x1, float y1, float x2, float y2) argument
|
/external/chromium_org/ui/gfx/ |
H A D | canvas.cc | 321 int y2 = std::max(rect.y(), rect.bottom()); local 323 DrawLine(Point(x1, y2), Point(x2, y2), paint); 324 DrawLine(Point(x1, y1), Point(x1, y2), paint); 325 DrawLine(Point(x2, y1), Point(x2, y2 + 1), paint);
|
/external/clang/test/Sema/ |
H A D | array-init.c | 33 int y2[4][3] = { local
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRasterizer.cpp | 440 const deInt64 y2 = toSubpixelCoord(v2.y()); local 446 initEdgeCCW(m_edge12, m_horizontalFill, m_verticalFill, x1, y1, x2, y2); 447 initEdgeCCW(m_edge20, m_horizontalFill, m_verticalFill, x2, y2, x0, y0); 453 initEdgeCCW(m_edge12, m_horizontalFill, m_verticalFill, x2, y2, x1, y1); 454 initEdgeCCW(m_edge20, m_horizontalFill, m_verticalFill, x0, y0, x2, y2); 458 const deInt64 s = evaluateEdge(m_edge01, x2, y2); 473 const deInt64 yMin = de::min(de::min(y0, y1), y2); 474 const deInt64 yMax = de::max(de::max(y0, y1), y2);
|
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 483 int y2 = deRoundFloatToInt32((height * fy2 / 2.0f) + oy); local 487 for (int y = y1; y < y2; y++) 490 float yf = ((float)(y-y1) + 0.5f) / (float)(y2 - y1); 786 int y2 = (int)((height/2.0f) * 0.9f + (height/2.0f)); local 790 for (int y = y1; y <= y2; y++) 793 float s = ((float)(y-y1) / (y2-y1)); 1075 int y2 = (int)((height/2.0f) * 0.9f + (height/2.0f)); local 1079 for (int y = y1; y <= y2; y++) 1082 float s = ((float)(y-y1) / (y2-y1));
|
/external/freetype/src/cff/ |
H A D | cf2hints.c | 72 CF2_Fixed y2 ) 77 return ( x1 >> 16 ) * ( ( y2 - y1 ) >> 16 ) - 1430 * On input, (x1, y1) and (x2, y2) give line segment. 1443 CF2_Fixed y2, 1448 CF2_Fixed dy = y2 - y1; 1466 cf2_getWindingMomentum( x1, y1, x2, y2 ); 1728 CF2_Fixed y2, 1746 y2, 1754 cf2_getWindingMomentum( x1, y1, x2, y2 ); 1763 P2.y = y2 1439 cf2_glyphpath_computeOffset( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed* x, CF2_Fixed* y ) argument 1724 cf2_glyphpath_curveTo( CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed x3, CF2_Fixed y3 ) argument [all...] |