Searched refs:temp (Results 26 - 50 of 238) sorted by relevance

12345678910

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf_5.cpp174 Word16 temp, sign;
196 // temp = mean_lsf[i] + st->past_r_q[i] * LSP_PRED_FAC_MR122;
198 temp = add (mean_lsf[i], mult (st->past_r_q[i],
201 st->past_r_q[i] = sub (lsf2_q[i], temp);
255 temp = add (mean_lsf[i], mult (st->past_r_q[i],
257 lsf1_q[i] = add (lsf1_r[i], temp);
258 lsf2_q[i] = add (lsf2_r[i], temp);
312 Word16 temp; local
333 temp =
348 temp,
[all...]
H A Db_cn_cod.cpp210 Word16 temp; local
238 temp = (Word16)((*pShift_reg) & 1);
239 noise_bits |= temp;
364 Word16 temp; local
375 temp = (Word16)(L_mult(i, 10, pOverflow));
376 i = temp >> 1;
501 Word16 temp; local
512 temp = ~(0xFFFF << param_size_table[i]);
513 parm[i] = *pTemp++ & temp;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dautocorr.cpp321 Word16 temp; local
343 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15;
344 *(p_y++) = temp;
346 sum += ((Word32)temp * temp) << 1;
370 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15;
371 *(p_y++) = temp;
396 temp = *p_y >> 2;
397 *(p_y++) = temp;
398 sum += ((Word32)temp * tem
[all...]
H A Denc_lag6.cpp196 Word16 temp; local
218 temp = sub(T0, T0_min, pOverflow);
220 i = add(temp, temp, pOverflow);
221 i = add(temp, i, pOverflow);
H A Dq_gain_c.cpp210 Word16 temp; local
274 temp = index + (index << 1);
276 p = &qua_gain_code[temp];
278 temp = (gcode0 * *(p++)) >> 15;
281 *gain = temp << 1;
285 *gain = temp;
H A Dg_code.cpp241 Word16 temp; local
286 temp = *(p_y2++) >> 1;
287 s += ((Word32) temp * temp) >> 2;
288 temp = *(p_y2++) >> 1;
289 s += ((Word32) temp * temp) >> 2;
H A Dcbsearch.cpp202 Word16 temp; local
287 temp =
296 temp,
319 temp =
328 temp,
345 temp = ((Word32)h[i - T0] * pit_sharpTmp) >> 15;
355 temp,
378 temp =
387 temp,
/frameworks/rs/
H A DrsMatrix3x3.cpp51 Matrix3x3 temp; local
62 temp.set(i, 0, ri0);
63 temp.set(i, 1, ri1);
64 temp.set(i, 2, ri2);
66 load(&temp);
71 float temp; local
74 temp = get(i, j);
76 set(j, i, temp);
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayMix_16x16.c37 LVM_INT16 temp; local
42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1);
43 *dst = temp;
52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1);
53 *dst = temp;
H A DDelayAllPass_Sat_32x16To32.c40 LVM_INT32 temp; local
46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15)
47 a = temp;
67 MUL32x16INTO32(c, -coeff, temp, 15)
68 a = temp;
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_3.cpp209 Word16 *p_dico, temp;
217 temp = sub (lsf_r1[0], *p_dico++);
218 temp = mult (wf1[0], temp);
219 dist = L_mult (temp, temp);
221 temp = sub (lsf_r1[1], *p_dico++);
222 temp = mult (wf1[1], temp);
223 dist = L_mac (dist, temp, tem
285 Word16 temp; local
611 Word16 temp; local
1028 Word16 temp; local
[all...]
H A Dsyn_filt.cpp270 Word16 temp; local
306 temp = (Word16)(s1 >> 12);
310 temp = MAX_16;
314 temp = MIN_16;
317 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2);
319 *(yy++) = temp;
320 *(p_y++) = temp;
327 temp = (Word16)(s2 >> 12);
331 temp = MAX_16;
335 temp
[all...]
H A Dint_lpc.cpp443 Word16 temp; local
450 temp = shr(lsp_old[i], 2, pOverflow);
451 temp = sub(lsp_old[i], temp, pOverflow);
454 lsp[i] = add(temp2, temp, pOverflow);
467 temp = shr(lsp_new[i], 1, pOverflow);
469 lsp[i] = add(temp, temp2, pOverflow);
481 temp = shr(lsp_new[i], 2, pOverflow);
482 temp = sub(lsp_new[i], temp, pOverflo
580 Word16 temp; local
[all...]
H A Dq_plsf_5.cpp217 Word16 temp; local
247 temp = (aux1 - ((Word32)wf1_0 * *(p_dico++))) >> 15;
248 dist = ((Word32)temp * temp);
256 temp = (aux2 - ((Word32)wf1_1 * *(p_dico++))) >> 15;
257 dist += ((Word32)temp * temp);
265 temp = (aux3 - ((Word32)wf2_0 * *(p_dico++))) >> 15;
266 dist += ((Word32)temp * temp);
383 Word16 temp; local
[all...]
/frameworks/base/libs/hwui/utils/
H A DStringUtils.h44 double temp = d.bytes; local
45 while (temp > 1024 && suffix < 2) {
46 temp /= 1024.0;
49 stream << std::fixed << std::setprecision(2) << temp << SUFFIXES[suffix];
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dbits.c42 UWord8 temp; local
142 temp = 0;
148 temp++;
152 temp <<= 1;
156 *stream_ptr = temp;
158 temp = 0;
166 temp++;
168 temp <<= 4;
169 temp += mode & 0x000F;
174 temp <<
[all...]
H A Dpreemph.c35 Word16 temp; local
38 temp = x[lg - 1];
51 *mem = temp;
64 Word16 temp; local
67 temp = x[lg - 1];
94 *mem = temp;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java123 int temp = data[curIndex++] & 0xff;
124 switch (temp) {
128 Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) +
144 tag = temp;
152 temp = data[curIndex++] & 0xff;
153 if (temp < 0x80) {
154 length = temp;
155 } else if (temp == 0x81) {
164 } else if (temp == 0x82) {
175 } else if (temp
[all...]
H A DBerTlv.java89 int temp = data[curIndex++] & 0xff;
90 if (temp < 0x80) {
91 length = temp;
92 } else if (temp == 0x81) {
93 temp = data[curIndex++] & 0xff;
94 if (temp < 0x80) {
101 length = temp;
106 " byte= " + Integer.toHexString(temp) + " curIndex=" + curIndex +
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp43 void* temp = malloc(size); local
45 memset(temp, 0, size);
73 memcpy(temp, temp2, size);
79 memcpy(temp, vaddr, size);
85 memcpy(vaddr, temp, size);
92 lamecpy(temp, temp2, size);
98 lamecpy(temp, vaddr, size);
104 lamecpy(vaddr, temp, size);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct_vca.cpp450 int32 x0, x1, x2, x4, x5, temp; local
476 temp = ((x0 + x2) >> 14);
477 CLIP_RESULT(temp)
478 word = word | (temp << 8);
479 temp = ((x0 + x1) >> 14);
480 CLIP_RESULT(temp)
481 word = word | (temp << 16);
482 temp = ((x0 + x5) >> 14);
483 CLIP_RESULT(temp)
484 word = word | (temp << 2
507 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
580 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c759 int32_t temp; local
822 temp = (pReverb->m_nRoomLpfFwd << 15)
824 *pValue16 = Effects_Linear16ToMillibels(temp);
826 ALOGV("get REVERB_PARAM_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk);
840 temp = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nRoomLpfFbk);
841 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 %d", temp);
845 temp = 32767 + temp - temp2;
846 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 + 2 Cos a1 + 1 %d", temp);
847 temp
1042 int32_t temp; local
1903 int temp; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1455 #define PAD_CORNER { temp = *src; \
1456 temp |= (temp<<8); \
1457 temp |= (temp<<16); \
1458 *((ULong*)dst) = temp; \
1459 *((ULong*)(dst+4)) = temp; \
1460 *((ULong*)(dst+=lx)) = temp; \
1461 *((ULong*)(dst+4)) = temp; \
1462 *((ULong*)(dst+=lx)) = temp; \
1525 ULong temp, temp2; local
1559 temp = *(src += lx); local
1677 temp = *(src += lx); local
1722 ULong temp; local
1769 ULong temp; local
1802 ULong temp; local
1869 ULong temp; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s125 temp RN 11 label
159 ;// Caulucate temp pred by performing Division
170 ADD temp,dcScaler,dcScaler
171 LDRH temp,[predCoeffTable,temp] ;// Load value from coeff table for performing division using multiplication
173 SMULBB tempPred,temp,absCoeffDC ;// tempPred=pPredBufRow(Col)[0]*32767/dcScaler
181 LDRH temp,[pPredBufCol]
188 STRH temp,[pPredBufRow,#-16]
190 LDRH temp,[pSrcDst] ;// temp
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DLimitedLengthInputStreamTest.java82 byte[] temp = new byte[TEST_STRING1.length];
89 assertEquals(length, is.read(temp, 0, temp.length));
91 System.arraycopy(temp, 0, actual, 0, length);
94 assertEquals(-1, is.read(temp, 0, temp.length));
122 byte[] temp = new byte[TEST_STRING1.length + 10];
124 assertEquals(TEST_STRING1.length, is.read(temp, 0, TEST_STRING1.length + 10));
127 System.arraycopy(temp, 0, actual, 0, actual.length);
132 byte[] temp
[all...]

Completed in 461 milliseconds

12345678910