Searched defs:s2 (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dconvolve.cpp216 Word32 s1, s2; local
224 s2 = ((Word32) * (x)) * *(h--);
229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2);
231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2);
235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2);
238 *(y++) = (Word16)(s2 >> 12);
H A Dcor_h.cpp280 Word32 s2; local
382 s2 = 0;
393 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_h2++), (Word32) * (p_h), s2);
396 tmp11 = (Word16)((s2 + 0x00004000L) >> 15);
H A Dcalc_en.cpp278 Word32 s2; /* Intermediate energy accumulator */ local
293 s2 = 0;
310 s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energy */
322 s2 = s2 << 1;
344 if (s2 & MIN_32)
346 s2 = MAX_32;
350 exp = norm_l(s2);
351 frac_en[1] = (Word16)(L_shl(s2, ex
608 Word32 s2; /* Intermediate energy accumulator */ local
[all...]
H A Dpitch_fr.cpp329 Word32 s2; local
383 s = s2 = 0;
391 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf)));
394 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf)));
398 s2 = s2 << 1;
399 s2 = Inv_sqrt(s2, pOverflow);
400 norm_h = (Word16)(s2 >> 16);
401 norm_l = (Word16)((s2 >>
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dresidu.cpp207 Word32 s2; local
221 s2 = 0x0000800L;
233 s2 += ((Word32) * (p_coef) * *(p_input2++));
237 s2 += ((Word32) * (p_coef) * *(p_input2++));
243 s2 += (((Word32) * (p_coef)) * *(p_input2));
248 *(p_residual_ptr--) = (Word16)(s2 >> 12);
H A Dsyn_filt.cpp260 Word32 s2; local
288 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L);
293 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2);
295 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2);
297 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2);
315 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2);
[all...]
H A Dpred_lt.cpp278 Word32 s2; local
328 s2 = 0x00004000L;
332 s2 += ((Word32) * (pX3--)) * *(pC1);
335 s2 += ((Word32) * (pX2)) * *(pC1++);
336 s2 += ((Word32) * (pX3--)) * *(pC1);
339 s2 += ((Word32) * (pX2)) * *(pC1++);
344 *(p_exc++) = (Word16)(s2 >> 15);
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbAccessory.java98 private static boolean compare(String s1, String s2) { argument
99 if (s1 == null) return (s2 == null);
100 return s1.equals(s2);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java124 private static boolean compare(String s1, String s2) { argument
125 if (s1 == null) return (s2 == null);
126 return s1.equals(s2);
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dm.c32 static int drm_strnicmp(const uint8_t* s1, const uint8_t* s2, int32_t n) argument
34 if (n < 0 || NULL == s1 || NULL == s2)
40 while (n-- != 0 && tolower(*s1) == tolower(*s2))
42 if (n == 0 || *s1 == '\0' || *s2 == '\0')
45 s2++;
48 return tolower(*s1) - tolower(*s2);
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dfft_rx4_long.cpp211 Int32 s2; local
266 s2 = temp1 - temp2;
268 *pData3-- = (s2 - t2);
269 *pData4-- = (s2 + t2);
319 s2 = temp1 - temp2;
320 s3 = (s2 + r4) << 1;
321 s2 = (s2 - r4) << 1;
338 *pData3-- = cmplx_mul32_by_16(s2, -r2, exp_jw1);
339 *pData3 = cmplx_mul32_by_16(r2, s2, exp_jw
[all...]
H A Dfft_rx4_short.cpp213 Int32 s2; local
291 s2 = temp1 - temp2;
304 *pData4-- = (s2 + t2) >> exp;
307 *pData3-- = (s2 - t2) >> exp;
351 s2 = temp1 - temp2;
353 s3 = (s2 + t2) >> exp;
354 s2 = (s2 - t2) >> exp;
374 *pData3-- = cmplx_mul32_by_16(s2, -r2, exp_jw1) << 1;
375 *pData3 = cmplx_mul32_by_16(r2, s2, exp_jw
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_inline.h370 register int32 s2 = src2; local
384 "r"(s2),
395 register int32 s2 = src2; local
408 "r"(s2),
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DAdnRecord.java162 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { argument
163 if (s1 == s2) {
169 if (s2 == null) {
170 s2 = "";
172 return (s1.equals(s2));
/frameworks/base/libs/utils/
H A DString16.cpp54 int strcmp16(const char16_t *s1, const char16_t *s2) argument
60 d = (int)(ch = *s1++) - (int)*s2++;
68 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) argument
74 d = (int)(ch = *s1++) - (int)*s2++;
135 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) argument
138 const char16_t* e2 = s2+n2;
140 while (s1 < e1 && s2 < e2) {
141 const int d = (int)*s1++ - (int)*s2++;
148 ? (0 - (int)*s2)
/frameworks/base/opengl/libagl/
H A Dprimitives.cpp695 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2)
708 gglMulx(s2-s0, t1-t0, shift) )*w*h;
730 int32_t s2 = v2->texture[i].S; local
735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
745 s2 *= width;
753 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2);
787 int32_t s2 = v2->texture[i].S; local
792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
802 s2 *= width;
815 s2
694 compute_lod(ogles_context_t* c, int i, int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DPackageManagerService.java1734 static boolean compareStrings(CharSequence s1, CharSequence s2) { argument
1736 return s2 == null;
1738 if (s2 == null) {
1741 if (s1.getClass() != s2.getClass()) {
1744 return s1.equals(s2);
1853 Signature[] s2;
1869 s2 = ((SharedUserSetting)obj).signatures.mSignatures;
1871 s2 = ((PackageSetting)obj).signatures.mSignatures;
1878 return checkSignaturesLP(s1, s2);
1882 int checkSignaturesLP(Signature[] s1, Signature[] s2) { argument
[all...]

Completed in 334 milliseconds