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.java156 private static boolean compare(String s1, String s2) { argument
157 if (s1 == null) return (s2 == null);
158 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.cpp369 const char *s2 = name.c_str(); local
371 if (strlen(s2) >= len) {
372 if (!memcmp(s1, s2, len)) {
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp412 uint32_t s2 = 0; local
417 s2 = targetByteChunk / mtls->fep.yStrideOut;
419 s2 = targetByteChunk / mtls->fep.yStrideIn;
421 mtls->mSliceSize = rsMin(s1, s2);
431 uint32_t s2 = 0; local
436 s2 = targetByteChunk / mtls->fep.eStrideOut;
438 s2 = targetByteChunk / mtls->fep.eStrideIn;
440 mtls->mSliceSize = rsMin(s1, s2);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp374 sp<Stream> s2 = mStreams.editValueAt(1); local
377 info1.mPID == s1->pid() && info1.mType == s2->type()
378 && info2.mPID == s2->pid() && info2.mType == s1->type();
381 info1.mPID == s2->pid() && info1.mType == s1->type()
382 && info2.mPID == s1->pid() && info2.mType == s2->type();
386 unsigned pid2 = s2->pid();
388 s2->setPID(pid1);
392 mStreams.add(s2->pid(), s2);
/frameworks/native/cmds/installd/
H A Dutils.c963 char *build_string2(char *s1, char *s2) { argument
964 if (s1 == NULL || s2 == NULL) return NULL;
967 int len_s2 = strlen(s2);
973 strcpy(result + len_s1, s2);
978 char *build_string3(char *s1, char *s2, char *s3) { argument
979 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL;
982 int len_s2 = strlen(s2);
989 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.java3905 private boolean same(String s1, String s2) { argument
3906 if (s1 == null && s2 == null) return true;
3907 if (s1 != null && s1.equals(s2)) return true;
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java2274 static boolean compareStrings(CharSequence s1, CharSequence s2) { argument
2276 return s2 == null;
2278 if (s2 == null) {
2281 if (s1.getClass() != s2.getClass()) {
2284 return s1.equals(s2);
2514 Signature[] s2;
2530 s2 = ((SharedUserSetting)obj).signatures.mSignatures;
2532 s2 = ((PackageSetting)obj).signatures.mSignatures;
2539 return compareSignatures(s1, s2);
2543 static int compareSignatures(Signature[] s1, Signature[] s2) { argument
[all...]

Completed in 1414 milliseconds