/external/libmpeg2/common/x86/ |
D | ideint_cac_ssse3.c | 103 WORD32 sum_diff, diff_sum; in ideint_cac_8x8_ssse3() local 138 sum_diff = ABS_DIF(sum_1, sum_2); in ideint_cac_8x8_ssse3() 139 if(sum_diff >= RSUM_CSUM_THRESH) in ideint_cac_8x8_ssse3() 140 adj[0] += sum_diff; in ideint_cac_8x8_ssse3() 144 sum_diff = ABS_DIF(sum_3, sum_4); in ideint_cac_8x8_ssse3() 145 if(sum_diff >= RSUM_CSUM_THRESH) in ideint_cac_8x8_ssse3() 146 adj[0] += sum_diff; in ideint_cac_8x8_ssse3() 153 sum_diff = ABS_DIF(sum_1, sum_2); in ideint_cac_8x8_ssse3() 154 if(sum_diff >= RSUM_CSUM_THRESH) in ideint_cac_8x8_ssse3() 155 adj[1] += sum_diff; in ideint_cac_8x8_ssse3() [all …]
|
/external/libvpx/libvpx/vp9/encoder/arm/neon/ |
D | vp9_denoiser_neon.c | 29 const int sum_diff = vget_lane_s32(vreinterpret_s32_s64(x), 0); in horizontal_add_s8x16() local 30 return sum_diff; in horizontal_add_s8x16() 137 int sum_diff_thresh, r, sum_diff = 0; in vp9_denoiser_8xN_neon() local 183 sum_diff = horizontal_add_s8x16(v_sum_diff_total); in vp9_denoiser_8xN_neon() 185 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_8xN_neon() 197 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1; in vp9_denoiser_8xN_neon() 218 sum_diff = horizontal_add_s8x16(v_sum_diff_total); in vp9_denoiser_8xN_neon() 219 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_8xN_neon() 254 int r, c, sum_diff = 0; in vp9_denoiser_NxM_neon() local 278 sum_diff += horizontal_add_s8x16(v_sum_diff_total[c][r >> 4]); in vp9_denoiser_NxM_neon() [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_denoiser_sse2.c | 126 int sum_diff_thresh, r, sum_diff = 0; in vp9_denoiser_NxM_sse2_small() local 166 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small() 168 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small() 180 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1; in vp9_denoiser_NxM_sse2_small() 195 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small() 196 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small() 214 int sum_diff_thresh, r, c, sum_diff = 0; in vp9_denoiser_NxM_sse2_big() local 254 sum_diff += sum_diff_16x1(acc_diff[c][r >> 4]); in vp9_denoiser_NxM_sse2_big() 266 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_big() 268 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1; in vp9_denoiser_NxM_sse2_big() [all …]
|
/external/libmpeg2/common/ |
D | ideint_cac.c | 162 WORD32 sum_diff; in cac_4x8() local 177 sum_diff = ABS_DIF(sum_1, sum_2); in cac_4x8() 182 if(sum_diff >= rsum_csum_thresh) in cac_4x8() 183 adj += sum_diff; in cac_4x8() 198 sum_diff = ABS_DIF(sum_3, sum_4); in cac_4x8() 203 if(sum_diff >= rsum_csum_thresh) in cac_4x8() 204 adj += sum_diff; in cac_4x8()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | denoising.c | 66 int sum_diff = 0; in vp8_denoiser_filter_c() local 147 sum_diff += col_sum[c]; in vp8_denoiser_filter_c() 152 if (abs(sum_diff) > sum_diff_thresh) { in vp8_denoiser_filter_c() 162 int delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_c() 198 sum_diff = 0; in vp8_denoiser_filter_c() 203 sum_diff += col_sum[c]; in vp8_denoiser_filter_c() 206 if (abs(sum_diff) > sum_diff_thresh) return COPY_BLOCK; in vp8_denoiser_filter_c() 225 int sum_diff = 0; in vp8_denoiser_filter_uv_c() local 268 sum_diff += diff; in vp8_denoiser_filter_uv_c() 283 sum_diff += adjustment; in vp8_denoiser_filter_uv_c() [all …]
|
/external/libvpx/libvpx/vp8/encoder/arm/neon/ |
D | denoising_neon.c | 147 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_neon() local 151 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_neon() 162 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_neon() 216 sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_neon() 218 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_neon() 364 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_uv_neon() local 367 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_uv_neon() 378 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_uv_neon() 441 sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_uv_neon() 443 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_uv_neon()
|
/external/webrtc/modules/video_processing/util/ |
D | denoiser_filter_c.cc | 61 int sum_diff = 0; in MbDenoise() local 126 sum_diff += col_sum[c]; in MbDenoise() 131 if (abs(sum_diff) > sum_diff_thresh) in MbDenoise()
|
D | denoiser_filter_neon.cc | 182 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in MbDenoise() local 185 if (sum_diff > sum_diff_thresh) in MbDenoise()
|
D | denoiser_filter_sse2.cc | 98 unsigned int sum_diff = abs(_mm_cvtsi128_si32(hgfedcba)); in AbsSumDiff16x1() local 100 return sum_diff; in AbsSumDiff16x1()
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | optical_flow.cc | 252 int sum_diff = 0; in FindFlowAtPoint_ESM() local 275 sum_diff += static_cast<int>(j_row[x]) - vals_I[templ_index++]; in FindFlowAtPoint_ESM() 279 bright_offset = static_cast<int>(static_cast<float>(sum_diff) * area_inv); in FindFlowAtPoint_ESM() 286 sum_diff = 0; in FindFlowAtPoint_ESM() 328 sum_diff += diff; in FindFlowAtPoint_ESM() 354 static_cast<int>(area_inv * static_cast<float>(sum_diff) + 0.5f); in FindFlowAtPoint_ESM()
|
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
D | denoising_msa.c | 25 int32_t sum_diff = 0; in vp8_denoiser_filter_msa() local 181 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_msa() 190 if (abs(sum_diff) > sum_diff_thresh) { in vp8_denoiser_filter_msa() 191 delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_msa() 284 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_msa() 285 if (abs(sum_diff) > SUM_DIFF_THRESHOLD) { in vp8_denoiser_filter_msa() 314 int32_t sum_diff = 0; in vp8_denoiser_filter_uv_msa() local 467 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_uv_msa() 477 if (abs(sum_diff) > sum_diff_thresh) { in vp8_denoiser_filter_uv_msa() 478 delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_uv_msa() [all …]
|
/external/autotest/client/site_tests/kernel_Ktime/ |
D | kernel_Ktime.py | 170 sum_diff = 0 198 sum_diff += elapsed_diff 219 mean_diff = sum_diff / self.TEST_DURATION
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | resize_bilinear_test.cc | 61 double sum_diff = 0; in TestOneResizeBilinear() local 64 sum_diff += std::abs(static_cast<float>(output_data[i]) - in TestOneResizeBilinear() 70 if (sum_diff != 0.f) { in TestOneResizeBilinear() 71 const float mean_diff = static_cast<float>(sum_diff / output_buffer_size); in TestOneResizeBilinear()
|
D | softmax_quantized_test.cc | 72 int64_t sum_diff = 0; in CheckOutputData() local 76 sum_diff += diff[i]; in CheckOutputData() 84 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData()
|
D | logsoftmax_quantized_test.cc | 108 int64_t sum_diff = 0; in CheckOutputData() local 112 sum_diff += diff[i]; in CheckOutputData() 120 const float mean_diff = static_cast<float>(sum_diff) / buffer_size; in CheckOutputData()
|
D | depthwiseconv_per_channel_quantized_test.cc | 148 std::int64_t sum_diff = 0; in CompareRoundingResults() local 153 sum_diff += diff[i]; in CompareRoundingResults() 161 const float mean_diff = static_cast<float>(sum_diff) / flat_size; in CompareRoundingResults()
|
D | depthwiseconv_quantized_test.cc | 673 std::int64_t sum_diff = 0; in TestOneDepthwiseConvWithGivenOutputShift() local 678 sum_diff += diff[i]; in TestOneDepthwiseConvWithGivenOutputShift() 688 const float mean_diff = static_cast<float>(sum_diff) / output_buffer_size; in TestOneDepthwiseConvWithGivenOutputShift()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | dsp_helper.cc | 258 int32_t sum_diff = 0; in MinDistortion() local 262 sum_diff += WEBRTC_SPL_ABS_W32(data1[j] - data2[j]); in MinDistortion() 265 if (sum_diff < min_distortion) { in MinDistortion() 266 min_distortion = sum_diff; in MinDistortion()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | activations_test.cc | 305 float sum_diff = 0; in HardSwishBiasTestImpl() local 307 sum_diff += dequantized_output[i] - float_ref_output_values[i]; in HardSwishBiasTestImpl() 309 const float bias = sum_diff / (size * max_scale); in HardSwishBiasTestImpl()
|
/external/webrtc/video/ |
D | stats_counter.cc | 125 int64_t sum_diff = 0; in Diff() local 131 sum_diff += diff; in Diff() 136 return (count > 0) ? sum_diff : -1; in Diff()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | hard_swish_test.cc | 198 float sum_diff = 0; in TestHardSwishQuantizedBias() local 200 sum_diff += dequantized_output[i] - float_ref_output_values[i]; in TestHardSwishQuantizedBias() 202 const float bias = sum_diff / (size * max_scale); in TestHardSwishQuantizedBias()
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | denoising_sse2.c | 33 unsigned int sum_diff = abs(_mm_cvtsi128_si32(hgfedcba)); in abs_sum_diff_16x1() local 35 return sum_diff; in abs_sum_diff_16x1()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | cpu_backend_gemm_test.cc | 162 double sum_diff = 0; in ComputeErrorStats() local 170 sum_diff += diff; in ComputeErrorStats() 177 error_stats->abs_mean_diff = std::abs(sum_diff / actual.size()); in ComputeErrorStats()
|
D | activations_test.cc | 452 float sum_diff = 0; in TestQuantizedHardSwishBias() local 454 sum_diff += dequantized_output[i] - float_ref_output_values[i]; in TestQuantizedHardSwishBias() 456 const float bias = sum_diff / (size * max_scale); in TestQuantizedHardSwishBias()
|
/external/tensorflow/tensorflow/python/ops/losses/ |
D | losses_impl.py | 582 sum_diff = math_ops.reduce_sum(diffs, axis=axis, keepdims=True) 584 math_ops.square(sum_diff),
|