/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
sad_halfpel_inline.h | 29 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 32 if (tmp > 0) sad += tmp; 33 else sad -= tmp; 35 return sad; 38 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 41 if (tmp > 0) sad += tmp; 42 else sad -= tmp; 44 return sad; 49 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 55 add sad, sad, tmp local 67 add sad, sad, tmp ; local [all...] |
sad.cpp | 54 Purpose: Compute SAD 16x16 between blk and ref. 81 Purpose: Compute the SAD on a 16x16 block using 93 int sad = 0; local 116 sad = SUB_SAD(sad, tmp, tmp2); 119 sad = SUB_SAD(sad, tmp, tmp2); 122 sad = SUB_SAD(sad, tmp, tmp2); 126 sad = SUB_SAD(sad, tmp, tmp2) 197 int sad = 0; local [all...] |
sad_halfpel.cpp | 54 Purpose: Compute the SAD on the half-pel resolution 63 Purpose: Compute SAD 16x16 between blk and ref in halfpel 73 int sad = 0; local 93 sad += AVC_ABS(temp); 98 if (sad > (int)((uint32)dmin_rx >> 16)) 99 return sad; 106 return sad; 114 int sad = 0; local 132 sad += AVC_ABS(temp); 137 if (sad > (int)((uint32)dmin_rx >> 16) 150 int sad = 0; local 184 int sad = 0; local 266 int sad = 0; local 347 int sad = 0; local 427 int sad = 0, tmp, tmp2; local 495 int sad = 0, tmp, tmp2; local 561 int sad = 0, tmp, tmp2; local [all...] |
sad_inline.h | 28 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 31 if (tmp > 0) sad += tmp; 32 else sad -= tmp; 34 return sad; 172 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 178 add sad, sad, tmp ; local 181 return sad; 341 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 343 __asm__ volatile("rsbs %1, %1, %2\n\trsbmi %1, %1, #0\n\tadd %0, %0, %1": "=r"(sad): "r"(tmp), "r"(tmp2)) [all...] |
intra_est.cpp | 2011 uint sad, sad4, sadI4, sadI16; local [all...] |
avcenc_int.h | 251 int totalSAD; /* SAD of current frame */ 328 uint sad; member in struct:tagMV 421 int i4_sad; /* temporary for i4 mode SAD */ 429 /* to speedup the SAD calculation */ 434 int nrmlz_th[48]; /* Threshold for fast SAD calculation using HTFM */
|
findhalfpel.cpp | 85 dmin = SATD_MB(cand, cur, 65535); // get Hadamaard transform SAD 106 mot->sad = dmin; 131 mot->sad = dmin;
|
motion_est.cpp | 258 int totalSAD = 0; /* average SAD for rate control */ 369 abe_cost = encvid->min_cost[mbnum] = mot_mb_16x16->sad; 398 totalSAD += (int) rateCtrl->MADofMB[mbnum];//mot_mb_16x16->sad; 429 based on other criteria such as motion vectors coherency or the SAD */ 450 rateCtrl->totalSAD = totalSAD * 2; /* SAD */ 460 rateCtrl->totalSAD = totalSAD; /* SAD */ [all...] |
/frameworks/base/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 533 Int sad = 0; local 596 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...] |
me_utils.cpp | 378 mot_mb[1].sad = sad1; 379 mot_mb[2].sad = sad2; 380 mot_mb[3].sad = sad3; 381 mot_mb[4].sad = sad4; 382 mot_mb[0].sad = sad1 + sad2 + sad3 + sad4;
|
mp4lib_int.h | 157 Int sad; /* SAD */ member in struct:tagMOT 357 float sumMAD; /* SAD/MAD for frame */ 359 /* to speedup the SAD calculation */ 362 Int nrmlz_th[48]; /* Threshold for fast SAD calculation using HTFM */ 411 Int totalSAD; /* So far total SAD for a frame */
|
/external/libvpx/vp8/encoder/arm/armv6/ |
vp8_sad16x16_armv6.asm | 27 mov r4, #0 ; sad = 0; 39 usada8 r4, r8, r6, r4 ; calculate sad for 4 pixels 40 usad8 r8, r7, r9 ; calculate sad for 4 pixels 48 usada8 r4, r10, r12, r4 ; calculate sad for 4 pixels 49 usada8 r8, r11, lr, r8 ; calculate sad for 4 pixels 53 add r4, r4, r8 ; add partial sad values 61 usada8 r4, r6, r8, r4 ; calculate sad for 4 pixels 62 usad8 r8, r7, r9 ; calculate sad for 4 pixels 70 usada8 r4, r10, r12, r4 ; calculate sad for 4 pixels 71 usada8 r8, r11, lr, r8 ; calculate sad for 4 pixel [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...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
Android.mk | 17 src/sad.cpp \
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
Android.mk | 19 src/sad.cpp \
|
/external/libvpx/vp8/encoder/ |
sad_c.c | 23 unsigned int sad = 0; local 29 sad += abs(src_ptr[c] - ref_ptr[c]); 36 return sad; 51 unsigned int sad = 0; local 57 sad += abs(src_ptr[c] - ref_ptr[c]); 64 return sad;
|
/external/ppp/pppd/ |
tty.c | 875 struct sockaddr_in sad; local 904 memset(&sad, 0, sizeof(sad)); 905 sad.sin_family = AF_INET; 906 sad.sin_port = htons(port); 907 sad.sin_addr.s_addr = host; 908 if (connect(sock, (struct sockaddr *)&sad, sizeof(sad)) < 0) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
StatusBarNotifications.java | 69 button = (Button) findViewById(R.id.sad);
|
/external/v8/test/mjsunit/ |
unicode-test.js | [all...] |