Home
last modified time | relevance | path

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

/external/libmpeg2/common/x86/
Dideint_cac_ssse3.c103 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/
Dvp9_denoiser_neon.c29 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/
Dvp9_denoiser_sse2.c127 int sum_diff_thresh, r, sum_diff = 0; in vp9_denoiser_NxM_sse2_small() local
167 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small()
169 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small()
181 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1; in vp9_denoiser_NxM_sse2_small()
196 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small()
197 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small()
215 int sum_diff_thresh, r, c, sum_diff = 0; in vp9_denoiser_NxM_sse2_big() local
255 sum_diff += sum_diff_16x1(acc_diff[c][r >> 4]); in vp9_denoiser_NxM_sse2_big()
267 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_big()
269 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1; in vp9_denoiser_NxM_sse2_big()
[all …]
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_c.cc71 int sum_diff = 0; in MbDenoise() local
136 sum_diff += col_sum[c]; in MbDenoise()
142 if (abs(sum_diff) > sum_diff_thresh) { in MbDenoise()
143 int delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in MbDenoise()
176 sum_diff = 0; in MbDenoise()
181 sum_diff += col_sum[c]; in MbDenoise()
184 if (abs(sum_diff) > sum_diff_thresh) in MbDenoise()
Ddenoiser_filter_neon.cc194 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in MbDenoise() local
199 if (sum_diff > sum_diff_thresh) { in MbDenoise()
210 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; in MbDenoise()
264 sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in MbDenoise()
266 if (sum_diff > sum_diff_thresh) { in MbDenoise()
Ddenoiser_filter_sse2.cc96 unsigned int sum_diff = abs(_mm_cvtsi128_si32(hgfedcba)); in AbsSumDiff16x1() local
98 return sum_diff; in AbsSumDiff16x1()
/external/libmpeg2/common/
Dideint_cac.c162 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/
Ddenoising.c66 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()
226 int sum_diff = 0; in vp8_denoiser_filter_uv_c() local
269 sum_diff += diff; in vp8_denoiser_filter_uv_c()
284 sum_diff += adjustment; in vp8_denoiser_filter_uv_c()
[all …]
/external/libvpx/libvpx/vp8/encoder/arm/neon/
Ddenoising_neon.c147 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/libvpx/libvpx/vp8/encoder/mips/msa/
Ddenoising_msa.c25 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/
Dkernel_Ktime.py166 sum_diff = 0
194 sum_diff += elapsed_diff
215 mean_diff = sum_diff / self.TEST_DURATION
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper.cc244 int32_t sum_diff = 0; in MinDistortion() local
248 sum_diff += WEBRTC_SPL_ABS_W32(data1[j] - data2[j]); in MinDistortion()
251 if (sum_diff < min_distortion) { in MinDistortion()
252 min_distortion = sum_diff; in MinDistortion()
/external/libvpx/libvpx/vp8/encoder/x86/
Ddenoising_sse2.c33 unsigned int sum_diff = abs(_mm_cvtsi128_si32(hgfedcba)); in abs_sum_diff_16x1() local
35 return sum_diff; in abs_sum_diff_16x1()