/external/skia/src/core/ |
SkCordic.cpp | 17 0xA, 0x5, 0x2, 0x1 }; 29 int32_t x1 = y >> t; local 33 x -= x1; 37 x += x1; 83 int32_t x1 = y >> t; local 87 x -= x1; 91 x += x1; 141 0xA, 0x5, 0x2, 0x1 }; 154 int32_t x1 = y >> t; local 162 x += x1; [all...] |
SkEdge.cpp | 36 SkFDot6 x0, y0, x1, y1; local 43 x1 = int(p1.fX * scale); 49 x1 = p1.fX >> shift; 57 SkTSwap(x0, x1); 74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); 92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) 113 x1 >>= 10; 115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); 179 SkFDot6 x0, y0, x1, y1, x2, y2; local 186 x1 = int(pts[1].fX * scale) 339 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; local [all...] |
/external/skia/src/effects/ |
SkBicubicImageFilter.cpp | 131 int x1 = SkClampMax(sx , src.width() - 1); local 139 SkPMColor s10 = *src.getAddr32(x1, y0); 144 SkPMColor s11 = *src.getAddr32(x1, y1); 149 SkPMColor s12 = *src.getAddr32(x1, y2); 154 SkPMColor s13 = *src.getAddr32(x1, y3);
|
SkDashPathEffect.cpp | 211 SkScalar x1 = fPts[0].fX + SkScalarMul(fTangent.fX, d1); local 217 pts[1].set(x1 + fNormal.fX, y1 + fNormal.fY); // lineTo 218 pts[2].set(x1 - fNormal.fX, y1 - fNormal.fY); // lineTo
|
/external/skia/src/opts/ |
SkBitmapFilter_opts_SSE2.cpp | 70 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f))); local 75 for (int src_x = x0; src_x <= x1 ; src_x++) { 137 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f))); local 142 for (int src_x = x0; src_x <= x1 ; src_x++) {
|
SkBitmapProcState_opts_SSSE3.cpp | 38 // (4x(x3), 4x(x2), 4x(x1), 4x(x0)) upon return. 40 // (4x(16 - x3), 4x(16 - x2), 4x(16 - x1), 4x(16 - x0)) 49 int* x1) { 59 _mm_storeu_si128(reinterpret_cast<__m128i *>(x1), x1_wide); 63 // (4x(x3), 4x(x2), 4x(x1), 4x(x0)) 67 // (4x(16-x3), 4x(16-x2), 4x(16-x1), 4x(16-x0)) 84 // (4x(y1), 4x(y0), 4x(x1), 4x(x0)) upon return. 86 // (4x(16-y1), 4x(16-y0), 4x(16-x1), 4x(16-x0)). 110 // (x1, y1, x0, y0) 112 // (y1, y0, x1, x0 430 int x1[4]; local 467 unsigned x1 = xx & 0x3FFF; local 502 int x1[4]; local 541 const unsigned x1 = xx & 0x3FFF; local 656 unsigned x1 = data & 0x3FFF; local [all...] |
/external/speex/libspeex/ |
scal.c | 235 float x1,x2; local 238 x1 = uni_rand(&st->seed); 240 } while (x1*x1+x2*x2 > 1.); 242 frame[2*i-1] = gain*x1;
|
/external/tremolo/Tremolo/ |
mdct.c | 199 DATA_TYPE *x1 = x + points - 4; local 204 s0 = x1[0] - x1[1]; x1[0] += x1[1]; 205 s1 = x1[3] - x1[2]; x1[2] += x1[3]; 206 s2 = x2[1] - x2[0]; x1[1] = x2[1] + x2[0] [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 539 x1 = (int32)blk[12] << 8; 565 x8 = x0 + x1; 566 x0 -= x1; 567 x1 = W6 * (x3 + x2) + 4; 568 x2 = (x1 - (W2 + W6) * x2) >> 3; 569 x3 = (x1 + (W2 - W6) * x3) >> 3; 570 x1 = x4 + x6; 586 res = (x7 + x1) >> 14; 609 res = (x7 - x1) >> 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 | 175 float x1 = 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; 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, 215 if (x1 < 0.0f) x1 = 0.0f [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 67 uint32_t x1 = xstart; local 85 while (x1 < x2) { 88 int32_t len = (x2 - x1 - 1) >> 1; 97 x1 += len << 1; 143 if (!x1) { 164 x1++;
|
rsCpuIntrinsicBlur.cpp | 150 extern "C" void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct); 151 extern "C" void rsdIntrinsicBlurHFU4_K(void *dst, const void *pin, const void *gptr, int rct, int x1, int ct); 152 extern "C" void rsdIntrinsicBlurHFU1_K(void *dst, const void *pin, const void *gptr, int rct, int x1, int ct); 156 int x1, int x2) { 160 int t = (x2 - x1); 163 rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); 165 x1 += t; 169 while(x2 > x1) { 181 x1++ 287 uint32_t x1 = xstart; local 348 uint32_t x1 = xstart; local [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 94 uint32_t x1 = rsMax((int32_t)x-1, 0); local 100 convert_float4(py0[x1]) * coeff[1] + 106 convert_float4(py1[x1]) * coeff[6] + 112 convert_float4(py2[x1]) * coeff[11] + 118 convert_float4(py3[x1]) * coeff[16] + 124 convert_float4(py4[x1]) * coeff[21] + 137 uint32_t x1 = rsMax((int32_t)x-1, 0); local 143 convert_float2(py0[x1]) * coeff[1] + 149 convert_float2(py1[x1]) * coeff[6] + 155 convert_float2(py2[x1]) * coeff[11] 180 uint32_t x1 = rsMax((int32_t)x-1, 0); local 223 uint32_t x1 = rsMax((int32_t)x-1, 0); local 265 uint32_t x1 = rsMax((int32_t)x-1, 0); local 307 uint32_t x1 = rsMax((int32_t)x-1, 0); local 373 uint32_t x1 = xstart; local 422 uint32_t x1 = xstart; local 471 uint32_t x1 = xstart; local 520 uint32_t x1 = xstart; local 569 uint32_t x1 = xstart; local 618 uint32_t x1 = xstart; local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_metrics.h | 121 double x0,x1,x2,mult; local 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; 128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 135 double x0,x1,x2,mult; local 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; 142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 174 [x0 x1 1 0 0 0 0 0 0] 175 [ 0 0 0 x0 x1 1 0 0 0] 176 [ 0 0 0 0 0 0 x0 x1 1] 178 [-x0/zh -x1/zh -1/zh 0 0 0 x0*xh/(zh*zh) x1*xh/(zh*zh) xh/(zh*zh) [all...] |
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
db_metrics.h | 121 double x0,x1,x2,mult; local 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; 128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 135 double x0,x1,x2,mult; local 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; 142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 174 [x0 x1 1 0 0 0 0 0 0] 175 [ 0 0 0 x0 x1 1 0 0 0] 176 [ 0 0 0 0 0 0 x0 x1 1] 178 [-x0/zh -x1/zh -1/zh 0 0 0 x0*xh/(zh*zh) x1*xh/(zh*zh) xh/(zh*zh) [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 80 float x1 = line[0]; local 84 float xdelt = x2 - x1; 88 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt) 91 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1))
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterGrad.java | 122 int[] x1 = mParameters.getXPos1(); local 131 for (int i = 0; i < x1.length; i++) { 132 coord[0] = x1[i]; 135 x1[i] = (int) coord[0]; 145 mScript.set_xPos1(x1);
|
SplineMath.java | 50 double x1 = cur[0]; local 57 double delta = (x2 - x1); 59 double b = (x - x1) / delta; 91 double x1 = cur[0]; local 98 double delta = (x2 - x1); 100 double b = (x - x1) / delta;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageGrad.java | 178 int x1[] = mGradRep.getXPos1(); local 191 c[0] = (x1[i]+x2[i])/2;
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_metrics.h | 121 double x0,x1,x2,mult; local 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; 128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 135 double x0,x1,x2,mult; local 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; 142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 174 [x0 x1 1 0 0 0 0 0 0] 175 [ 0 0 0 x0 x1 1 0 0 0] 176 [ 0 0 0 0 0 0 x0 x1 1] 178 [-x0/zh -x1/zh -1/zh 0 0 0 x0*xh/(zh*zh) x1*xh/(zh*zh) xh/(zh*zh) [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 92 ((r1)->x2 > (r2)->x1 && \ 93 (r1)->x1 < (r2)->x2 && \ 101 if((r)->x1 < (idRect)->extents.x1)\ 102 (idRect)->extents.x1 = (r)->x1;\ 133 ((R-1)->x1 <= (Rx1)) &&\ 140 (r)->x1 = (rx1);\ 156 (r)->x1 = (rx1); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/dvb/ |
osd.h | 33 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) 48 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1}) 69 OSD_SetRow, // (x0,y0,x1,data) 70 // fills pixels x0,y through x1,y with the content of data[] 72 OSD_SetBlock, // (x0,y0,x1,y1,increment{color},data) 73 // fills pixels x0,y0 through x1,y1 with the content of data[] 77 OSD_FillRow, // (x0,y0,x1,color) 78 // fills pixels x0,y through x1,y with the color <col> 80 OSD_FillBlock, // (x0,y0,x1,y1,color) 81 // fills pixels x0,y0 through x1,y1 with the color <col 103 int x1; member in struct:osd_cmd_s [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 92 ((r1)->x2 > (r2)->x1 && \ 93 (r1)->x1 < (r2)->x2 && \ 101 if((r)->x1 < (idRect)->extents.x1)\ 102 (idRect)->extents.x1 = (r)->x1;\ 133 ((R-1)->x1 <= (Rx1)) &&\ 140 (r)->x1 = (rx1);\ 156 (r)->x1 = (rx1); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
osd.h | 33 OSD_Open, // (x0,y0,x1,y1,BitPerPixel[2/4/8](color&0x0F),mix[0..15](color&0xF0)) 48 OSD_SetColor, // (color,R{x0},G{y0},B{x1},opacity{y1}) 69 OSD_SetRow, // (x0,y0,x1,data) 70 // fills pixels x0,y through x1,y with the content of data[] 72 OSD_SetBlock, // (x0,y0,x1,y1,increment{color},data) 73 // fills pixels x0,y0 through x1,y1 with the content of data[] 77 OSD_FillRow, // (x0,y0,x1,color) 78 // fills pixels x0,y through x1,y with the color <col> 80 OSD_FillBlock, // (x0,y0,x1,y1,color) 81 // fills pixels x0,y0 through x1,y1 with the color <col 103 int x1; member in struct:osd_cmd_s [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xregion.h | 53 short x1, x2, y1, y2; member in struct:__anon39988 92 ((r1)->x2 > (r2)->x1 && \ 93 (r1)->x1 < (r2)->x2 && \ 101 if((r)->x1 < (idRect)->extents.x1)\ 102 (idRect)->extents.x1 = (r)->x1;\ 133 ((R-1)->x1 <= (Rx1)) &&\ 140 (r)->x1 = (rx1);\ 156 (r)->x1 = (rx1); [all...] |