/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tracker.h | 142 uint16_t x1, y1, x2, y2; member in struct:xa_box
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 268 int x1, y1, x2, y2; local 290 x2 = cx + cw + irb->draw_x; 299 x1, y1, x2 - x1, y2 - y1); 361 assert(x1 < x2); 377 OUT_BATCH((y2 << 16) | x2); 456 OUT_BATCH((100 << 16) | 100); /* clip x2, y2 */ 535 uint32_t x1, y1, x2, y2; local 558 x2 = image_x + width; 567 x1, y1, x2 - x1, y2 - y1); 596 OUT_BATCH((y2 << 16) | x2); [all...] |
/external/openssl/crypto/ec/ |
ec2_smpl.c | 424 BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t; local 451 x2 = BN_CTX_get(ctx); 482 if (!group->meth->field_sqr(group, x2, s, ctx)) goto err; 483 if (!BN_GF2m_add(x2, x2, &group->a)) goto err; 484 if (!BN_GF2m_add(x2, x2, s)) goto err; 485 if (!BN_GF2m_add(x2, x2, t)) goto err; 498 if (!group->meth->field_sqr(group, x2, s, ctx)) goto err [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_device.cpp | 144 FX_FLOAT x1, x2, y1, y2;
local 147 pObject2Device->Transform(pPoints[1].m_PointX, pPoints[1].m_PointY, x2, y2);
151 x2 = pPoints[1].m_PointX;
154 DrawCosmeticLine(x1, y1, x2, y2, fill_color, fill_mode, alpha_flag, pIccTransform, blend_type);
295 FX_BOOL CFX_RenderDevice::DrawCosmeticLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, FX_DWORD color,
301 if (m_pDeviceDriver->DrawCosmeticLine(x1, y1, x2, y2, color, alpha_flag, pIccTransform, blend_type)) {
308 path.SetPoint(1, x2, y2, FXPT_LINETO);
|
/external/pixman/pixman/ |
pixman-android.c | 85 int x1, x2; local 91 x2 = pixman_fixed_to_int(vx); 93 s2 = *(src + x2);
|
pixman-filter.c | 149 * aligns @x1 in @kernel1 with @x2 in @kernel2 and 158 pixman_kernel_t kernel2, double scale, double x2, 169 integral (kernel1, x1, kernel2, scale, x2, - x1) + 170 integral (kernel1, 0, kernel2, scale, x2 - x1, width + x1); 172 else if (x2 < 0 && x2 + width > 0) 175 integral (kernel1, x1, kernel2, scale, x2, - x2) + 176 integral (kernel1, x1 - x2, kernel2, scale, 0, width + x2); 243 int x, x1, x2; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
SDL_gemevents.c | 83 short x2,y2,w2,h2; local 89 x2=y2=w2=h2 = 0; 93 wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2); 102 mouse_event,x2,y2,w2,h2, 177 short x2,y2,w2,h2; local 234 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 254 wind_get (message[3], WF_WORKXYWH, &x2, &y2, &w2, &h2); 301 short x2, y2, w2, h2; local 309 x2 = y2 = 0; 313 wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsvideo.c | 477 int x1, y1, x2, y2; local 487 x2 = x1 + rects[i].w; 495 if (x2 < 0) { 496 x2 = 0; 497 } else if (x2 > width) { 498 x2 = width; 510 if (x2 <= x1 || y2 <= y1) { 518 scr_x2 = x2; 525 scr_y1 = width - x2; 528 sha_x1 = x2 - 1 [all...] |
/external/skia/experimental/SkV8Example/ |
Path2D.cpp | 232 double x2 = args[2]->NumberValue(); local 240 SkDoubleToScalar(x2),
|
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 116 SRCTYPE x2 = srcAddr[UNPACK_PRIMARY_SHORT(xx1)]; local 121 *colors++ = RETURNDST(x2);
|
SkEdge.cpp | 171 SkFDot6 x0, y0, x1, y1, x2, y2; local 179 x2 = int(pts[2].fX * scale); 186 SkTSwap(x0, x2); 201 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2; 237 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 251 fQLastX = SkFDot6ToFixed(x2); 321 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 329 x2 = int(pts[2].fX * scale); 339 SkTSwap(x1, x2); 361 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3) [all...] |
/external/skia/src/effects/ |
SkBicubicImageFilter.cpp | 132 int x2 = SkClampMax(sx + 1, src.width() - 1); local 140 SkPMColor s20 = *src.getAddr32(x2, y0); 145 SkPMColor s21 = *src.getAddr32(x2, y1); 150 SkPMColor s22 = *src.getAddr32(x2, y2); 155 SkPMColor s23 = *src.getAddr32(x2, y3);
|
/external/speex/libspeex/ |
math_approx.h | 190 spx_word16_t x2; local 194 x2 = MULT16_16_P13(x,x); 195 return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 198 x2 = MULT16_16_P13(x,x); 199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); 210 spx_word16_t x2; local [all...] |
scal.c | 235 float x1,x2; local 239 x2 = uni_rand(&st->seed); 240 } while (x1*x1+x2*x2 > 1.); 243 frame[2*i] = gain*x2;
|
/external/tremolo/Tremolo/ |
mdct.c | 200 DATA_TYPE *x2 = x + (points>>1) - 4; local 206 s2 = x2[1] - x2[0]; x1[1] = x2[1] + x2[0]; 207 s3 = x2[3] - x2[2]; x1[3] = x2[3] + x2[2]; 208 XPROD31( s1, s0, T[0], T[1], &x2[0], &x2[2] ) [all...] |
/external/webp/src/enc/ |
webpenc.c | 334 const float x2 = x * x; local 337 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
block_idct.cpp | 516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local 541 x2 = blk[14]; 567 x1 = W6 * (x3 + x2) + 4; 568 x2 = (x1 - (W2 + W6) * x2) >> 3; 578 x3 = x0 + x2; 579 x0 -= x2; 580 x2 = (181 * (x4 + x5) + 128) >> 8; 588 res2 = (x3 + x2) >> 14; 606 res = (x3 - x2) >> 14 627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local 837 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirGen.h | 248 inline double Poly3(double A, double B, double C, double x, double x2) { 249 return Poly2(A, B, x) + C * x2; 256 inline double Poly4(double A, double B, double C, double D, double x, double x2) { 257 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2); 266 double x2 = x * x; local 267 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2); 277 double x2 = x * x; local [all...] |
/frameworks/base/core/java/android/view/animation/ |
PathInterpolator.java | 136 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); local 138 initCubic(x1, y1, x2, y2); 150 private void initCubic(float x1, float y1, float x2, float y2) { 153 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|
/frameworks/base/libs/hwui/ |
Patch.cpp | 177 float x2 = 0.0f; local 186 x2 = x1 + floorf(segment * stretchX + 0.5f); 188 x2 = x1 + segment * rescaleX; 191 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); 196 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 199 x1 = x2; 206 x2 = width; 207 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 211 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2 [all...] |
ShadowTessellator.cpp | 159 double x2 = poly[p2].x; local 161 double a = (x1 * y2 - x2 * y1); 162 sumx += (x1 + x2) * a;
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 69 uint32_t x2 = xend; local 88 int32_t len = x2 - x1; 100 while (x1 < x2) {
|
rsCpuIntrinsicBlur.cpp | 165 int x1, int x2) { 169 int t = (x2 - x1); 179 while(x2 > x1) { 198 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { 200 int len = x2 - x1; 203 while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { 221 if (gArchUseSIMD && (x2 > x1)) { 222 int t = (x2 - x1) >> 2; 297 uint32_t x2 = xend; local 302 stride, x1, p->y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius) 367 uint32_t x2 = xend; local [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 95 uint32_t x2 = x; local 101 convert_float4(py0[x2]) * coeff[2] + 107 convert_float4(py1[x2]) * coeff[7] + 113 convert_float4(py2[x2]) * coeff[12] + 119 convert_float4(py3[x2]) * coeff[17] + 125 convert_float4(py4[x2]) * coeff[22] + 138 uint32_t x2 = x; local 144 convert_float2(py0[x2]) * coeff[2] + 150 convert_float2(py1[x2]) * coeff[7] + 156 convert_float2(py2[x2]) * coeff[12] 181 uint32_t x2 = x; local 224 uint32_t x2 = x; local 266 uint32_t x2 = x; local 308 uint32_t x2 = x; local 374 uint32_t x2 = xend; local 434 uint32_t x2 = xend; local 483 uint32_t x2 = xend; local 532 uint32_t x2 = xend; local 581 uint32_t x2 = xend; local 630 uint32_t x2 = xend; local [all...] |
rsCpuIntrinsicResize.cpp | 208 uint32_t x2 = xend; local 210 while(x1 < x2) { 248 uint32_t x2 = xend; local 250 while(x1 < x2) { 288 uint32_t x2 = xend; local 290 while(x1 < x2) {
|