Searched refs:delta2 (Results 1 - 25 of 42) sorted by relevance

12

/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
H A DHC4.java96 int delta2 = lzPos - hash.getHash2Pos();
109 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) {
112 matches.dist[0] = delta2 - 1;
120 if (delta2 != delta3 && delta3 < cyclicSize
124 delta2 = delta3;
129 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2]
H A DBT4.java80 int delta2 = lzPos - hash.getHash2Pos();
91 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) {
94 matches.dist[0] = delta2 - 1;
102 if (delta2 != delta3 && delta3 < cyclicSize
106 delta2 = delta3;
111 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2]
/external/iputils/
H A Dclockdiff.c134 long delta1, delta2; local
272 delta2 = recvtime - histime;
273 if (delta2 < BIASN)
274 delta2 += MODULO;
275 else if (delta2 > BIASP)
276 delta2 -= MODULO;
280 if (delta2 < min2)
281 min2 = delta2;
282 if (delta1 + delta2 < min_rtt) {
283 min_rtt = delta1 + delta2;
311 long delta1, delta2; local
[all...]
/external/lzma/C/
H A DLzFind.c510 UInt32 hash2Value, delta2, maxLen, offset; local
515 delta2 = p->pos - p->hash[hash2Value];
524 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur)
527 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen])
530 distances[1] = delta2 - 1;
543 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
548 delta2 = p->pos - p->hash[ hash2Value];
558 if (delta2 < p->cyclicBufferSize && *(cur - delta2)
590 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
[all...]
/external/chromium-trace/catapult/dashboard/dashboard/
H A Dauto_triage.py224 def _IsOppositeDirection(delta1, delta2):
225 return delta1 * delta2 < 0
228 def _IsApproximatelyEqual(delta1, delta2):
229 smaller = min(delta1, delta2)
230 larger = max(delta1, delta2)
/external/freetype/src/autofit/
H A Daflatin.c1230 FT_Pos delta2; local
1239 delta2 = delta1;
1241 delta2 = -delta2;
1243 delta2 = FT_MulFix( delta2, scale );
1245 if ( delta2 < 32 )
1246 delta2 = 0;
1247 else if ( delta2 < 64 )
1248 delta2
3053 FT_Pos cur_pos1, cur_pos2, delta1, delta2; local
[all...]
H A Dafcjk.c694 FT_Pos delta1, delta2; local
701 delta2 = delta1;
703 delta2 = -delta2;
705 delta2 = FT_MulFix( delta2, scale );
708 if ( delta2 < 32 )
709 delta2 = 0;
711 else if ( delta2 < 64 )
712 delta2
[all...]
H A Daflatin2.c653 FT_Pos delta1, delta2; local
656 delta2 = delta1;
658 delta2 = -delta2;
660 delta2 = FT_MulFix( delta2, scale );
662 if ( delta2 < 32 )
663 delta2 = 0;
664 else if ( delta2 < 64 )
665 delta2
[all...]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
H A Daflatin.c1118 FT_Pos delta2; local
1127 delta2 = delta1;
1129 delta2 = -delta2;
1131 delta2 = FT_MulFix( delta2, scale );
1133 if ( delta2 < 32 )
1134 delta2 = 0;
1135 else if ( delta2 < 64 )
1136 delta2
2612 FT_Pos cur_pos1, cur_pos2, delta1, delta2; local
[all...]
H A Dafcjk.c633 FT_Pos delta1, delta2; local
640 delta2 = delta1;
642 delta2 = -delta2;
644 delta2 = FT_MulFix( delta2, scale );
647 if ( delta2 < 32 )
648 delta2 = 0;
650 else if ( delta2 < 64 )
651 delta2
[all...]
H A Daflatin2.c648 FT_Pos delta1, delta2; local
651 delta2 = delta1;
653 delta2 = -delta2;
655 delta2 = FT_MulFix( delta2, scale );
657 if ( delta2 < 32 )
658 delta2 = 0;
659 else if ( delta2 < 64 )
660 delta2
[all...]
/external/opencv3/modules/core/src/
H A Dcuda_gpu_mat.cpp210 ptrdiff_t delta2 = dataend - datastart;
226 wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows);
227 wholeSize.width = std::max(static_cast<int>((delta2 - step * (wholeSize.height - 1)) / esz), ofs.x + cols);
303 const ptrdiff_t delta2 = obj.dataend - obj.datastart;
308 wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / static_cast<size_t>(obj.step) + 1), obj.rows);
309 wholeSize.width = std::max(static_cast<int>((delta2 - static_cast<size_t>(obj.step) * (wholeSize.height - 1)) / esz), obj.cols);
H A Dumatrix.cpp442 ptrdiff_t delta1 = (ptrdiff_t)offset, delta2 = (ptrdiff_t)u->size;
453 wholeSize.height = (int)((delta2 - minstep)/step[0] + 1);
455 wholeSize.width = (int)((delta2 - step*(wholeSize.height-1))/esz);
/external/v8/test/unittests/base/platform/
H A Dtime-unittest.cc52 TimeDelta delta2 = TimeDelta::FromDays(42); local
53 EXPECT_EQ(delta2, TimeDelta::FromMachTimespec(delta2.ToMachTimespec()));
/external/opencv3/modules/video/include/opencv2/video/
H A Dtracking_c.h126 double delta1, double delta2,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c43 double delta1, delta2; local
47 // should result in: delta1 = 0.5; delta2 = 0.0; peak_val = 1.0
73 delta2 = t2 / A[1][1];
74 delta1 = 0.5 * (t1 - delta2 * A[0][1]) / A[0][0];
75 delta2 *= 0.5;
78 t1 = delta1 * delta1 + delta2 * delta2;
81 delta2 /= t1;
84 *peak_val = 0.5 * (b[0] * delta1 + b[1] * delta2) + c;
87 *y += delta2;
[all...]
/external/opencv/cv/src/
H A Dcvmotempl.cpp161 double delta1, double delta2,
191 if( delta1 <= 0 || delta2 <= 0 )
204 if( delta1 > delta2 )
207 CV_SWAP( delta1, delta2, t );
212 max_delta = (float)delta2;
159 cvCalcMotionGradient( const CvArr* mhiimg, CvArr* maskimg, CvArr* orientation, double delta1, double delta2, int aperture_size ) argument
/external/opencv3/modules/hal/include/opencv2/hal/
H A Dintrin_sse.hpp499 v_uint64x2 delta2(delta, delta);
500 __m128i a1 = _mm_srli_epi64(_mm_add_epi64(a.val, delta2.val), n);
501 __m128i b1 = _mm_srli_epi64(_mm_add_epi64(b.val, delta2.val), n);
511 v_uint64x2 delta2(delta, delta);
512 __m128i a1 = _mm_srli_epi64(_mm_add_epi64(a.val, delta2.val), n);
532 v_int64x2 delta2(delta, delta);
533 __m128i a1 = v_srai_epi64(_mm_add_epi64(a.val, delta2.val), n);
534 __m128i b1 = v_srai_epi64(_mm_add_epi64(b.val, delta2.val), n);
544 v_int64x2 delta2(delta, delta);
545 __m128i a1 = v_srai_epi64(_mm_add_epi64(a.val, delta2
[all...]
/external/skia/src/gpu/batches/
H A DGrPLSPathRenderer.cpp319 GrGLSLVertToFrag delta2(kVec2f_GrSLType);
320 varyingHandler->addVarying("delta2", &delta2, kHigh_GrSLPrecision);
322 delta2.vsOut(), v2.vsOut(), v3.vsOut(), v3.vsOut(), v2.vsOut());
352 fsBuilder->codeAppendf("highp vec2 delta2 = %s;", delta2.fsIn());
360 fsBuilder->codeAppendf("highp float d2 = dot(delta2, (firstSample - %s).yx) * 2.0;",
369 fsBuilder->codeAppend("d2 += delta2.x;");
374 fsBuilder->codeAppend("d2 += delta2.y;");
379 fsBuilder->codeAppend("d2 -= delta2
[all...]
/external/freetype/src/base/
H A Dftstroke.c938 FT_Vector delta, delta2; local
944 FT_Vector_From_Polar( &delta2, radius, angle + rotate );
947 delta.x += stroker->center.x + delta2.x;
948 delta.y += stroker->center.y + delta2.y;
954 FT_Vector_From_Polar( &delta2, radius, angle - rotate );
957 delta.x += delta2.x + stroker->center.x;
958 delta.y += delta2.y + stroker->center.y;
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
H A Dftstroke.c937 FT_Vector delta, delta2; local
943 FT_Vector_From_Polar( &delta2, radius, angle + rotate );
946 delta.x += stroker->center.x + delta2.x;
947 delta.y += stroker->center.y + delta2.y;
953 FT_Vector_From_Polar( &delta2, radius, angle - rotate );
956 delta.x += delta2.x + stroker->center.x;
957 delta.y += delta2.y + stroker->center.y;
/external/pdfium/third_party/freetype/src/base/
H A Dftstroke.c937 FT_Vector delta, delta2; local
943 FT_Vector_From_Polar( &delta2, radius, angle + rotate );
946 delta.x += stroker->center.x + delta2.x;
947 delta.y += stroker->center.y + delta2.y;
953 FT_Vector_From_Polar( &delta2, radius, angle - rotate );
956 delta.x += delta2.x + stroker->center.x;
957 delta.y += delta2.y + stroker->center.y;
/external/opencv3/modules/calib3d/src/
H A Dstereosgbm.cpp554 int delta2 = minLr[1][xm + 2] + P2, delta3 = minLr[1][xm + NR2 + 3] + P2;
575 __m128i _delta2 = _mm_set1_epi16((short)delta2);
647 L2 = Cpd + std::min((int)Lr_p2[d], std::min(Lr_p2[d-1] + P1, std::min(Lr_p2[d+1] + P1, delta2))) - delta2;
/external/opencv3/modules/imgproc/src/
H A Ddemosaicing.cpp146 __m128i delta1 = _mm_set1_epi16(1), delta2 = _mm_set1_epi16(2);
161 b0 = _mm_srli_epi16(_mm_add_epi16(b0, delta2), 2);
169 g0 = _mm_srli_epi16(_mm_add_epi16(g0, delta2), 2);
239 __m128i delta1 = _mm_set1_epi16(1), delta2 = _mm_set1_epi16(2); local
259 b0 = _mm_srli_epi16(_mm_add_epi16(b0, delta2), 2);
/external/freetype/src/pshinter/
H A Dpshalgo.c426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; local
429 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) )
432 return delta2;

Completed in 1598 milliseconds

12