Home
last modified time | relevance | path

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

/external/android-clat/
Dchecksum.c56 uint16_t ip_checksum_fold(uint32_t temp_sum) { in ip_checksum_fold() argument
57 while(temp_sum > 0xffff) in ip_checksum_fold()
58 temp_sum = (temp_sum >> 16) + (temp_sum & 0xFFFF); in ip_checksum_fold()
60 return temp_sum; in ip_checksum_fold()
68 uint16_t ip_checksum_finish(uint32_t temp_sum) { in ip_checksum_finish() argument
69 return ~ip_checksum_fold(temp_sum); in ip_checksum_finish()
78 uint32_t temp_sum; in ip_checksum() local
80 temp_sum = ip_checksum_add(0,data,len); in ip_checksum()
81 return ip_checksum_finish(temp_sum); in ip_checksum()
Dchecksum.h26 uint16_t ip_checksum_finish(uint32_t temp_sum);
/external/opencv3/modules/imgproc/src/opencl/
Dmatch_template.cl387 T image_sum = (T)(0), value, temp_sum;
389 temp_sum.x = template_sum.x;
390 temp_sum.y = template_sum.y;
391 temp_sum.z = template_sum.z;
398 image_sum = mad(value, temp_sum , 0);
420 T image_sum = (T)(0), value, temp_sum;
423 temp_sum.x = template_sum.x;
424 temp_sum.y = template_sum.y;
426 temp_sum = template_sum;
431 image_sum = mad(value, temp_sum , image_sum);
[all …]
Dcorner.cl185 float temp_sum = 0;
187 temp_sum += temp[k][col+i];
188 tmp_sum[k] = temp_sum;
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc702 int32_t temp_sum = kCoefficients[0] << 14; in AnalyzeSignal() local
703 temp_sum += kCoefficients[1] * x1; in AnalyzeSignal()
704 temp_sum += kCoefficients[2] * x2; in AnalyzeSignal()
705 temp_sum += kCoefficients[3] * x3; in AnalyzeSignal()
707 static_cast<int16_t>(std::min(temp_sum / 4096, 16384)); in AnalyzeSignal()