Searched refs:temp (Results 76 - 100 of 267) sorted by relevance

1234567891011

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc1035pf.cpp412 Word16 temp; local
454 temp = *p1;
456 if (temp < 0)
462 if (((index ^ temp) & 8) == 0)
467 if (temp <= index)
473 *(p1 + 5) = temp;
482 if ((temp & 7) <= (index & 7))
484 *(p1 + 5) = temp;
H A Dspstproc.cpp194 Word16 temp; local
293 * temp Q0 Q0
305 temp = (Word16)(L_temp >> 14);
308 temp += (Word16)(L_temp >> kShift);
310 mem_w0[j] = xn[i] - temp;
H A Dcl_ltp.cpp647 Word16 temp; local
751 temp = *gain_pit;
756 L_temp = ((Word32) * (p_yl++) * temp) >> 14;
759 L_temp = ((Word32) * (p_exc++) * temp) >> 14;
/frameworks/base/core/java/com/android/internal/util/
H A DJournaledFile.java36 public JournaledFile(File real, File temp) { argument
38 mTemp = temp;
43 * Prefers the real file. If it doesn't exist, uses the temp one, and then copies
44 * it to the real one. If there is both a real file and a temp one, assumes that the
45 * temp one isn't fully written and deletes it.
78 // trust anything that's in temp. In order to have the chooseForRead code not
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java150 byte[] temp = new byte[length];
152 System.arraycopy(mData, mIndex, temp, 0, mData.length - mIndex);
153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start);
155 mData = temp;
H A DObexSession.java207 byte[] temp = new byte[correctPassword.length + 16];
209 System.arraycopy(mChallengeDigest, 0, temp, 0, 16);
210 System.arraycopy(correctPassword, 0, temp, 16, correctPassword.length);
212 byte[] correctResponse = ObexHelper.computeMd5Hash(temp);
/frameworks/base/tools/aapt2/tools/
H A Dfix_resources.py51 with tempfile.NamedTemporaryFile(prefix=basename, dir=dirname, delete=False) as temp:
52 temp_name = temp.name
53 temp.write(contents)
54 os.rename(temp.name, file_path)
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dmult.h133 Word32 temp = 0x7FFF; local
147 : "r"(temp)
151 : "r"(temp)
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dagc.cpp131 Word16 i, temp;
133 temp = shr (in[0], 2);
134 s = L_mult (temp, temp);
138 temp = shr (in[i], 2);
139 s = L_mac (s, temp, temp);
177 Word16 temp; local
181 temp = in[i] >> 2;
182 s = L_mac(s, temp, tem
756 Word16 temp; local
978 Word16 temp; local
[all...]
H A Dd_gain_c.cpp206 Word16 temp; local
226 temp = sub((Word16)mode, (Word16)MR122, pOverflow);
227 if (temp == 0)
H A Da_refl.cpp148 Word16 temp;
183 temp = pv_round(L_acc);
184 L_temp = L_mult(mult, temp);
248 Word16 temp; local
287 temp = pv_round(L_acc, pOverflow);
288 L_temp = L_mult(mult, temp, pOverflow);
H A Dbgnscd.cpp240 Word16 temp;
362 temp = add(*voicedHangover, 1);
363 if (sub(temp, 10) > 0)
369 *voicedHangover = temp;
409 Word16 temp; local
576 temp = *voicedHangover + 1;
578 if (temp > 10)
584 *voicedHangover = temp;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/hvac/
H A DTemperatureTextView.java58 * @param temp - The current temp or NaN
61 public void setTemp(float temp) { argument
62 if (Float.isNaN(temp)) {
66 setText(String.format(mTempFormat, temp));
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp153 uint32 temp = getNbits(&pVars->inputStream, 21); local
159 switch (temp >> 19) /* 2 */
175 int32 freq_index = (temp << 20) >> 30;
179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20,
188 if ((temp << 22) >> 31)
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dmime_io.cpp539 uint8 temp = 0; local
563 temp = *(unsorted_bits_ptr++);
567 switch (temp & 0xf0)
654 temp <<= 4;
660 temp <<= 1;
662 if (temp & 0x80)
693 if (temp & 0x80)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dme_utils.cpp41 Int *pint = (Int *) cur, temp = 0; local
50 temp += (*pint++) & 0x00FF00FF;
51 temp += (*pint++) & 0x00FF00FF;
52 temp += (*pint++) & 0x00FF00FF;
53 temp += (*pint++) & 0x00FF00FF;
57 temp += (*pint++ >> 8) & 0x00FF00FF;
58 temp += (*pint++ >> 8) & 0x00FF00FF;
59 temp += (*pint++ >> 8) & 0x00FF00FF;
60 temp += (*pint++ >> 8) & 0x00FF00FF;
65 MB_mean = (((temp
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp757 Word16 temp; local
821 temp = shr(num, 1, pOverflow);
822 temp = div_s(temp, denom);
824 stat_rat = add(stat_rat, shr(temp, sub(8, exp, pOverflow), pOverflow), pOverflow);
858 temp = sub(level[i], st->ave_level[i], pOverflow);
859 temp = mult_r(alpha, temp, pOverflow);
864 temp,
1146 Word16 temp; local
1489 Word16 temp; local
2006 Word16 temp; local
2184 Word16 temp; local
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java258 long temp = longInt;
261 for(size = 0; (temp != 0) && (size < LONG_INTEGER_LENGTH_MAX); size++) {
262 temp = (temp >>> 8);
376 long temp = value >>> (i * 7);
377 temp = temp & 0x7f;
379 append((int)((temp | 0x80) & 0xff));
456 EncodedStringValue temp = null;
460 temp
[all...]
H A DPduParser.java969 int temp = pduDataStream.read();
970 if (temp == -1) {
971 return temp;
974 while((temp & 0x80) != 0) {
976 result |= temp & 0x7F;
977 temp = pduDataStream.read();
978 if (temp == -1) {
979 return temp;
984 result |= temp & 0x7F;
1005 int temp
[all...]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Process.c323 LVM_INT32 temp; local
325 temp = (LVM_INT32)(LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]);
326 temp = ((temp * LVPSA_MAXLEVELDECAYFACTOR)>>LVPSA_MAXLEVELDECAYSHIFT);
328 if(temp == (LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]))
330 temp += 1;
333 temp = (temp > LVPSA_MAXUNSIGNEDCHAR) ? LVPSA_MAXUNSIGNEDCHAR : temp;
335 pLVPSA_Inst->pPreviousPeaks[ii] = (LVM_UINT8)(LVPSA_MAXUNSIGNEDCHAR - temp);
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dwb_vad.c263 Word16 num, temp, stat_rat, exp, denom; local
303 temp = div_s(num >> 1, denom);
304 stat_rat = add1(stat_rat, shr(temp, (8 - exp)));
422 Word16 temp; local
423 temp = (st->old_level[i] - st->bckr_est[i]);
425 if (temp < 0)
427 st->bckr_est[i] = add1(-2, add(st->bckr_est[i],vo_mult_r(alpha_down, temp)));
435 st->bckr_est[i] = add1(bckr_add, add1(st->bckr_est[i],vo_mult_r(alpha_up, temp)));
468 Word16 vad_thr, temp, noise_level; local
482 temp
766 Word16 VAD_flag, temp; local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamRequest.cpp66 int32_t temp; local
67 status_t status = parcel->readInt32(&temp);
69 mUserId = (uid_t) temp;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToPackedGrayFilter.java128 Frame temp = context.getFrameManager().newFrame(tempFrameFormat);
129 mProgram.process(input, temp);
133 output.setDataFromFrame(temp);
134 temp.release();
/frameworks/rs/tests/cpp_api/latency/
H A Dlatency.cpp32 int temp = atoi(argv[3]); local
33 if (temp != 0)
38 int temp = atoi(argv[4]); local
39 if (temp != 0)
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp124 Rect temp(in);
126 matrix->mapRect(temp);
131 temp.set(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
133 out->join(RECT_ARGS(temp));
143 SkRect temp(in);
146 transform->mapRect(&temp);
151 temp.set(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
154 temp.offset(props.getLeft(), props.getTop());
155 out->join(temp);

Completed in 481 milliseconds

1234567891011