/external/pixman/pixman/ |
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/src/core/ |
SkBitmapProcState_sample.h | 116 SRCTYPE x2 = srcAddr[UNPACK_PRIMARY_SHORT(xx1)]; local 121 *colors++ = RETURNDST(x2);
|
SkEdge.cpp | 179 SkFDot6 x0, y0, x1, y1, x2, y2; local 188 x2 = int(pts[2].fX * scale); 196 x2 = pts[2].fX >> shift; 204 SkTSwap(x0, x2); 219 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2; 255 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value 269 fQLastX = SkFDot6ToFixed(x2); 339 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local 348 x2 = int(pts[2].fX * scale); 358 x2 = pts[2].fX >> shift [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/skia/src/opts/ |
SkBitmapProcState_matrix_repeat_neon.h | 319 int32x4_t x, y, x2, y2; local 347 x2 = q2; y2 = q3; 358 x2 = vandq_s32(x2, vdupq_n_s32(0xffff)); 359 x2 = vmulq_s32(x2, vdupq_n_s32(maxX+1)); 364 /* (hi-x, hi-y)4 (hi-x2; hi-y2)4 */ 372 y2 = vsriq_n_s32(y2, x2, 16);
|
/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...] |
/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/base/libs/hwui/ |
Patch.cpp | 176 float x2 = 0.0f; local 185 x2 = x1 + floorf(segment * stretchX + 0.5f); 187 x2 = x1 + segment * rescaleX; 190 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); 195 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 198 x1 = x2; 205 x2 = width; 206 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 210 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2 [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 68 uint32_t x2 = xend; local 85 while (x1 < x2) { 88 int32_t len = (x2 - x1 - 1) >> 1;
|
rsCpuIntrinsicBlur.cpp | 156 int x1, int x2) { 160 int t = (x2 - x1); 169 while(x2 > x1) { 188 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { 190 int len = x2 - x1; 192 while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { 211 if (gArchUseSIMD && (x2 > x1)) { 212 int t = (x2 - x1) >> 2; 288 uint32_t x2 = xend; local 303 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, x1, x2); 349 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 423 uint32_t x2 = xend; local 472 uint32_t x2 = xend; local 521 uint32_t x2 = xend; local 570 uint32_t x2 = xend; local 619 uint32_t x2 = xend; local [all...] |
/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/Camera/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...] |
/packages/apps/Camera2/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...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 81 float x2 = line[2]; local 84 float xdelt = x2 - x1; 91 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1))
|
/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/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xregion.h | 53 short x1, x2, y1, y2; member in struct:__anon36883 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/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xregion.h | 53 short x1, x2, y1, y2; member in struct:__anon38473 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...] |