Home
last modified time | relevance | path

Searched refs:fp_x (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Doptical_flow.cc91 const int fp_x = Clip(src_left_fixed + (x << 16), 0, fixed_x_max); in FindFlowAtPoint_LK() local
93 *vals_I_ptr++ = img_I.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_LK()
94 *vals_I_x_ptr++ = I_x.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_LK()
95 *vals_I_y_ptr++ = I_y.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_LK()
145 const int fp_x = Clip(left_fixed + (win_x << 16), 0, fixed_x_max); in FindFlowAtPoint_LK() local
146 *vals_J_ptr++ = img_J.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_LK()
307 const int fp_x = left_fixed + (x << 16); in FindFlowAtPoint_ESM() local
308 int32_t target_dx = J_x.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_ESM()
309 int32_t target_dy = J_y.GetPixelInterpFixed1616(fp_x, fp_y); in FindFlowAtPoint_ESM()
Dimage-inl.h78 bool Image<T>::ExtractPatchAtSubpixelFixed1616(const int fp_x, in ExtractPatchAtSubpixelFixed1616() argument
84 const int trunc_x = fp_x >> 16; in ExtractPatchAtSubpixelFixed1616()
97 static_cast<DstType>(GetPixelInterpFixed1616(fp_x + (x << 16), in ExtractPatchAtSubpixelFixed1616()
178 const int fp_x = fp_x_whole - trunc_x; in GetPixelInterpFixed1616() local
185 const int one_minus_fp_x = kFixedPointOne - fp_x; in GetPixelInterpFixed1616()
196 (one_minus_fp_y * static_cast<int64_t>(one_minus_fp_x * a + fp_x * b) + in GetPixelInterpFixed1616()
197 fp_y * static_cast<int64_t>(one_minus_fp_x * c + fp_x * d) + in GetPixelInterpFixed1616()
376 const int fp_x = (src_x_fp - trunc_x) >> 8; in DownsampleInterpolateLinear() local
392 const int one_minus_fp_x = kFixedPointOne8 - fp_x; in DownsampleInterpolateLinear()
395 ((one_minus_fp_y * one_minus_fp_x * a + fp_x * b) + in DownsampleInterpolateLinear()
[all …]
Dimage_utils.h164 const int fp_x = src_left_fixed + (x << 16); in CalculateG() local
166 *vals_x_ptr++ = I_x.GetPixelInterpFixed1616(fp_x, fp_y); in CalculateG()
167 *vals_y_ptr++ = I_y.GetPixelInterpFixed1616(fp_x, fp_y); in CalculateG()
Dimage.h118 bool ExtractPatchAtSubpixelFixed1616(const int fp_x,