Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/examples/android/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()
/external/libxcam/modules/ocl/
Dcl_newwavelet_denoise_handler.cpp205 uint32_t pixel_sum = 0; in estimate_noise_variance() local
223 pixel_sum = 0; in estimate_noise_variance()
226 pixel_sum += hist_y[i]; in estimate_noise_variance()
227 if (pixel_sum >= median_thresh) { in estimate_noise_variance()
244 pixel_sum = 0; in estimate_noise_variance()
247 pixel_sum += hist_u[i]; in estimate_noise_variance()
248 if (pixel_sum >= median_thresh >> 1) { in estimate_noise_variance()
256 pixel_sum = 0; in estimate_noise_variance()
259 pixel_sum += hist_v[i]; in estimate_noise_variance()
260 if (pixel_sum >= median_thresh >> 1) { in estimate_noise_variance()