Home
last modified time | relevance | path

Searched refs:max_dist (Results 1 – 12 of 12) sorted by relevance

/external/opencv/cv/src/
Dcvapprox.cpp575 int max_dist = 0; in icvApproxPolyDP_32s() local
589 if( dist > max_dist ) in icvApproxPolyDP_32s()
591 max_dist = dist; in icvApproxPolyDP_32s()
596 le_eps = max_dist <= eps; in icvApproxPolyDP_32s()
630 int dx, dy, dist, max_dist = 0; in icvApproxPolyDP_32s() local
642 if( dist > max_dist ) in icvApproxPolyDP_32s()
644 max_dist = dist; in icvApproxPolyDP_32s()
649 le_eps = (double)max_dist * max_dist <= eps * ((double)dx * dx + (double)dy * dy); in icvApproxPolyDP_32s()
780 double max_dist = 0; in icvApproxPolyDP_32f() local
794 if( dist > max_dist ) in icvApproxPolyDP_32f()
[all …]
Dcvrotcalipers.cpp96 float max_dist = 0; in icvRotatingCalipers() local
259 if( dist > max_dist ) in icvRotatingCalipers()
260 max_dist = dist; in icvRotatingCalipers()
337 out[0] = max_dist; in icvRotatingCalipers()
Dcvshapedescr.cpp181 float max_dist = 0; in icvFindEnslosingCicle4pts_32f() local
195 if( max_dist < dist ) in icvFindEnslosingCicle4pts_32f()
197 max_dist = dist; in icvFindEnslosingCicle4pts_32f()
203 if( max_dist == 0 ) in icvFindEnslosingCicle4pts_32f()
/external/qemu/distrib/jpeg-6b/
Djquant2.c661 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
694 max_dist = tdist*tdist; in find_nearby_colors()
699 max_dist = tdist*tdist; in find_nearby_colors()
705 max_dist = tdist*tdist; in find_nearby_colors()
708 max_dist = tdist*tdist; in find_nearby_colors()
717 max_dist += tdist*tdist; in find_nearby_colors()
722 max_dist += tdist*tdist; in find_nearby_colors()
727 max_dist += tdist*tdist; in find_nearby_colors()
730 max_dist += tdist*tdist; in find_nearby_colors()
739 max_dist += tdist*tdist; in find_nearby_colors()
[all …]
/external/chromium_org/third_party/libjpeg_turbo/
Djquant2.c645 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
678 max_dist = tdist*tdist; in find_nearby_colors()
683 max_dist = tdist*tdist; in find_nearby_colors()
689 max_dist = tdist*tdist; in find_nearby_colors()
692 max_dist = tdist*tdist; in find_nearby_colors()
701 max_dist += tdist*tdist; in find_nearby_colors()
706 max_dist += tdist*tdist; in find_nearby_colors()
711 max_dist += tdist*tdist; in find_nearby_colors()
714 max_dist += tdist*tdist; in find_nearby_colors()
723 max_dist += tdist*tdist; in find_nearby_colors()
[all …]
/external/jpeg/
Djquant2.c661 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
694 max_dist = tdist*tdist; in find_nearby_colors()
699 max_dist = tdist*tdist; in find_nearby_colors()
705 max_dist = tdist*tdist; in find_nearby_colors()
708 max_dist = tdist*tdist; in find_nearby_colors()
717 max_dist += tdist*tdist; in find_nearby_colors()
722 max_dist += tdist*tdist; in find_nearby_colors()
727 max_dist += tdist*tdist; in find_nearby_colors()
730 max_dist += tdist*tdist; in find_nearby_colors()
739 max_dist += tdist*tdist; in find_nearby_colors()
[all …]
/external/opencv/cxcore/src/
Dcxutils.cpp63 double max_dist; in cvKMeans2() local
103 max_dist = termcrit.epsilon*2; in cvKMeans2()
136 max_dist = 0; in cvKMeans2()
164 if( max_dist < dist ) in cvKMeans2()
165 max_dist = dist; in cvKMeans2()
208 if( max_dist < termcrit.epsilon ) in cvKMeans2()
/external/opencv/ml/src/
Dmlem.cpp587 double max_dist = DBL_MAX; in kmeans() local
689 max_dist = 0; in kmeans()
723 if( max_dist < dist ) in kmeans()
724 max_dist = dist; in kmeans()
728 if( max_dist < termcrit.epsilon ) in kmeans()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1641 uint32_t max_dist, num_regs, *sample_locs; in cayman_set_ms_pos() local
1647 max_dist = max_dist_2x; in cayman_set_ms_pos()
1652 max_dist = max_dist_4x; in cayman_set_ms_pos()
1657 max_dist = max_dist_8x; in cayman_set_ms_pos()
1662 max_dist = max_dist_16x; in cayman_set_ms_pos()
1689 return max_dist; in cayman_set_ms_pos()
1839 unsigned max_dist = cayman_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1844 S_028BE0_MAX_SAMPLE_DIST(max_dist) | in evergreen_set_framebuffer_state()
1854 unsigned max_dist = evergreen_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1859 S_028C04_MAX_SAMPLE_DIST(max_dist)); in evergreen_set_framebuffer_state()
Dr600_state.c1588 uint32_t tl, br, i, nr_samples, max_dist; in r600_set_framebuffer_state() local
1721 max_dist = r600_set_ms_pos(ctx, rstate, nr_samples); in r600_set_framebuffer_state()
1731 S_028C04_MAX_SAMPLE_DIST(max_dist)); in r600_set_framebuffer_state()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Devergreen_state.c1641 uint32_t max_dist, num_regs, *sample_locs; in cayman_set_ms_pos() local
1647 max_dist = max_dist_2x; in cayman_set_ms_pos()
1652 max_dist = max_dist_4x; in cayman_set_ms_pos()
1657 max_dist = max_dist_8x; in cayman_set_ms_pos()
1662 max_dist = max_dist_16x; in cayman_set_ms_pos()
1689 return max_dist; in cayman_set_ms_pos()
1839 unsigned max_dist = cayman_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1844 S_028BE0_MAX_SAMPLE_DIST(max_dist) | in evergreen_set_framebuffer_state()
1854 unsigned max_dist = evergreen_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1859 S_028C04_MAX_SAMPLE_DIST(max_dist)); in evergreen_set_framebuffer_state()
Dr600_state.c1588 uint32_t tl, br, i, nr_samples, max_dist; in r600_set_framebuffer_state() local
1721 max_dist = r600_set_ms_pos(ctx, rstate, nr_samples); in r600_set_framebuffer_state()
1731 S_028C04_MAX_SAMPLE_DIST(max_dist)); in r600_set_framebuffer_state()