Home
last modified time | relevance | path

Searched refs:nearest (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/python/cpython3/Tools/pynche/
DColorDB.py100 def nearest(self, red, green, blue): member in ColorDB
105 nearest = -1
113 if nearest == -1 or distance < nearest:
114 nearest = distance
263 nearest = colordb.nearest(r, g, b) variable
265 print('found nearest color', nearest, 'in', t1-t0, 'seconds')
DChipViewer.py109 nearest = colordb.nearest(red, green, blue)
110 nearest_tuple = colordb.find_byname(nearest)
117 self.__selected.set_message(nearest)
121 self.__nearest.set_message(nearest)
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
DPolynomialFunctionLagrangeForm.java166 int nearest = 0; in evaluate() local
178 nearest = i; in evaluate()
184 double value = y[nearest]; in evaluate()
201 if (nearest < 0.5*(n-i+1)) { in evaluate()
202 value += c[nearest]; // fork down in evaluate()
204 nearest--; in evaluate()
205 value += d[nearest]; // fork up in evaluate()
/external/python/cpython2/Tools/pynche/
DColorDB.py101 def nearest(self, red, green, blue): member in ColorDB
106 nearest = -1
114 if nearest == -1 or distance < nearest:
115 nearest = distance
268 nearest = colordb.nearest(r, g, b) variable
270 print 'found nearest color', nearest, 'in', t1-t0, 'seconds'
DChipViewer.py109 nearest = colordb.nearest(red, green, blue)
110 nearest_tuple = colordb.find_byname(nearest)
117 self.__selected.set_message(nearest)
121 self.__nearest.set_message(nearest)
/external/libpng/intel/
Dfilter_sse2_intrinsics.c272 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth3_sse2() local
293 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2()
298 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
309 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth3_sse2() local
329 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2()
334 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
361 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth4_sse2() local
391 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2()
396 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth4_sse2()
/external/pdfium/third_party/libpng16/contrib/intel/
Dfilter_sse2_intrinsics.c270 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() local
275 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
305 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() local
310 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
364 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2() local
369 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth4_sse2()
/external/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c270 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() local
275 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
305 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2() local
310 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
364 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth4_sse2() local
369 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth4_sse2()
/external/deqp/android/cts/nyc/src/
Dvk-master.txt32717 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.min_filter.nearest
32719 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mag_filter.nearest
32720 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
32721 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
32722 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
32723 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
32724 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
32725 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
32726 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
32764 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4b4a4_unorm_pack16.min_filter.nearest
[all …]
/external/deqp/external/vulkancts/mustpass/1.0.0/src/
Dmaster.txt35182 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.min_filter.nearest
35184 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mag_filter.nearest
35185 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35186 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35187 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35188 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35189 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35190 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35191 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35229 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4b4a4_unorm_pack16.min_filter.nearest
[all …]
/external/deqp/external/vulkancts/mustpass/1.0.0/
Dvk-default.txt35182 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.min_filter.nearest
35184 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mag_filter.nearest
35185 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35186 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35187 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35188 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35189 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35190 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35191 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35229 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4b4a4_unorm_pack16.min_filter.nearest
[all …]
/external/deqp/android/cts/nyc/
Dvk-master.txt35189 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.min_filter.nearest
35191 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mag_filter.nearest
35192 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.equal_min_3_max_3
35193 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_min_1
35194 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_max_4
35195 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_1
35196 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_2_5
35197 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_1
35198 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4_unorm_pack8.mipmap.nearest.lod.select_bias_3_7
35236 dEQP-VK.pipeline.sampler.view_type.1d.format.r4g4b4a4_unorm_pack16.min_filter.nearest
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_NearestNeighbors.pbtxt19 Number of nearest centers to return for each point. If k is larger than m, then
37 summary: "Selects the k nearest centers for each point."
Dapi_def_CropAndResize.pbtxt51 `"bilinear"` or `"nearest"` and default to `"bilinear"`. Currently two sampling
64 sampling or nearest neighbor sampling (possibly with aspect ratio change) to a
71 bilinear or nearest neighbor interpolation) to a fixed
Dapi_def_Round.pbtxt3 summary: "Rounds the values of a tensor to the nearest integer, element-wise."
Dapi_def_ResizeNearestNeighborGrad.pbtxt31 summary: "Computes the gradient of nearest neighbor interpolation."
Dapi_def_ResizeNearestNeighbor.pbtxt30 summary: "Resize `images` to `size` using nearest neighbor interpolation."
/external/gemmlowp/doc/
Dless-than-8-bit.md182 fraction, rounding to nearest.
214 ### Round-to-nearest rounding: unbiased in principle but not in practice
216 The simplest fix is to avoid the bias in 2. by rounding-to-nearest instead of
226 to achieve rounding-to-nearest (while the above rounding towards 0 corresponded
229 In principle, rounding-to-nearest is unbiased and optimal in various ways.
240 different from 0. That rounding-to-nearest is "unbiased" only means that over a
251 instance if we have to round the value 3.8 to the nearest integer, we can round
265 rounding-to-nearest --- one can check that it is 2x higher.
271 Still, for large enough GEMM depth, that is better than rounding-to-nearest
274 ### Switching between rounding-to-nearest and probabilistic rounding
[all …]
/external/compiler-rt/lib/builtins/
Dfp_trunc_impl.inc11 // IEEE-754 floating-point type in the default (round to nearest, ties to even)
87 // Round to nearest
123 // Round to nearest
/external/libvpx/libvpx/vp8/common/
Dfindnearmv.c23 void vp8_find_near_mvs(MACROBLOCKD *xd, const MODE_INFO *here, int_mv *nearest, in vp8_find_near_mvs() argument
120 nearest->as_int = near_mvs[CNT_NEAREST].as_int; in vp8_find_near_mvs()
/external/python/cpython2/Demo/tkinter/guido/
Dkill.py45 e.widget.select_set(e.widget.nearest(e.y))
49 self.kill(e.widget.get(e.widget.nearest(e.y)))
Dsvkill.py58 e.widget.select_set(e.widget.nearest(e.y))
62 self.kill(e.widget.get(e.widget.nearest(e.y)))
Dmbox.py206 itop = scanbox.nearest(0)
225 itop = scanbox.nearest(0)
/external/eigen/Eigen/src/Core/
DGlobalFunctions.h84 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(round,scalar_round_op,nearest integer,\sa Eigen::floor DOXCOMMA E…
85 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(floor,scalar_floor_op,nearest integer not greater than the giben …
86 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(ceil,scalar_ceil_op,nearest integer not less than the giben value…
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java178 final Cluster<T> nearest = getNearestCluster(resultSet, p); in chooseInitialCenters() local
179 final double d = p.distanceFrom(nearest.getCenter()); in chooseInitialCenters()

12345678910