Searched refs:sum_diff (Results 1 – 7 of 7) sorted by relevance
/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/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/vp9/encoder/x86/ |
D | vp9_denoiser_sse2.c | 133 int sum_diff_thresh, r, sum_diff = 0; in vp9_denoiser_NxM_sse2_small() local 192 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small() 194 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small() 205 const int delta = ((abs(sum_diff) - sum_diff_thresh) >> in vp9_denoiser_NxM_sse2_small() 227 sum_diff = sum_diff_16x1(acc_diff); in vp9_denoiser_NxM_sse2_small() 228 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_small() 247 int sum_diff_thresh, r, c, sum_diff = 0; in vp9_denoiser_NxM_sse2_big() local 283 sum_diff += sum_diff_16x1(acc_diff[c>>4][r>>4]); in vp9_denoiser_NxM_sse2_big() 299 if (abs(sum_diff) > sum_diff_thresh) { in vp9_denoiser_NxM_sse2_big() 300 const int delta = ((abs(sum_diff) - sum_diff_thresh) >> in vp9_denoiser_NxM_sse2_big() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | denoising.c | 67 int sum_diff = 0; in vp8_denoiser_filter_c() local 157 sum_diff += col_sum[c]; in vp8_denoiser_filter_c() 162 if (abs(sum_diff) > sum_diff_thresh) { in vp8_denoiser_filter_c() 172 int delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_c() 207 sum_diff = 0; in vp8_denoiser_filter_c() 212 sum_diff += col_sum[c]; in vp8_denoiser_filter_c() 215 if (abs(sum_diff) > sum_diff_thresh) in vp8_denoiser_filter_c() 238 int sum_diff = 0; in vp8_denoiser_filter_uv_c() local 281 sum_diff += diff; in vp8_denoiser_filter_uv_c() 294 sum_diff += adjustment; in vp8_denoiser_filter_uv_c() [all …]
|
/external/libvpx/libvpx/vp8/encoder/arm/neon/ |
D | denoising_neon.c | 150 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_neon() local 154 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_neon() 165 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_neon() 223 sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_neon() 225 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_neon() 376 int sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_uv_neon() local 379 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_uv_neon() 390 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_uv_neon() 459 sum_diff = vget_lane_s32(vabs_s32(vreinterpret_s32_s64(x)), 0); in vp8_denoiser_filter_uv_neon() 461 if (sum_diff > sum_diff_thresh) { in vp8_denoiser_filter_uv_neon()
|
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
D | denoising_msa.c | 27 int32_t sum_diff = 0; in vp8_denoiser_filter_msa() local 190 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_msa() 200 if (abs(sum_diff) > sum_diff_thresh) in vp8_denoiser_filter_msa() 202 delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_msa() 309 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_msa() 310 if (abs(sum_diff) > SUM_DIFF_THRESHOLD) in vp8_denoiser_filter_msa() 348 int32_t sum_diff = 0; in vp8_denoiser_filter_uv_msa() local 508 sum_diff = __msa_copy_s_w((v4i32)temp0_d, 0); in vp8_denoiser_filter_uv_msa() 519 if (abs(sum_diff) > sum_diff_thresh) in vp8_denoiser_filter_uv_msa() 521 delta = ((abs(sum_diff) - sum_diff_thresh) >> 8) + 1; in vp8_denoiser_filter_uv_msa() [all …]
|
/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()
|