Searched refs:temp (Results 51 - 75 of 220) sorted by relevance

123456789

/frameworks/base/location/java/android/location/
H A DGeofence.java150 long temp;
151 temp = Double.doubleToLongBits(mLatitude);
152 result = prime * result + (int) (temp ^ (temp >>> 32));
153 temp = Double.doubleToLongBits(mLongitude);
154 result = prime * result + (int) (temp ^ (temp >>> 32));
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Process.c233 LVM_INT32 temp; local
235 temp = (LVM_INT32)(LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]);
236 temp = ((temp * LVPSA_MAXLEVELDECAYFACTOR)>>LVPSA_MAXLEVELDECAYSHIFT);
238 if(temp == (LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]))
240 temp += 1;
243 temp = (temp > LVPSA_MAXUNSIGNEDCHAR) ? LVPSA_MAXUNSIGNEDCHAR : temp;
245 pLVPSA_Inst->pPreviousPeaks[ii] = (LVM_UINT8)(LVPSA_MAXUNSIGNEDCHAR - temp);
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dintra_est.cpp42 int temp, SBE, offset; local
60 temp = *topL++ - orgY[j];
61 SBE += ((temp >= 0) ? temp : -temp);
62 temp = *(leftL += picPitch) - *(orgY_2 += orgPitch);
63 SBE += ((temp >= 0) ? temp : -temp);
76 temp
728 uint32 temp, DC; local
2012 int component, SubBlock_indx, temp; local
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_StochasticLinearRanker.java76 ArrayList<StringFloat> temp = (ArrayList<StringFloat>)sample;
77 String[] keys = new String[temp.size()];
78 float[] values = new float[temp.size()];
79 for (int i = 0; i < temp.size(); i++){
80 keys[i] = temp.get(i).key;
81 values[i] = temp.get(i).value;
89 ArrayList<StringFloat> temp = (ArrayList<StringFloat>)sample;
91 for (int i = 0; i < temp.size(); i++)
92 weights.put(temp.get(i).key, temp
[all...]
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java129 byte[] temp = mArray.toByteArray();
132 System.arraycopy(temp, 0, result, 0, size);
133 if (temp.length != size) {
134 mArray.write(temp, size, temp.length - size);
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;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dqua_gain.cpp217 Word16 temp; local
277 temp = shl(exp_code, 1, pOverflow);
278 temp = add(15, temp, pOverflow);
279 exp_max[2] = add(exp_coeff[2], temp, pOverflow);
283 temp = add(1, exp_code, pOverflow);
284 exp_max[4] = add(exp_coeff[4], temp, pOverflow);
394 temp = sub(10, exp_gcode0, pOverflow);
395 L_tmp = L_shr(L_tmp, temp, pOverflow);
H A Dpitch_fr.cpp337 Word16 temp; local
354 temp = *(p_excf++);
355 *(p_s_excf++) = temp >> 2;
356 s += (Word32) temp * temp;
357 temp = *(p_excf++);
358 *(p_s_excf++) = temp >> 2;
359 s += (Word32) temp * temp;
415 temp
730 Word16 temp; local
[all...]
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;
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dreflist.cpp410 AVCPictureData *temp; local
418 temp = data[j];
420 data[i] = temp;
432 AVCPictureData *temp; local
440 temp = data[j];
442 data[i] = temp;
455 AVCFrameStore *temp; local
463 temp = data[j];
465 data[i] = temp;
477 AVCFrameStore *temp; local
499 AVCPictureData *temp; local
538 AVCPictureData *temp; local
560 AVCFrameStore *temp; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s103 temp RN 1 label
193 SUB temp,fcodeForward,#1 ;// temp=fcodeForward-1
196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1)
210 LDR temp,=0xFFF
213 TEQ index,temp
223 SUB temp,fcodeForward,#1
224 M_BD_VREAD8 mvHorResidual,temp,T1,T2 ;// get mvHorResidual from bitstream if fcodeForward>1 and mvHorData!=0
240 LDR temp,=0xFFF
243 TEQ index,temp
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s103 temp RN 1 label
193 SUB temp,fcodeForward,#1 ;// temp=fcodeForward-1
196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1)
210 LDR temp,=0xFFF
213 TEQ index,temp
223 SUB temp,fcodeForward,#1
224 M_BD_VREAD8 mvHorResidual,temp,T1,T2 ;// get mvHorResidual from bitstream if fcodeForward>1 and mvHorData!=0
240 LDR temp,=0xFFF
243 TEQ index,temp
[all...]
/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/rs/
H A DrsMatrix2x2.cpp59 float temp = m[1]; local
61 m[2] = temp;
H A DrsMatrix3x3.cpp67 float temp; local
70 temp = get(i, j);
72 set(j, i, temp);
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix2x2.cpp59 float temp = m[1]; local
61 m[2] = temp;
H A DrsMatrix3x3.cpp67 float temp; local
70 temp = get(i, j);
72 set(j, i, temp);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c98 Word32 temp, shift; local
105 temp = lineNumber - bandStartOffset[numOfBands] ;
106 if (temp >= 0)
111 temp = bandStartOffset[band + 1] - lineNumber;
112 if (temp > 0) break;
115 temp = (lineNumber - bandStartOffset[band]);
116 temp = (temp - (bandStartOffset[band + 1] - lineNumber));
117 if ( temp > 0 )
277 Word32 temp; local
363 Word32 i, temp; local
402 Word32 temp; local
722 Word32 temp, workBuffer0; local
761 Word32 temp; local
776 Word32 temp; local
790 Word32 temp; local
814 Word32 temp; local
839 Word32 temp; local
[all...]
H A Dms_stereo.c53 Word32 temp; local
61 Word32 temp; local
98 temp = (pnlr + 1) / ((pnms >> 8) + 1);
100 temp = pnms - pnlr;
101 if( temp > 0 ){
/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)
/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/libvideoeditor/lvpp/
H A DVideoEditorBGAudioProcessing.cpp164 M4OSA_Int32 temp; local
166 temp = -(*pBTMdata1) * 2; // bring to original Amplitude level
168 if (temp > 32767) {
171 *pBTMdata1 = (M4OSA_Int16)(-temp);
174 temp = (*pBTMdata1) * 2; // bring to original Amplitude level
175 if ( temp > 32768) {
178 *pBTMdata1 = (M4OSA_Int16)temp;

Completed in 292 milliseconds

123456789