Home
last modified time | relevance | path

Searched refs:in_coord (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dimage_ops.h50 float in_coord = out_coord;
51 if (in_coord < 0) {
53 in_coord = 0;
56 if (in_coord < sz2) {
57 in_coord = sz2 * static_cast<DenseIndex>(-in_coord / sz2) + in_coord;
59 in_coord = (in_coord < -len) ? in_coord + sz2 : -in_coord - 1;
61 } else if (in_coord > len - 1) {
63 in_coord = 0;
66 in_coord -= sz2 * static_cast<DenseIndex>(in_coord / sz2);
67 if (in_coord >= len) {
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_clip.c198 float in_coord = in->clip_pos[k] / in->clip_pos[3]; in interp() local
201 t_nopersp = (dst_coord - out_coord) / (in_coord - out_coord); in interp()