/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_surface.c | 872 float x0, x1, y0, y1, z; local 892 (float)(info->src.y1 - info->src.y0) / 893 (float)(info->dst.y1 - info->dst.y0); 899 y1 = y0 + 16384.0f * y_range; 904 y1 *= (float)(1 << nv50_miptree(src)->ms_y); 923 PUSH_DATA (push, (info->dst.y1 << 16) | info->dst.y0); 943 PUSH_DATAf(push, y1);
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 958 float x0, x1, y0, y1; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
image.c | 529 VGfloat x1, y1; local 541 y1 = 0; 558 x1, y1, x2, y2, x3, y3, x4, y4);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 478 float x0, y0, x1, y1; local 491 y1 = dy + height; 497 add_vertex_1tex(r, x1, y1, s1, t1); 498 add_vertex_1tex(r, x0, y1, s0, t1); 532 int x0, int y0, int x1, int y1, float *color) 536 * x0, y0, x1, y1, color[0], color[1], color[2], color[3]); */ 545 add_vertex_color(r, x1, y1, color); 547 add_vertex_color(r, x0, y1, color);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_state.c | 542 int x1, y1, x2, y2; local 551 y1 = ctx->DrawBuffer->Height - (y + h); 553 y2 = y1 + h - 1; 554 DBG("%s %d..%d,%d..%d (inverted)\n", __FUNCTION__, x1, x2, y1, y2); 560 y1 = y; 563 DBG("%s %d..%d,%d..%d (not inverted)\n", __FUNCTION__, x1, x2, y1, y2); 567 y1 = CLAMP(y1, 0, ctx->DrawBuffer->Height - 1); 571 DBG("%s %d..%d,%d..%d (clamped)\n", __FUNCTION__, x1, x2, y1, y2); 574 i830->state.Buffer[I830_DESTREG_SR1] = (y1 << 16) | (x1 & 0xffff) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_common.c | 112 int x1, y1, x2, y2; local 123 y1 = ctx->DrawBuffer->Height - (y + h); 125 y2 = y1 + h - 1; 128 y1 = y; 135 rmesa->state.scissor.rect.y1 = CLAMP(y1, min_y, max_y);
|
/external/opencv/cv/src/ |
cvmotempl.cpp | 472 int x1, y1; local 479 for( y1 = 0; y1 < comp.rect.height; y1++ ) 482 (comp.rect.y + y1)*mask->step) + comp.rect.x; 484 (comp.rect.y + y1+1)*mask8u->step + comp.rect.x+1;
|
/external/opencv/cvaux/src/ |
cvscanlines.cpp | 183 int x1, y1, x2, y2, dx, dy; local 192 y1 = scanlines[curr++]; 197 dy = abs( y1 - y2 ) + 1; 213 int x1, y1, x2, y2; local 227 y1 = (int) (scanlines_1[curr] * alpha + scanlines_2[curr] * (1.0 - alpha)); 229 scanlines_a[curr++] = y1; 240 dy = abs( y1 - y2 ) + 1; [all...] |
/external/openssl/crypto/bn/ |
bn_gf2m.c | 390 BN_ULONG x1, x0, y1, y0, zz[4]; local 412 y1 = ((j+1) == b->top) ? 0 : b->d[j+1]; 417 bn_GF2m_mul_2x2(zz, x1, x0, y1, y0);
|
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_Image.cpp | 198 FX_INT32 x0, x1, y0, y1, xx, yy;
local 211 y1 = pDst->m_nHeight - y;
213 y1 = m_nHeight;
215 if (y0 >= y1) {
242 for (yy = y0; yy < y1; ++yy) {
254 for (yy = y0; yy < y1; ++yy) {
266 for (yy = y0; yy < y1; ++yy) {
278 for (yy = y0; yy < y1; ++yy) {
290 for (yy = y0; yy < y1; ++yy) {
305 for(yy = y0; yy < y1; ++yy) { [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_ps.cpp | 117 FX_FLOAT y1 = pPathData->GetPointY(i + 1);
local 120 pObject2Device->Transform(x1, y1);
123 buf << FX_BSTRC(" ") << x1 << FX_BSTRC(" ") << y1 << FX_BSTRC(" ") << x2 << FX_BSTRC(" ") << y2;
|
/external/pixman/pixman/ |
pixman-glyph.c | 327 extents->x1 = extents->y1 = INT32_MAX; 333 int x1, y1, x2, y2; local 336 y1 = glyphs[i].y - glyph->origin_y; 342 if (y1 < extents->y1) 343 extents->y1 = y1; 387 dest->y1 = MAX (box1->y1, box2->y1); [all...] |
pixman.c | 175 if (rbox->y1 < (v = cbox->y1 + dy)) 176 rbox->y1 = v; 179 if (rbox->x1 >= rbox->x2 || rbox->y1 >= rbox->y2) 243 region->extents.y1 = dest_y; 247 region->extents.y1 = MAX (region->extents.y1, 0); 255 region->extents.y1 >= region->extents.y2) 259 region->extents.y1 = 0; 331 pixman_fixed_48_16_t y1; member in struct:__anon32571 342 pixman_fixed_t x1, y1, x2, y2; local [all...] |
/external/skia/experimental/Intersection/ |
SkAntiEdge.cpp | 22 float y1 = SkFixedToFloat(fFirstY); local 25 float numer = (x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1); 26 float denom = (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1); [all...] |
/external/skia/experimental/StrokePathRenderer/ |
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/ |
filters.c | 409 spx_word16_t y1, ny1i, ny2i; local 425 y1 = ADD16(y[i], EXTRACT16(PSHR32(mem1[0],LPC_SHIFT))); 426 ny1i = NEG16(y1); 427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT); 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) 471 y1[k] = EXTRACT16(SATURATE(PSHR32(y1k,15),32767)); 502 spx_sig_t y0, y1, y2, y3; local 505 y0 = y1 = y2 = y3 = 0; 521 y1 = MAC16_16(MAC16_16(y1, a1, x11), a1, x21) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
motion_comp.cpp | 1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; \/* new way *\/ local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_reconinter.c | 352 int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1; local 363 y1 += VP9_INTERP_EXTEND; 369 y0 < 0 || y0 > frame_height - 1 || y1 < 0 || y1 > frame_height - 1) { 373 x0, y0, x1 - x0 + 1, y1 - y0 + 1, frame_width,
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTouchListener.java | 116 final float y1 = y0 + s * dY / v; local 118 mTable.fling(target, x1 - x0, y1 - y0, (int) (1000f * n / 60f), false);
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
colorcheckertest.cpp | 520 float y1, y2; local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
Blit11.cpp | 112 float *x1, float *y1, float *x2, float *y2, 116 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f; 131 float x1, y1, x2, y2, u1, v1, u2, v2; local 132 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 136 d3d11::SetPositionTexCoordVertex(&vertices[0], x1, y1, u1, v2); 138 d3d11::SetPositionTexCoordVertex(&vertices[2], x2, y1, u2, v2); 153 float x1, y1, x2, y2, u1, v1, u2, v2; local 154 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2); 162 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 0], x1, y1, i, u1, v2, readDepth); 164 d3d11::SetPositionLayerTexCoord3DVertex(&vertices[i * 6 + 2], x2, y1, i, u2, v2, readDepth) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
postproc.c | 123 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 942 int x1, y1; local 960 y1 = y0 + 4 + (mv->row >> 3); 962 constrain_line (x0+8, &x1, y0+4, &y1, width, height); 963 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); 968 y1 = y0 +12 + (mv->row >> 3); 970 constrain_line (x0+8, &x1, y0+12, &y1, width, height); 971 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride); 981 y1 = y0 + 8 + (mv->row >> 3); 983 constrain_line (x0+4, &x1, y0+8, &y1, width, height) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_state.c | 515 int x1, y1, x2, y2; local 524 y1 = ctx->DrawBuffer->Height - (y + h); 526 y2 = y1 + h - 1; 527 DBG("%s %d..%d,%d..%d (inverted)\n", __FUNCTION__, x1, x2, y1, y2); 533 y1 = y; 536 DBG("%s %d..%d,%d..%d (not inverted)\n", __FUNCTION__, x1, x2, y1, y2); 540 y1 = CLAMP(y1, 0, ctx->DrawBuffer->Height - 1); 544 DBG("%s %d..%d,%d..%d (clamped)\n", __FUNCTION__, x1, x2, y1, y2); 547 i915->state.Buffer[I915_DESTREG_SR1] = (y1 << 16) | (x1 & 0xffff) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_noise.c | 259 float x1, y1, x2, y2; local 280 y1 = y0 - j1 + G2; 297 t1 = 0.5f - x1 * x1 - y1 * y1; 302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1); 346 float x1, y1, z1, x2, y2, z2, x3, y3, z3; local 416 y1 = y0 - j1 + G3; 439 t1 = 0.6f - x1 * x1 - y1 * y1 - z1 * z1; 446 y1, z1) 529 float x1, y1, z1, w1, x2, y2, z2, w2, x3, y3, z3, w3, x4, y4, z4, w4; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_bitmap.c | 343 const GLfloat y1 = (GLfloat)(y + height); local 349 const GLfloat clip_y1 = (GLfloat)(y1 / fb_height * 2.0 - 1.0);
|