/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
sad_halfpel_inline.h | 34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 37 if (tmp > 0) sad += tmp; 38 else sad -= tmp; 40 return sad; 43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 46 if (tmp > 0) sad += tmp; 47 else sad -= tmp; 49 return sad; 54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 60 add sad, sad, tmp local 72 add sad, sad, tmp ; local [all...] |
sad.cpp | 70 Purpose: Compute SAD 16x16 between blk and ref. 97 Purpose: Compute the SAD on a 16x16 block using 109 Int sad = 0; local 129 sad = SUB_SAD(sad, tmp, tmp2); 132 sad = SUB_SAD(sad, tmp, tmp2); 135 sad = SUB_SAD(sad, tmp, tmp2); 139 sad = SUB_SAD(sad, tmp, tmp2) 210 Int sad = 0; local 316 Int sad = 0; local [all...] |
sad_halfpel.cpp | 59 Purpose: Compute SAD 16x16 between blk and ref in halfpel 67 Int sad = 0; local 84 sad += PV_ABS(temp); 87 if (sad > dmin) 88 return sad; 92 return sad; 99 Int sad = 0; local 115 sad += PV_ABS(temp); 118 if (sad > dmin) 119 return sad; 141 Int sad = 0; local 173 Int sad = 0; local 224 Int sad = 0; local 265 Int sad = 0; local 301 Int sad = 0; local 338 Int sad = 0; local 417 Int sad = 0; local 495 Int sad = 0; local 572 Int sad = 0, tmp, tmp2; local 640 Int sad = 0, tmp, tmp2; local 706 Int sad = 0, tmp, tmp2; local 783 Int sad = 0; local [all...] |
fastcodemb.cpp | 52 Int sad, k, CBP, mbnum = video->mbnum; local 143 sad = video->mot[mbnum][k+1].sad; 168 sad = getBlockSum(input, width); 178 sad = Sad8x8(input, pred, width); 187 sad = getBlockSum(input, width); 190 sad = Sad8x8(input, pred, width); 194 if (sad < DctTh1 && !(shortHeader && intra)) /* all-zero */ 200 else if (sad < 18*QP/*(QP<<4)*/) /* DC-only */ 214 if (sad < 22*QP/*(QP<<4)+(QP<<1)*/) /* 2x2 DCT * 281 Int sad, k, CBP, mbnum = video->mbnum; local 536 Int sad = 0; local 601 Int sad = 0, sum4 = 0, sum2 = 0; local [all...] |
findhalfpel.cpp | 123 dmin = mot[0].sad; 168 mot[0].sad = dmin; 241 dmin = mot[comp+1].sad; 264 mot[comp+1].sad = dmin; 272 mot[k].sad = (mot[0].sad + 2) >> 2;
|
motion_est.cpp | 43 #define NumPixelMB 256 /* number of pixels used in SAD calculation */ 158 Int totalSAD = 0; /* average SAD for rate control */ 198 totalSAD += mot_mb[0].sad; 295 fprintf(fp_debug, "#%d (%d,%d,%d) : ", mbnum, mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad); 297 mot_mb[1].x, mot_mb[1].y, mot_mb[1].sad, 298 mot_mb[2].x, mot_mb[2].y, mot_mb[2].sad, 299 mot_mb[3].x, mot_mb[3].y, mot_mb[3].sad, 300 mot_mb[4].x, mot_mb[4].y, mot_mb[4].sad); 303 sad16 = mot_mb[0].sad; 307 sad8 = mot_mb[1].sad + mot_mb[2].sad + mot_mb[3].sad + mot_mb[4].sad [all...] |
sad_inline.h | 33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 36 if (tmp > 0) sad += tmp; 37 else sad -= tmp; 39 return sad; 177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 183 add sad, sad, tmp ; local 186 return sad; 346 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 350 register int32 ss = sad; [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
differ_block_sse2.cc | 30 __m128i sad; local 36 sad = _mm_sad_epu8(v0, v1); 37 acc = _mm_adds_epu16(acc, sad); 40 sad = _mm_sad_epu8(v0, v1); 41 acc = _mm_adds_epu16(acc, sad); 44 sad = _mm_sad_epu8(v0, v1); 45 acc = _mm_adds_epu16(acc, sad); 48 sad = _mm_sad_epu8(v0, v1); 49 acc = _mm_adds_epu16(acc, sad); 51 // This essential means sad = acc >> 64. We only care about the lower 1 70 __m128i sad; local [all...] |
/external/libavc/encoder/arm/ |
ime_platform_macros.h | 44 #define USADA8(src,est,sad) \ 45 sad += ABS(src[0]-est[0]) + \
|
/external/libavc/encoder/armv8/ |
ime_platform_macros.h | 44 #define USADA8(src,est,sad) \ 45 sad += ABS(src[0]-est[0]) + \
|
/external/libavc/encoder/mips/ |
ime_platform_macros.h | 45 #define USADA8(src,est,sad) \ 46 sad += ABS(src[0]-est[0]) + \
|
/external/libavc/encoder/x86/ |
ime_platform_macros.h | 45 #define USADA8(src,est,sad) \ 46 sad += ABS(src[0]-est[0]) + \
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
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]; [all...] |
/external/libavc/encoder/ |
ime_statistics.h | 44 * @brief While computing sad, if we want to do a early exit, how often we 45 * should check if the sad computed till now has exceeded min sad param is 54 * @brief print sad early exit stats 76 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level) debug_sad_histogram_add(sad, level) 81 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level)
|
ime_distortion_metrics.c | 79 * @brief computes distortion (SAD) at all subpel points about the src location 82 * This functions computes SAD at all points at a subpel distance from the 104 * integer evaluated sad 188 * @brief compute sad 190 * @par Description: This function computes the sad at vertices of diamond grid 206 * pointer to integer array evaluated sad 208 * @returns sad at all evaluated vertexes 269 * @brief compute sad 271 * @par Description: This function computes the sad at vertices of diamond grid 287 * pointer to integer array evaluated sad 917 UWORD32 sad = 0; local 1035 WORD32 sad =0; local 1171 WORD16 s1[4],s2[4],s3[4],s4[4],sad[4]; local [all...] |
/external/libmpeg2/common/ |
icv_sad.c | 26 * This file contains the functions to compute SAD 59 * Compute 8x4 SAD 83 * SAD 96 WORD32 sad; local 105 sad = 0; 117 sad += ABS_DIF(src, ref); 123 return sad;
|
ideint.c | 282 WORD32 cac, sad, vrnc; local 288 sad = 0; 322 /* Compute SAD */ 324 sad = ps_ctxt->pf_sad_8x4(pu1_prv, pu1_bot, cur_strd, local 341 if((sad * th_den) <= th_num) 343 /* Calculate Combing Artifact if SAD test fails */ 371 if(disable_cac_sad || cac || (sad * th_den > th_num))
|
/external/libmpeg2/common/x86/ |
icv_sad_ssse3.c | 26 * This file contains the functions to compute SAD 60 * Compute 8x4 SAD 84 * SAD 97 WORD32 sad; local 134 /* Compute SAD for each row */ 138 /* Accumulate SAD */ 142 sad = _mm_cvtsi128_si32(res_r0); 144 return sad;
|
/external/libvpx/libvpx/vpx_dsp/ |
sad.c | 20 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, function 23 unsigned int sad = 0; local 26 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]); 31 return 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; local 149 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]); 154 return sad; 161 unsigned int sad = 0 local [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
sad_msa.c | 31 v8u16 sad = { 0 }; local 43 sad += __msa_hadd_u_h(diff, diff); 46 return HADD_UH_U32(sad); 54 v8u16 sad = { 0 }; local 64 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 67 return HADD_UH_U32(sad); 75 v8u16 sad = { 0 }; local 82 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 88 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 91 return HADD_UH_U32(sad); 99 v8u16 sad = { 0 }; local 134 uint32_t sad = 0; local 340 v4u32 sad; local 697 v4u32 sad; local 1033 v4u32 sad; local 1090 v8u16 sad = { 0 }; local 1117 v8u16 sad = { 0 }; local 1141 v8u16 sad = { 0 }; local 1178 v8u16 sad = { 0 }; local 1216 v4u32 sad; local [all...] |
/external/opencv/cv/src/ |
cvstereobm.cpp | 43 * Very fast SAD-based (Sum-of-Absolute-Diffrences) stereo correspondence algorithm. * 195 ushort *sad, *hsad0, *hsad, *hsad_sub; local 209 sad = (ushort*)cvAlignPtr(buf + sizeof(sad[0])); 210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp); 291 sad[d] = (ushort)(hsad0[d-ndisp*dy0]*(wsz2 + 2 - dy0)); 296 sad[d] = (ushort)(sad[d] + hsad[d]); 314 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); 319 _mm_store_si128((__m128i*)(sad + d), sad8) 403 int *sad, *hsad0, *hsad, *hsad_sub, *htext; local [all...] |
/external/webrtc/webrtc/modules/video_processing/util/ |
denoiser_filter.h | 27 uint32_t sad; member in struct:webrtc::DenoiseMetrics
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUtil.cpp | 159 unsigned int sad[MAX_SHORT_AUDIO_DESC_CNT]; local 163 sad[nblockindex] = (unsigned int)data[0] + ((unsigned int)data[1] << 8) 175 channels [nIndex] = (sad[nIndex] & 0x7) + 1; 176 formats [nIndex] = (sad[nIndex] & 0xFF) >> 3; 177 frequency[nIndex] = (sad[nIndex] >> 8) & 0xFF; 178 bitrate [nIndex] = (sad[nIndex] >> 16) & 0xFF;
|
/external/libvpx/libvpx/vp8/common/ |
mfqe.c | 122 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 129 sad = (sse + 128) >> 8; 135 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8; 145 sad = (sse + 32) >> 6; 151 sad = (vpx_sad8x8(y, y_stride, yd, yd_stride) + 32) >> 6; 166 if (sad < thrsq && 171 if (sad < thr && 180 sad = int_sqrt(sad); 182 ifactor = (sad << MFQE_PRECISION) / thr [all...] |
/external/clang/test/SemaCXX/ |
libstdcxx_pair_swap_hack.cpp | 62 namespace sad {
|