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

/frameworks/av/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/av/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/av/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/core/java/android/hardware/usb/
H A DUsbAccessory.java154 private static boolean compare(String s1, String s2) { argument
155 if (s1 == null) return (s2 == null);
156 return s1.equals(s2);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecord.java167 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { argument
168 if (s1 == s2) {
174 if (s2 == null) {
175 s2 = "";
177 return (s1.equals(s2));
/frameworks/rs/cpp/
H A DElement.cpp370 const char *s2 = name.c_str(); local
372 if (strlen(s2) >= len) {
373 if (!memcmp(s1, s2, len)) {
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp420 uint32_t s2 = 0; local
425 s2 = targetByteChunk / mtls->fep.yStrideOut;
427 s2 = targetByteChunk / mtls->fep.yStrideIn;
429 mtls->mSliceSize = rsMin(s1, s2);
439 uint32_t s2 = 0; local
444 s2 = targetByteChunk / mtls->fep.eStrideOut;
446 s2 = targetByteChunk / mtls->fep.eStrideIn;
448 mtls->mSliceSize = rsMin(s1, s2);
492 uint32_t s2 = 0; local
497 s2
511 uint32_t s2 = 0; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp382 sp<Stream> s2 = mStreams.editValueAt(1); local
385 info1.mPID == s1->pid() && info1.mType == s2->type()
386 && info2.mPID == s2->pid() && info2.mType == s1->type();
389 info1.mPID == s2->pid() && info1.mType == s1->type()
390 && info2.mPID == s1->pid() && info2.mType == s2->type();
394 unsigned pid2 = s2->pid();
396 s2->setPID(pid1);
400 mStreams.add(s2->pid(), s2);
/frameworks/native/cmds/installd/
H A Dutils.c1069 char *build_string2(char *s1, char *s2) { argument
1070 if (s1 == NULL || s2 == NULL) return NULL;
1073 int len_s2 = strlen(s2);
1079 strcpy(result + len_s1, s2);
1084 char *build_string3(char *s1, char *s2, char *s3) { argument
1085 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL;
1088 int len_s2 = strlen(s2);
1095 strcpy(result + len_s1, s2);
/frameworks/native/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/core/java/android/hardware/
H A DCamera.java4216 private boolean same(String s1, String s2) { argument
4217 if (s1 == null && s2 == null) return true;
4218 if (s1 != null && s1.equals(s2)) return true;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java2480 static boolean compareStrings(CharSequence s1, CharSequence s2) { argument
2482 return s2 == null;
2484 if (s2 == null) {
2487 if (s1.getClass() != s2.getClass()) {
2490 return s1.equals(s2);
2757 Signature[] s2;
2773 s2 = ((SharedUserSetting)obj).signatures.mSignatures;
2775 s2 = ((PackageSetting)obj).signatures.mSignatures;
2782 return compareSignatures(s1, s2);
2799 static int compareSignatures(Signature[] s1, Signature[] s2) { argument
[all...]

Completed in 248 milliseconds