Searched defs:tmp (Results 51 - 75 of 204) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dqpisf_2s.cpp141 int16 i, j, tmp; local
169 tmp = isf_q[i];
172 past_isfq[i] = tmp;
210 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */
211 past_isfq[i] = sub_int16(isf_q[i], tmp);
237 int16 i, j, tmp; local
263 tmp = isf_q[i];
264 isf_q[i] = add_int16(tmp, mean_isf[i]);
266 past_isfq[i] = tmp;
305 tmp
[all...]
H A Dhoming_amr_wb_dec.cpp250 int16 i, j, tmp, shift; local
280 tmp = nparms - 15;
281 while (tmp > j)
287 tmp = nparms - j;
288 param[i] = Serial_parm(tmp, &prms);
289 shift = 15 - tmp;
318 tmp = Serial_parm(8, &prms);
319 param[31] = shl_int16(tmp, 7);
324 tmp = i;
326 for (i = 0; i < tmp;
[all...]
H A Dlagconceal.cpp149 int16 i, tmp, tmp2; local
224 tmp = lagDif >> 1;
225 D2 = mult_int16(tmp, D);
226 tmp = add_int16(add_int16(lag_hist2[2], lag_hist2[3]), lag_hist2[4]);
227 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2);
253 tmp = *T0 - maxLag;
256 if ((lagDif < 10) && (*T0 > (minLag - 5)) && (tmp < 5))
309 tmp = lagDif >> 1;
310 D2 = mult_int16(tmp, D);
311 tmp
[all...]
H A Dpvamrwbdecoder_basic_op_gcc_armv5.h260 register int32 tmp; local
267 : "=&r*i"(tmp)
271 return (tmp);
276 register int32 tmp; local
282 : "=&r*i"(tmp)
285 return (tmp);
294 register int32 tmp; local
300 : "=&r*i"(tmp)
303 return (tmp);
H A Dsynthesis_amr_wb.cpp151 int16 tmp; local
255 tmp = extract_h(Dot_product12(HF, HF, L_SUBFR16k, &exp));
257 if (tmp > ener)
259 tmp >>= 1; /* Be sure tmp < ener */
262 L_tmp = L_deposit_h(div_16by16(tmp, ener)); /* result is normalized */
267 tmp = (int16)(L_tmp >> 16); /* tmp = 2 x sqrt(ener_exc/ener_hf) */
274 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 15);
276 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 1
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c56 Word16 mask, tmp; local
76 tmp = (N << 1);
77 index = vo_L_add(index, (1L << tmp)); /* index += 1 << (2*N); */
88 tmp = (N << 1); /* index += 1 << (2*N); */
89 index = vo_L_add(index, (1L << tmp));
97 tmp = (N << 1);
98 index = vo_L_add(index, (1 << tmp)); /* index += 1 << (2*N); */
191 Word16 nb_pos, mask, n_1, tmp; local
215 tmp = vo_sub((N << 2), 3); /* index = 1 << ((4*N)-3); */
216 index = (1L << tmp);
257 Word16 nb_pos, n_1, tmp; local
[all...]
H A Dp_med_ol.c175 Word16 tmp; local
185 tmp = x1;
187 x2 = tmp;
191 tmp = x1;
193 x3 = tmp;
197 tmp = x1;
199 x4 = tmp;
207 tmp = x2;
209 x3 = tmp;
213 tmp
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_huff_cw.cpp152 uint32 tmp; local
155 tmp = getUpTo9bits(pMainData, 3); /* hufftable1 */
157 cw = *(huffTable_1 + tmp);
169 uint32 tmp; local
172 tmp = getUpTo9bits(pMainData, 6); /* huffTable_2,3 */
174 if (tmp >> 3)
176 tmp = (tmp >> 3) - 1;
180 tmp = tmp
195 uint32 tmp; local
221 uint32 tmp; local
250 uint32 tmp; local
279 uint32 tmp; local
312 uint32 tmp; local
345 uint32 tmp; local
378 uint32 tmp; local
423 uint32 tmp; local
463 uint32 tmp; local
504 uint32 tmp; local
569 uint32 tmp; local
614 uint32 tmp; local
682 uint32 tmp; local
734 uint32 tmp = getUpTo9bits(pMainData, 6); /* huffTable_32 */ local
754 uint16 tmp = getUpTo9bits(pMainData, 4); /* huffTable_33 */ local
[all...]
H A Dpvmp3_dequantize_sample.cpp296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); local
298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth);
305 is[ss] = (tmp >> temp);
314 is[ss] = (tmp << global_gain);
352 int32 tmp = is[ss]; local
353 if (tmp)
355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp)));
377 int32 tmp = is[ss]; local
402 int32 tmp = is[ss]; local
428 int32 tmp = is[ss]; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_data.c93 u32 tmp; local
146 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &skipRun);
147 if (tmp != HANTRO_OK)
148 return(tmp);
174 tmp = h264bsdDecodeMacroblockLayer(pStrmData, mbLayer,
177 if (tmp != HANTRO_OK)
180 return(tmp);
184 tmp = h264bsdDecodeMacroblock(pStorage->mb + currMbAddr, mbLayer,
187 if (tmp != HANTRO_OK)
190 return(tmp);
302 u32 tmp, i; local
[all...]
H A Dh264bsd_transform.c320 i32 tmp; local
321 tmp = ((1 - qpDiv) == 0) ? 1 : 2;
328 data[0 ] = ((tmp0 + tmp3)*levScale+tmp) >> (2-qpDiv);
329 data[4 ] = ((tmp1 + tmp2)*levScale+tmp) >> (2-qpDiv);
330 data[8 ] = ((tmp1 - tmp2)*levScale+tmp) >> (2-qpDiv);
331 data[12] = ((tmp0 - tmp3)*levScale+tmp) >> (2-qpDiv);
H A Dh264bsd_util.c223 u32 i, sliceGroup, tmp; local
234 tmp = pSliceGroupMap[i];
235 while ((i < picSizeInMbs) && (tmp != sliceGroup))
238 tmp = pSliceGroupMap[i];
271 u32 tmp; local
278 tmp = row * width;
281 image->luma = (u8*)(image->data + col * 16 + tmp * 256);
282 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp106 const char *tmp; local
107 CHECK(meta->findCString(kKeyMIMEType, &tmp));
108 AString mime = tmp;
/frameworks/compile/slang/
H A Dslang_rs_reflection_base.cpp111 string tmp(s);
112 tmp.erase(pos);
113 return tmp;
152 stringstream tmp; local
157 tmp << ((api.getSExtValue() == 0) ? "false" : "true");
159 tmp << api.getSExtValue();
161 tmp << "L";
170 tmp << apf.convertToFloat() << "f";
172 tmp << apf.convertToDouble();
189 return tmp
[all...]
H A Dslang_rs_reflection_cpp.cpp136 stringstream tmp; local
137 tmp << slot;
138 write(string(" setVar(") + tmp.str() + ", v);");
164 stringstream tmp; local
165 tmp << "void forEach_" << ef->getName() << "(";
167 tmp << "android::sp<const android::renderscriptCpp::Allocation> ain";
168 tmp << ", android::sp<const android::renderscriptCpp::Allocation> aout";
170 tmp << "android::sp<const android::renderscriptCpp::Allocation> ain";
172 tmp << "android::sp<const android::renderscriptCpp::Allocation> aout";
181 tmp << rt
266 stringstream tmp; local
[all...]
/frameworks/rs/
H A DrsStream.cpp36 uint64_t tmp; local
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0];
41 return tmp;
/frameworks/support/renderscript/v8/rs_support/
H A DrsStream.cpp36 uint64_t tmp; local
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0];
41 return tmp;
/frameworks/av/media/libstagefright/
H A DDataSource.cpp146 String8 tmp; local
148 tmp = String8("http://");
149 tmp.append(uri + 11);
151 uri = tmp.string();
H A DVBRISeeker.cpp47 uint32_t tmp = U32_AT(&header[0]); local
50 if (!GetMPEGAudioFrameSize(tmp, &frameSize, &sampleRate)) {
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c215 Word32 tmp; local
218 tmp = (value << iLog4);
219 tmp16 = round16(tmp);
220 tmp = L_mult(tmp16, tmp16);
221 tmp16 = round16(tmp);
222 tmp = L_mult(tmp16, tmp16);
223 tmp16 = round16(tmp);
350 Word32 tmp, tmp2; local
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c317 int ret, i, bitrate, tmp; local
356 tmp = 441;
358 tmp =480;
364 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut;
376 bitrate = bitrate * tmp / config.sampleRate;
428 tmp = 441;
430 tmp =480;
432 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut;
443 bitrate = bitrate * tmp / config.sampleRate;
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp487 Word16 tmp; local
502 tmp = *(p_code++);
503 ener_code += ((Word32) tmp * tmp) >> 3;
504 tmp = *(p_code++);
505 ener_code += ((Word32) tmp * tmp) >> 3;
506 tmp = *(p_code++);
507 ener_code += ((Word32) tmp * tmp) >>
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc1035pf.cpp158 Word16 tmp;
160 tmp = *ind;
164 *ind = (tmp & 0x8) | gray[tmp & 0x7];
168 *ind = gray[tmp & 0x7];
204 Word16 tmp; local
206 tmp = *pInd;
210 *pInd = (tmp & 0x8) | gray[tmp & 0x7];
214 *pInd = gray[tmp
[all...]
H A Dcalc_en.cpp158 Word16 i, exp, tmp;
204 tmp = sub(res[i], pv_round(L_temp)); // LTP residual, Q0
205 s = L_mac (s, tmp, tmp);
614 Word16 tmp; /* temporal storage */ local
639 tmp = (Y2[i] >> 3);
640 scaled_y2[i] = tmp;
643 s1 = L_mac(s1, tmp, tmp, pOverflow);
646 s2 = L_mac(s2, xn[i], tmp, pOverflo
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad.cpp97 int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local
114 tmp = p1[12];
116 sad = SUB_SAD(sad, tmp, tmp2);
117 tmp = p1[8];
119 sad = SUB_SAD(sad, tmp, tmp2);
120 tmp = p1[4];
122 sad = SUB_SAD(sad, tmp, tmp2);
123 tmp = p1[0];
126 sad = SUB_SAD(sad, tmp, tmp2);
129 tmp
201 int tmp, tmp2; local
[all...]

Completed in 344 milliseconds

123456789