Home
last modified time | relevance | path

Searched refs:nearest (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/libpng/intel/
H A Dfilter_sse2_intrinsics.c236 * The Paeth function predicts d to be whichever of a, b, or c is nearest to in png_read_filter_row_paeth3_sse2()
257 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth3_sse2() local
278 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2()
283 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
294 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth3_sse2() local
314 nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, in png_read_filter_row_paeth3_sse2()
319 d = _mm_add_epi8(d, nearest); in png_read_filter_row_paeth3_sse2()
335 * The Paeth function predicts d to be whichever of a, b, or c is nearest to in png_read_filter_row_paeth4_sse2()
346 __m128i pa,pb,pc,smallest,nearest; in png_read_filter_row_paeth4_sse2() local
376 nearest in png_read_filter_row_paeth4_sse2()
[all...]
/third_party/ffmpeg/tests/fate/
H A Dlibavresample.mak56 FATE_LAVR_RESAMPLE += fate-lavr-resample-nearest
57 fate-lavr-resample-nearest: tests/data/asynth-48000-1.wav
58 fate-lavr-resample-nearest: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-48000-1.wav -ar 44100 -filter_size 0 -phase_shift 0 -f s16le -af atrim=end_sample=10240 -
59 fate-lavr-resample-nearest: CMP = oneoff
60 fate-lavr-resample-nearest: CMP_UNIT = s16
61 fate-lavr-resample-nearest: REF = $(SAMPLES)/lavr/lavr-resample-nearest
/third_party/musl/src/math/x32/
H A Dexpl.s3 # exact log2e*x calculation depends on nearest rounding mode
30 # it will be wrong on non-nearest rounding mode
/third_party/musl/src/math/i386/
H A Dexpl.s3 # exact log2e*x calculation depends on nearest rounding mode
30 # it will be wrong on non-nearest rounding mode
/third_party/musl/src/math/x86_64/
H A Dexpl.s3 # exact log2e*x calculation depends on nearest rounding mode
30 # it will be wrong on non-nearest rounding mode
/third_party/ffmpeg/libavfilter/
H A Dvf_remap.c176 DEFINE_REMAP_PLANAR_FUNC(nearest, 8, 1)
177 DEFINE_REMAP_PLANAR_FUNC(nearest, 16, 2)
226 DEFINE_REMAP_PACKED_FUNC(nearest, 8, 1)
227 DEFINE_REMAP_PACKED_FUNC(nearest, 16, 2)
H A Daf_sofalizer.c679 int nearest; in getfilter_float() local
684 nearest = mysofa_lookup(s->sofa.lookup, c); in getfilter_float()
685 if (nearest < 0) in getfilter_float()
689 neighbors = mysofa_neighborhood(s->sofa.neighborhood, nearest); in getfilter_float()
691 nearest, neighbors, in getfilter_float()
695 delays[0] = s->sofa.hrtf->DataDelay.values[nearest * s->sofa.hrtf->R]; in getfilter_float()
696 delays[1] = s->sofa.hrtf->DataDelay.values[nearest * s->sofa.hrtf->R + 1]; in getfilter_float()
701 res = s->sofa.hrtf->DataIR.values + nearest * s->sofa.hrtf->N * s->sofa.hrtf->R; in getfilter_float()
H A Dvf_lut3d.c53 { "nearest", "use values from the nearest defined points", 0, AV_OPT_TYPE_CONST, {.i64=INTERPOLATE_NEAREST}, 0, 0, TFLAGS, "interp_mode" }, \
102 * Get the nearest defined point
384 DEFINE_INTERP_FUNC_PLANAR(nearest, 8, 8)
390 DEFINE_INTERP_FUNC_PLANAR(nearest, 16, 9)
396 DEFINE_INTERP_FUNC_PLANAR(nearest, 16, 10)
402 DEFINE_INTERP_FUNC_PLANAR(nearest, 16, 12)
408 DEFINE_INTERP_FUNC_PLANAR(nearest, 16, 14)
414 DEFINE_INTERP_FUNC_PLANAR(nearest, 16, 16)
481 DEFINE_INTERP_FUNC_PLANAR_FLOAT(nearest, 3
[all...]
H A Dvf_paletteuse.c219 struct nearest_color *nearest) in colormap_nearest_node()
227 if (current_to_target < nearest->dist_sqd) { in colormap_nearest_node()
228 nearest->node_pos = node_pos; in colormap_nearest_node()
229 nearest->dist_sqd = current_to_target; in colormap_nearest_node()
239 colormap_nearest_node(s, map, nearer_kd_id, target, nearest); in colormap_nearest_node()
241 if (further_kd_id != -1 && dx*dx < nearest->dist_sqd) in colormap_nearest_node()
242 colormap_nearest_node(s, map, further_kd_id, target, nearest); in colormap_nearest_node()
304 /* The nearest path isn't available, so there is only one path in colormap_nearest_iterative()
215 colormap_nearest_node(const PaletteUseContext *s, const struct color_node *map, const int node_pos, const uint8_t *target, struct nearest_color *nearest) colormap_nearest_node() argument
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_sched.c535 unsigned nearest = ~0; in nearest_use() local
538 nearest = MIN2(nearest, use->ip); in nearest_use()
546 nearest /= 2; in nearest_use()
548 return nearest; in nearest_use()
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_blitter.h58 bool nearest; member
H A Dpan_blitter.c1527 ctx->samplers = pan_blitter_emit_sampler(blit_pool, info->nearest); in pan_blit_ctx_init()
/third_party/python/Lib/idlelib/
H A Dautocomplete_w.py389 jump = self.listbox.nearest(self.listbox.winfo_height()) - \
390 self.listbox.nearest(0)
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c176 .nearest = pBlitImageInfo->filter == VK_FILTER_NEAREST, in CmdBlitImage2()
/third_party/vk-gl-cts/external/amber/src/tools/
H A Damber-syntax.vim93 syn keyword amberFilter nearest linear
/third_party/skia/src/core/
H A DSkBitmapDevice.cpp582 SkSamplingOptions nearest; // nearest-neighbor, since we in sprite mode in drawDevice() local
583 deviceAsShader.setShader(src->fBitmap.makeShader(nearest)); in drawDevice()
/third_party/backends/backend/pixma/
H A Dpixma.c538 SANE_Word nearest = list[1]; in select_value_from_list() local
545 nearest = list[j]; in select_value_from_list()
550 if (va[i] != nearest) in select_value_from_list()
552 va[i] = nearest; in select_value_from_list()
/third_party/python/Lib/tkinter/
H A Dtix.py1032 def nearest(self, y): member in HList
1033 return self.tk.call(self._w, 'nearest', y)
1489 def nearest(self, x, y): member in TList
1490 return self.tk.call(self._w, 'nearest', x, y)
1797 # edit, entryconfigure, format, geometryinfo, info, index, move, nearest,
1869 def nearest(self, x, y): member in Grid
1870 "Return coordinate of cell nearest pixel coordinate (x,y)"
1871 return self._getints(self.tk.call(self, 'nearest', x, y))
H A D__init__.py2807 to nearest multiple of GRIDSPACING units."""
2813 to nearest multiple of GRIDSPACING units."""
3265 def nearest(self, y): member in Listbox
3266 """Get index of item which is nearest to y coordinate Y."""
3268 self._w, 'nearest', y))
4353 """Locate the end of the selection nearest to the character
/third_party/ffmpeg/libswscale/x86/
H A Dinput.asm754 ; cvtps2dq rounds to nearest int

Completed in 47 milliseconds