Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dimage-inl.h253 int32_t pixel_sum = 0; in DownsampleAveraged() local
260 pixel_sum += *p++; in DownsampleAveraged()
264 (*this)[y][x] = pixel_sum / pixels_per_block; in DownsampleAveraged()
420 int32_t pixel_sum = original[orig_y][orig_x] * 4; in DownsampleSmoothed3x3() local
423 pixel_sum += (original[orig_y][max_x] + in DownsampleSmoothed3x3()
429 pixel_sum += (original[min_y][max_x] + in DownsampleSmoothed3x3()
434 (*this)[y][x] = pixel_sum >> 4; // 16 in DownsampleSmoothed3x3()
459 int32_t pixel_sum = 0; in DownsampleSmoothed5x5() local
472 pixel_sum += *p++ * *w++; in DownsampleSmoothed5x5()
478 (*this)[y][x] = pixel_sum >> 8; in DownsampleSmoothed5x5()