HomeSort by relevance Sort by last modified time
    Searched defs:sad (Results 1 - 19 of 19) sorted by null

  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
sad_halfpel_inline.h 31 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
34 if (tmp > 0) sad += tmp;
35 else sad -= tmp;
37 return sad;
40 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
43 if (tmp > 0) sad += tmp;
44 else sad -= tmp;
46 return sad;
51 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
57 add sad, sad, tmp local
69 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 30 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
33 if (tmp > 0) sad += tmp;
34 else sad -= tmp;
36 return sad;
174 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
180 add sad, sad, tmp ; local
183 return sad;
343 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
349 : "+r"(sad), "+r"(tmp
    [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 */
intra_est.cpp 2011 uint sad, sad4, sadI4, sadI16; local
    [all...]
  /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...]
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...]
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...]
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...]
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 */
  /hardware/qcom/audio/hal/
edid.c 33 * 4 bytes: total length of Short Audio Descriptor (SAD) blocks
34 * Maximum 10 * 3 bytes: SAD blocks
53 char *sad = block; local
68 /* Read SAD blocks, clamping the maximum size for safety */
75 /* Calculate the number of SAD blocks */
80 if ((sad[0] >> 3) != EDID_FORMAT_LPCM)
83 channel_count = (sad[0] & 0x7) + 1;
88 sad += 3;
  /external/libvpx/libvpx/vp8/common/
sad_c.c 22 unsigned int sad = 0; local
28 sad += abs(src_ptr[c] - ref_ptr[c]);
31 if (sad > max_sad)
38 return sad;
mfqe.c 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local
156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse));
157 sad = (sse + 128)>>8;
163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8;
173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse));
174 sad = (sse + 32)>>6;
180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6;
195 if (sad < thrsq &&
200 if (sad < thr &&
209 sad = int_sqrt(sad)
    [all...]
  /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/test/
sad_test.cc 67 virtual unsigned int SAD(unsigned int max_sad) {
76 unsigned int sad = 0; local
80 sad += abs(source_data_[h * source_stride_ + w]
83 if (sad > max_sad) {
87 return sad;
110 exp_sad = SAD(max_sad);
  /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/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...]

Completed in 495 milliseconds