/external/opencv/cxcore/src/ |
cxutils.cpp | 275 double x0 = 0., x1 = 0., x2 = 0.; local 371 x2 = t0 * cos(t1 + (4.*CV_PI/3)) - t2; 395 r[step*2] = (float)x2; 404 r[step*2] = x2; [all...] |
/external/opencv/ml/src/ |
mlann_mlp.cpp | 449 double x0 = 1.+data[i], x1 = 1.+data[i+1], x2 = 1.+data[i+2], x3 = 1.+data[i+3]; local 450 double a = x0*x1, b = x2*x3, d = scale2/(a*b), t0, t1; 454 t0 = (2 - x2)*a*x3; t1 = (2 - x3)*a*x2; 529 double x0 = 1.+xf[i], x1 = 1.+xf[i+1], x2 = 1.+xf[i+2], x3 = 1.+xf[i+3]; local 530 double a = x0*x1, b = x2*x3, d = 1./(a*b), t0, t1; 539 t0 = a*x3; t1 = a*x2; 542 t0 *= scale2*(2 - x2); t1 *= scale2*(2 - x3); 937 CvMat *x1 = &hdr1, *x2 = &hdr2, *grad1 = &ghdr1, *grad2 = &ghdr2, *temp; local 976 cvInitMatHeader( x2, 1, layer_sizes->data.i[i], CV_64F, x[i] ) 1132 CvMat *x1, *x2, *grad1, *grad2, *temp; local [all...] |
/external/opencv3/modules/features2d/src/kaze/ |
KAZEFeatures.cpp | 662 int x2 = 0, y2 = 0, kx = 0, ky = 0, i = 0, j = 0, dcount = 0; local 720 x2 = (int)(sample_x + 0.5f); 722 checkDescriptorLimits(x2, y2, options_.img_width, options_.img_height); 728 res2 = *(evolution[level].Lx.ptr<float>(y1)+x2); 730 res4 = *(evolution[level].Lx.ptr<float>(y2)+x2); 734 res2 = *(evolution[level].Ly.ptr<float>(y1)+x2); 736 res4 = *(evolution[level].Ly.ptr<float>(y2)+x2); 790 int x1 = 0, y1 = 0, x2 = 0, y2 = 0, sample_step = 0, pattern_size = 0; local 919 int x2 = 0, y2 = 0, kx = 0, ky = 0, i = 0, j = 0, dcount = 0; local 1073 int x1 = 0, y1 = 0, x2 = 0, y2 = 0, sample_step = 0, pattern_size = 0; local [all...] |
/external/opencv3/modules/imgproc/src/ |
hough.cpp | 1087 int x2 = x1 >> SHIFT, y2 = y1 >> SHIFT; local [all...] |
moments.cpp | 224 int operator() (const uchar * ptr, int len, int & x0, int & x1, int & x2, int & x3) 252 x2 = buf[0] + buf[1] + buf[2] + buf[3]; 276 int operator() (const uchar * ptr, int len, int & x0, int & x1, int & x2, int & x3) 319 x2 = buf[0] + buf[1] + buf[2] + buf[3]; 342 int operator() (const ushort * ptr, int len, int & x0, int & x1, int & x2, int64 & x3) 376 x2 = buf[0] + buf[1] + buf[2] + buf[3]; 407 WT x0 = 0, x1 = 0, x2 = 0; local 409 x = vop(ptr, size.width, x0, x1, x2, x3); 419 x2 += xxp; 427 mom[7] += ((MT)x2) * y; // m2 [all...] |
shapedescr.cpp | 47 double x2, double dx2, double y2, double dy2, double *t2 ) 54 *t2 = ((x2 - x1) * dy1 - (y2 - y1) * dx1) / d; 65 double x2 = (pt1.x + pt2.x) * 0.5; local 73 if( intersectLines( x1, dx1, y1, dy1, x2, dx2, y2, dy2, &t ) >= 0 ) 75 center->x = (float) (x2 + dx2 * t);
|
templmatch.cpp | 754 int x2 = std::min(img0.cols, x0 + dsz.width); local 756 Mat src0(img0, Range(y1, y2), Range(x1, x2)); 758 Mat dst1(dftImg, Rect(x1-x0, y1-y0, x2-x1, y2-y1)); 768 src = depth == maxDepth ? dst1 : Mat(y2-y1, x2-x1, depth, &buf[0]); 776 if( x2 - x1 < dsz.width || y2 - y1 < dsz.height ) [all...] |
undistort.cpp | 142 double x2 = x*x, y2 = y*y; local 143 double r2 = x2 + y2, _2xy = 2*x*y; 145 double u = fx*(x*kr + p1*_2xy + p2*(r2 + 2*x2) + s1*r2+s2*r2*r2) + u0; 556 double x2 = q.x*q.x, y2 = q.y*q.y; local 557 double r2 = x2 + y2, _2xy = 2*q.x*q.y; 559 double u = fx*(q.x*kr + p1*_2xy + p2*(r2 + 2*x2) + s1*r2+ s2*r2*r2) + cx;
|
/external/opencv3/modules/ts/src/ |
ts_perf.cpp | 387 int x2 = rng2["x"]; local 392 double actual_rng2 = getElem(actual, y2, x2, cn2); 395 << argname << " has unexpected value of the ["<< x2 << ":" << y2 << ":" << cn2 <<"] element" << std::endl; [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page.cpp | 964 int x0, y0, x1, y1, x2, y2; local 972 x2 = xPos + xSize; 980 x2 = xPos; 988 x2 = xPos; 996 x2 = xPos + xSize; 1000 display_matrix.Set(FXSYS_Div((FX_FLOAT)(x2 - x0), m_PageWidth),
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_pattern.cpp | 310 FX_FLOAT x2, 325 x = x1 + FXSYS_MulDiv(x2 - x1, y - y1, y2 - y1); 547 float x2, 551 x.FromPoints(x0, x1, x2, x3); 608 int x2 = c1 + (c2 - c1) * x / x_scale; local 609 return x1 + (x2 - x1) * y / y_scale; [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cf2intrp.c | 721 CF2_Fixed x2 = cf2_stack_getReal( opStack, index + 2 ) + x1; local 723 CF2_Fixed x3 = cf2_stack_getReal( opStack, index + 4 ) + x2; 727 cf2_glyphpath_curveTo( &glyphPath, x1, y1, x2, y2, x3, y3 ); 1282 CF2_Fixed x2 = cf2_stack_getReal( opStack, index + 2 ) + x1; local 1315 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1360 CF2_Fixed x1, y1, x2, y2, x3, y3; local 1409 CF2_Fixed x1, x2, x3, y1, y2, y3; local [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
UberColorPickerDialog.java | 733 int x2 = 0, y2 = 0; local 735 x2 = -jump; 737 x2 = jump; 743 mCoord[0] += x2;
|
/external/speex/libspeex/ |
resample.c | 307 spx_word16_t x2, x3; local 308 x2 = MULT16_16_P15(x, x); 309 x3 = MULT16_16_P15(x, x2); 311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); 312 interp[3] = PSHR32(MULT16_16(QCONST16(-0.33333f, 15),x) + MULT16_16(QCONST16(.5f,15),x2) - MULT16_16(QCONST16(0.16667f, 15),x3),15); [all...] |
/external/webrtc/webrtc/base/ |
virtualsocketserver.cc | 1039 double x2, 1044 double x = x1 + (x2 - x1) * i / (samples - 1); 1066 double x2 = iter->first; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
expand.cc | 696 int16_t x1, x2, x3; local 699 x2 = (x1 * x1) >> 14; // Shift 14 to keep result in Q14. 700 x3 = (x1 * x2) >> 14; 704 temp_sum += kCoefficients[2] * x2; [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsics_x86.cpp | 154 __m128i x2, y2, z2, w2; local 170 x2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x00)); 175 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00))); 180 x2 = _mm_srai_epi32(x2, 8); 185 x2 = packus_epi32(x2, y2); 187 o4 = _mm_packus_epi16(x2, z2); 210 __m128i x2, y2, z2, w2 local 262 __m128i x2, y2, z2, w2; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_loopfilter_intrin_sse2.c | 1469 __m128i x0, x1, x2, x3, x4, x5, x6, x7; local 1537 __m128i x0, x1, x2, x3, x4, x5, x6, x7; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 130 float x2 = line[2]; local 133 float xdelt = x2 - x1; 140 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1))
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); 180 if(x3 > xRightCorners[0] || x2 > xRightCorners[1]) // If either of the right corners is higher 183 xRightCorners[1] = x2; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 1004 int x2 = x1 + 1; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state_utils.cpp | 307 const int x2 = (*sampledInputXs)[index1]; local 309 return GeometryUtils::getAngle(x1, y1, x2, y2); 529 const int x2 = xCoordinates[start]; local 533 const int beelineDistance = GeometryUtils::getDistanceInt(x2, y2, x3, y3); [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_rect.c | 21 int x1, int y1, int x2, int y2, 34 SDLTest_AssertCheck(x1 == x1Ref && y1 == y1Ref && x2 == x2Ref && y2 == y2Ref, 36 x1, y1, x2, y2, 54 int x2, y2; local 64 x2 = xRight; 67 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 68 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 0, 15, 31, 15); 72 x2 = 15; 75 intersected = SDL_IntersectRectAndLine(&rect, &x1, &y1, &x2, &y2); 76 _validateIntersectRectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, 15, 0, 15, 31) 125 int x2, y2; local 192 int x2, y2; local 247 int x2, y2, x2Ref, y2Ref; local 282 int x2 = x1; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 241 int x1, y1, x2, y2; local 245 x2 = initialCrop.x + initialCrop.w; 250 x2 = image.getWidth(); 255 if (x1 == x2 || y1 == y2) { 270 for (int x = x1; x < x2; x++) { 283 leftEdge: for (; x1 < x2; x1++) { 292 rightEdge: for (; x2 > x1; x2--) { 294 if (!filter.crop(image, x2 - 1, y)) { 302 for (int x = x1; x < x2; x++) [all...] |
PreviewIconFactory.java | 331 int x2 = parentX + info.getRight(); local 333 if (x1 != x2 && y1 != y2) { 334 savePreview(file, image, x1, y1, x2, y2);
|
/system/core/libmincrypt/ |
p256_ec.c | 1248 felem x1, y1, z1, x2, y2, z2, px, py; local [all...] |