/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/v8/test/unittests/compiler/ |
typer-unittest.cc | 136 for (int x2 = rmin; x2 < rmin + width; x2++) { 137 double result_value = opfun(x1, x2); 157 double x2 = RandomInt(r2); local 158 double result_value = opfun(x1, x2); 174 double x2 = RandomInt(r2); local 175 bool result_value = opfun(x1, x2); 193 int32_t x2 = static_cast<int32_t>(RandomInt(r2)); local 194 double result_value = opfun(x1, x2); [all...] |
/external/webp/src/enc/ |
webpenc.c | 346 const float x2 = x * x; local 349 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 | 251 inline double Poly3(double A, double B, double C, double x, double x2) { 252 return Poly2(A, B, x) + C * x2; 259 inline double Poly4(double A, double B, double C, double D, double x, double x2) { 260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2); 269 double x2 = x * x; local 270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2); 280 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 | 153 float x2 = 0.0f; local 162 x2 = x1 + floorf(segment * stretchX + 0.5f); 164 x2 = x1 + segment * rescaleX; 167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); 172 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 175 x1 = x2; 182 x2 = width; 183 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 187 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2 [all...] |
/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 303 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius) 368 uint32_t x2 = xend; local [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 96 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 100 convert_float4(py0[x2]) * coeff[2] + 103 convert_float4(py1[x2]) * coeff[5] + 106 convert_float4(py2[x2]) * coeff[8]; 118 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 122 convert_float2(py0[x2]) * coeff[2] + 125 convert_float2(py1[x2]) * coeff[5] + 128 convert_float2(py2[x2]) * coeff[8]; 139 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 143 ((float)py0[x2]) * coeff[2] 158 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 169 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 180 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); local 206 uint32_t x2 = xend; local 253 uint32_t x2 = xend; local 298 uint32_t x2 = xend; local 343 uint32_t x2 = xend; local 388 uint32_t x2 = xend; local 432 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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
vp9_itrans4_dspr2.c | 324 int x0, x1, x2, x3; local 328 x2 = input[2]; 331 if (!(x0 | x1 | x2 | x3)) { 339 s3 = sinpi_4_9 * x2; 340 s4 = sinpi_1_9 * x2; 343 s7 = x0 - x2 + x3; 347 x2 = sinpi_3_9 * s7; 352 s2 = x2;
|
vp9_itrans8_dspr2.c | 473 int x0, x1, x2, x3, x4, x5, x6, x7; local 477 x2 = input[5]; 484 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { 493 s2 = cospi_10_64 * x2 + cospi_22_64 * x3; 494 s3 = cospi_22_64 * x2 - cospi_10_64 * x3; 502 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); 512 s2 = x2; 521 x2 = s0 - s2; 529 s2 = cospi_16_64 * (x2 + x3); 530 s3 = cospi_16_64 * (x2 - x3) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_resize.c | 236 int x, x1, x2, sum, k, int_pel, sub_pel; local 256 x2 = x; 257 if (x1 > x2) { 286 for (; x <= x2; ++x, y += delta) {
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf_rt.c | 885 double x2 = me->dRate[i].ax / me->dRate[i].an; local 887 xx = my_sqrt(xx - x2 * x2); 892 1/x, xx, s, x2-1/x); [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 185 float x2 = 0.5f * previewW; local 201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2); 204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint); 235 float x1, x2, y1, y2; local 255 x2 = previewW; 257 canvas.drawLine(x1, y1, x2, y2, mPaint); 262 x1 = x2 = previewW / 2 + focalLengthW * (float) Math.tan(i); 265 canvas.drawLine(x1, y1, x2, y2, mPaint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterGrad.java | 124 int[] x2 = mParameters.getXPos2(); local 137 coord[0] = x2[i]; 140 x2[i] = (int) coord[0]; 147 mScript.set_xPos2(x2);
|
SplineMath.java | 51 double x2 = next[0]; local 57 double delta = (x2 - x1); 92 double x2 = next[0]; local 98 double delta = (x2 - x1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageGrad.java | 180 int x2[] = mGradRep.getXPos2(); local 191 c[0] = (x1[i]+x2[i])/2;
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_metrics.h | 41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; local 73 x2=db_sqr(f[0]); 75 r2=x2+y2; 121 double x0,x1,x2,mult; local 126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2]; 127 mult=1.0/((x2!=0.0)?x2:1.0); 135 double x0,x1,x2,mult; local 140 x2=H[6]*x[0]+H[7]*x[1]+H[8]; 141 mult=1.0/((x2!=0.0)?x2:1.0) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xregion.h | 53 short x1, x2, y1, y2; member in struct:__anon38214 89 * Remember, x2 and y2 are not in the region 92 ((r1)->x2 > (r2)->x1 && \ 93 (r1)->x1 < (r2)->x2 && \ 105 if((r)->x2 > (idRect)->extents.x2)\ 106 (idRect)->extents.x2 = (r)->x2;\ 134 ((R-1)->x2 >= (Rx2)))) 142 (r)->x2 = (rx2); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xregion.h | 52 short x1, x2, y1, y2; member in struct:__anon40077 88 * Remember, x2 and y2 are not in the region 91 ((r1)->x2 > (r2)->x1 && \ 92 (r1)->x1 < (r2)->x2 && \ 104 if((r)->x2 > (idRect)->extents.x2)\ 105 (idRect)->extents.x2 = (r)->x2;\ 133 ((R-1)->x2 >= (Rx2)))) 141 (r)->x2 = (rx2); [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testintersections.c | 80 add_line(int x1, int y1, int x2, int y2) 84 if ((x1 == x2) && (y1 == y2)) 87 SDL_Log("adding line (%d, %d), (%d, %d)\n", x1, y1, x2, y2); 90 lines[num_lines].w = x2; 124 add_rect(int x1, int y1, int x2, int y2) 128 if ((x1 == x2) || (y1 == y2)) 131 if (x1 > x2) 132 SWAP(int, x1, x2); 136 SDL_Log("adding rect (%d, %d), (%d, %d) [%dx%d]\n", x1, y1, x2, y2, 137 x2 - x1, y2 - y1) 163 int x1, y1, x2, y2; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 67 gc.drawLine(b.x, y, b.x2(), y); 94 int x2 = b.x2() - MARGIN_SIZE; local 95 for (int x = x1; x < x2; x += GRID_SIZE) { 202 gc.drawLine(b.x, y1, b.x2(), y1); 203 gc.drawLine(b.x, y2, b.x2(), y2); 210 gc.drawLine(b.x, y, b.x2(), y ); 217 int x2; local 220 x2 = columnMatch.matchedLine - columnMatch.margin; 224 x2 = columnMatch.matchedLine + columnMatch.margin [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintTooltipManager.java | 166 int x2 = b.x + b.width; local 168 if (p.x < x2 - layoutIconSize - slop 169 || p.x > x2 + slop
|