/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ_block_sse2.cc | 30 __m128i sad; in BlockDifference_SSE2_W16() local 36 sad = _mm_sad_epu8(v0, v1); in BlockDifference_SSE2_W16() 37 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16() 40 sad = _mm_sad_epu8(v0, v1); in BlockDifference_SSE2_W16() 41 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16() 44 sad = _mm_sad_epu8(v0, v1); in BlockDifference_SSE2_W16() 45 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16() 48 sad = _mm_sad_epu8(v0, v1); in BlockDifference_SSE2_W16() 49 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16() 53 sad = _mm_shuffle_epi32(acc, 0xEE); in BlockDifference_SSE2_W16() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | sad_vsx.c | 35 unsigned int sad[4]; \ 46 vec_vsx_st((uint32x4_t)v_sad, 0, sad); \ 48 return sad[3] + sad[2] + sad[1] + sad[0]; \ 55 unsigned int sad[4]; \ 67 vec_vsx_st((uint32x4_t)v_sad, 0, sad); \ 69 return sad[3] + sad[2] + sad[1] + sad[0]; \ 76 unsigned int sad[4]; \ 90 vec_vsx_st((uint32x4_t)v_sad, 0, sad); \ 92 return sad[3] + sad[2] + sad[1] + sad[0]; \
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | sad_msa.c | 31 v8u16 sad = { 0 }; in sad_4width_msa() local 43 sad += __msa_hadd_u_h(diff, diff); in sad_4width_msa() 46 return HADD_UH_U32(sad); in sad_4width_msa() 54 v8u16 sad = { 0 }; in sad_8width_msa() local 64 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa() 67 return HADD_UH_U32(sad); in sad_8width_msa() 75 v8u16 sad = { 0 }; in sad_16width_msa() local 82 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa() 88 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa() 91 return HADD_UH_U32(sad); in sad_16width_msa() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | sad.c | 20 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, in sad() function 23 unsigned int sad = 0; in sad() local 26 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]); in sad() 31 return sad; in sad() 37 return sad(src, src_stride, ref, ref_stride, m, n); \ 44 return sad(src, src_stride, comp_pred, m, m, n); \ 145 unsigned int sad = 0; in highbd_sad() local 149 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]); in highbd_sad() 154 return sad; in highbd_sad() 161 unsigned int sad = 0; in highbd_sadb() local [all …]
|
/external/opencv/cv/src/ |
D | cvstereobm.cpp | 195 ushort *sad, *hsad0, *hsad, *hsad_sub; in icvFindStereoCorrespondenceBM_SSE2() local 209 sad = (ushort*)cvAlignPtr(buf + sizeof(sad[0])); in icvFindStereoCorrespondenceBM_SSE2() 210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp); in icvFindStereoCorrespondenceBM_SSE2() 291 sad[d] = (ushort)(hsad0[d-ndisp*dy0]*(wsz2 + 2 - dy0)); in icvFindStereoCorrespondenceBM_SSE2() 296 sad[d] = (ushort)(sad[d] + hsad[d]); in icvFindStereoCorrespondenceBM_SSE2() 314 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); in icvFindStereoCorrespondenceBM_SSE2() 319 _mm_store_si128((__m128i*)(sad + d), sad8); in icvFindStereoCorrespondenceBM_SSE2() 342 minsad = sad[mind]; in icvFindStereoCorrespondenceBM_SSE2() 359 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); in icvFindStereoCorrespondenceBM_SSE2() 374 sad[-1] = sad[1]; in icvFindStereoCorrespondenceBM_SSE2() [all …]
|
/external/libavc/encoder/ |
D | ime_distortion_metrics.c | 917 UWORD32 sad = 0; in ime_compute_satqd_16x16_lumainter() local 950 if(sad == 0) in ime_compute_satqd_16x16_lumainter() 975 )sad = 1; in ime_compute_satqd_16x16_lumainter() 982 *pu4_is_non_zero = sad; in ime_compute_satqd_16x16_lumainter() 1035 WORD32 sad =0; in ime_compute_satqd_8x16_chroma() local 1110 sad += sad_1; in ime_compute_satqd_8x16_chroma() 1115 if(sad < (thrsh[0]<<1))sad = 0; in ime_compute_satqd_8x16_chroma() 1171 WORD16 s1[4],s2[4],s3[4],s4[4],sad[4]; in ime_compute_satqd_16x16_lumaintra() local 1209 sad[j] = ((s1[j]+s2[j]+s3[j]+s4[j])<<1); in ime_compute_satqd_16x16_lumaintra() 1217 thrsh[1] > (sad[j] -(s2[j] + s3[j])) && in ime_compute_satqd_16x16_lumaintra() [all …]
|
D | ime_statistics.h | 76 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level) debug_sad_histogram_add(sad, level) argument 81 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level) argument
|
/external/libmpeg2/common/ |
D | icv_sad.c | 96 WORD32 sad; in icv_sad_8x4() local 105 sad = 0; in icv_sad_8x4() 117 sad += ABS_DIF(src, ref); in icv_sad_8x4() 123 return sad; in icv_sad_8x4()
|
D | ideint.c | 282 WORD32 cac, sad, vrnc; in ideint_process() local 288 sad = 0; in ideint_process() 324 sad = ps_ctxt->pf_sad_8x4(pu1_prv, pu1_bot, cur_strd, in ideint_process() local 341 if((sad * th_den) <= th_num) in ideint_process() 371 if(disable_cac_sad || cac || (sad * th_den > th_num)) in ideint_process()
|
/external/libvpx/libvpx/vp8/common/ |
D | mfqe.c | 122 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; in multiframe_quality_enhance_block() local 129 sad = (sse + 128) >> 8; in multiframe_quality_enhance_block() 135 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8; in multiframe_quality_enhance_block() 145 sad = (sse + 32) >> 6; in multiframe_quality_enhance_block() 151 sad = (vpx_sad8x8(y, y_stride, yd, yd_stride) + 32) >> 6; in multiframe_quality_enhance_block() 166 if (sad < thrsq && in multiframe_quality_enhance_block() 171 if (sad < thr && in multiframe_quality_enhance_block() 180 sad = int_sqrt(sad); in multiframe_quality_enhance_block() 182 ifactor = (sad << MFQE_PRECISION) / thr; in multiframe_quality_enhance_block()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 1522 unsigned int sad = in exhuastive_mesh_search() local 1525 if (sad < best_sad) { in exhuastive_mesh_search() 1526 sad += mvsad_err_cost(x, &mv, ref_mv, sad_per_bit); in exhuastive_mesh_search() 1527 if (sad < best_sad) { in exhuastive_mesh_search() 1528 best_sad = sad; in exhuastive_mesh_search() 1546 const unsigned int sad = in exhuastive_mesh_search() local 1548 if (sad < best_sad) { in exhuastive_mesh_search() 1549 best_sad = sad; in exhuastive_mesh_search() 1557 unsigned int sad = in exhuastive_mesh_search() local 1560 if (sad < best_sad) { in exhuastive_mesh_search() [all …]
|
/external/libmpeg2/common/x86/ |
D | icv_sad_ssse3.c | 97 WORD32 sad; in icv_sad_8x4_ssse3() local 142 sad = _mm_cvtsi128_si32(res_r0); in icv_sad_8x4_ssse3() 144 return sad; in icv_sad_8x4_ssse3()
|
/external/libavc/encoder/x86/ |
D | ih264e_intra_modes_eval_ssse3.c | 486 WORD32 sad[MAX_I4x4] = { INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, in ih264e_evaluate_intra_4x4_modes_ssse3() local 532 sad[VERT_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4); in ih264e_evaluate_intra_4x4_modes_ssse3() 533 cost[VERT_I4x4] = sad[VERT_I4x4] + ((u4_predictd_mode == VERT_I4x4) ? u4_lambda: lambda4); in ih264e_evaluate_intra_4x4_modes_ssse3() 543 sad[HORZ_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4); in ih264e_evaluate_intra_4x4_modes_ssse3() 544 cost[HORZ_I4x4] = sad[HORZ_I4x4] + ((u4_predictd_mode == HORZ_I4x4) ? u4_lambda: lambda4); in ih264e_evaluate_intra_4x4_modes_ssse3() 581 sad[DC_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4); in ih264e_evaluate_intra_4x4_modes_ssse3() 582 cost[DC_I4x4] = sad[DC_I4x4] + ((u4_predictd_mode == DC_I4x4) ? u4_lambda: lambda4); in ih264e_evaluate_intra_4x4_modes_ssse3() 636 sad[DIAG_DL_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4); in ih264e_evaluate_intra_4x4_modes_ssse3() 637 …cost[DIAG_DL_I4x4] = sad[DIAG_DL_I4x4] + ((u4_predictd_mode == DIAG_DL_I4x4) ? u4_lambda: lambda4); in ih264e_evaluate_intra_4x4_modes_ssse3() 649 sad[DIAG_DR_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4); in ih264e_evaluate_intra_4x4_modes_ssse3() [all …]
|
D | ime_platform_macros.h | 45 #define USADA8(src,est,sad) \ argument 46 sad += ABS(src[0]-est[0]) + \
|
/external/libavc/encoder/arm/ |
D | ime_platform_macros.h | 44 #define USADA8(src,est,sad) \ argument 45 sad += ABS(src[0]-est[0]) + \
|
D | ih264e_evaluate_intra4x4_modes_a9q.s | 154 ands r10, r8, #01 @VERT sad ?? 173 ands r10, r8, #02 @HORZ sad ?? 198 ands r10, r8, #04 @DC sad ?? 255 ands r10, r8, #0x08 @DIAG_DL sad ?? 284 ands r10, r8, #16 @DIAG_DR sad ?? 313 ands r10, r8, #32 @VERT_R sad ?? 355 ands r10, r8, #64 @HORZ_D sad ?? 388 ands r10, r8, #128 @VERT_L sad ?? 416 ands r10, r8, #256 @HORZ_U sad ??
|
D | ime_distortion_metrics_a9q.s | 77 @* integer evaluated sad 164 @* integer evaluated sad 245 @* integer evaluated sad 548 @* integer evaluated sad 705 @* integer evaluated sad 1198 vpadd.s16 d10, d16, d17 @I Get sad by adding s1 s2 s3 s4 1200 vmov.u16 r9, d10[0] @Get the sad for block 1 1201 vmov.u16 r5, d10[1] @Get the sad for block 2 1207 ADD R10, R10, R9 @Add to the global sad blk 1 1213 ADD R10, R10, R5 @Add to the global sad blk 2 [all …]
|
D | ih264e_evaluate_intra_chroma_modes_a9q.s | 126 b sad 139 b sad 147 b sad 157 sad: label
|
/external/libavc/encoder/armv8/ |
D | ime_platform_macros.h | 44 #define USADA8(src,est,sad) \ argument 45 sad += ABS(src[0]-est[0]) + \
|
/external/libavc/encoder/mips/ |
D | ime_platform_macros.h | 45 #define USADA8(src,est,sad) \ argument 46 sad += ABS(src[0]-est[0]) + \
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | sad_sse2.asm | 18 cglobal sad%1x%2, 4, %3, 5, src, src_stride, ref, ref_stride, n_rows 20 cglobal sad%1x%2, 4, %3, 6, src, src_stride, ref, ref_stride, \ 25 cglobal sad%1x%2_avg, 5, 1 + %3, 5, src, src_stride, ref, ref_stride, \ 28 cglobal sad%1x%2_avg, 5, ARCH_X86_64 + %3, 6, src, src_stride, \ 38 %endif ; avg/sad
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_mfqe.c | 163 int sad, sad_thr, vdiff, vdiff_thr; in mfqe_block() local 170 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8; in mfqe_block() 173 sad = (vpx_sad32x32(y, y_stride, yd, yd_stride) + 512) >> 10; in mfqe_block() 176 sad = (vpx_sad64x64(y, y_stride, yd, yd_stride) + 2048) >> 12; in mfqe_block() 182 if (sad > 1 && vdiff > sad * 3) { in mfqe_block() 184 int ifactor = weight * sad * vdiff / (sad_thr * vdiff_thr); in mfqe_block()
|
/external/ppp/pppd/ |
D | tty.c | 879 struct sockaddr_in sad; local 908 memset(&sad, 0, sizeof(sad)); 909 sad.sin_family = AF_INET; 910 sad.sin_port = htons(port); 911 sad.sin_addr.s_addr = host; 912 if (connect(sock, (struct sockaddr *)&sad, sizeof(sad)) < 0) {
|
/external/libvpx/libvpx/test/ |
D | sad_test.cc | 128 uint32_t sad = 0; in ReferenceSAD() local 139 sad += abs(source8[h * source_stride_ + w] - in ReferenceSAD() 143 sad += abs(source16[h * source_stride_ + w] - in ReferenceSAD() 149 return sad; in ReferenceSAD() 156 unsigned int sad = 0; in ReferenceSADavg() local 172 sad += abs(source8[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 178 sad += abs(source16[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 183 return sad; in ReferenceSADavg()
|
/external/webrtc/webrtc/modules/video_processing/util/ |
D | denoiser_filter.h | 27 uint32_t sad; member
|