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

123456789

/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.c269 u32 tmp; local
276 tmp = row * width;
279 image->luma = (u8*)(image->data + col * 16 + tmp * 256);
280 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp117 const char *tmp; local
118 CHECK(meta->findCString(kKeyMIMEType, &tmp));
119 AString mime = tmp;
/frameworks/rs/
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 DVBRISeeker.cpp50 uint32_t tmp = U32_AT(&header[0]); local
53 if (!GetMPEGAudioFrameSize(tmp, &frameSize, &sampleRate)) {
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c217 Word32 tmp; local
220 tmp = (value << iLog4);
221 tmp16 = round16(tmp);
222 tmp = L_mult(tmp16, tmp16);
223 tmp16 = round16(tmp);
224 tmp = L_mult(tmp16, tmp16);
225 tmp16 = round16(tmp);
354 Word32 tmp, tmp2; local
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c321 int ret, i, bitrate, tmp; local
360 tmp = 441;
362 tmp =480;
368 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut;
380 bitrate = bitrate * tmp / config.sampleRate;
432 tmp = 441;
434 tmp =480;
436 config.bitRate = 640*config.sampleRate/tmp*config.nChannelsOut;
447 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/amrwb/src/
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 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/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...]
H A Dsad_inline.h30 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
32 tmp = tmp - tmp2;
33 if (tmp > 0) sad += tmp;
34 else sad -= tmp;
174 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
178 rsbs tmp, tmp, tmp2 ; local
179 rsbmi tmp, tm local
180 add sad, sad, tmp ; local
343 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp92 int tmp; local
99 tmp = (uintptr_t)prev & 0x3;
102 if (tmp == 0) /* word-aligned */
112 else if (tmp == 1) /* first position */
134 else if (tmp == 2) /* second position */
192 int tmp; local
206 tmp = (uintptr_t)prev & 3;
211 if (tmp == 0) /* word-aligned */
281 else if (tmp == 1)
360 else if (tmp
521 int tmp; local
868 int tmp; local
[all...]
H A Didct_vca.cpp43 int tmp; local
56 tmp = (*(blk += 8) + 32) >> 6;
60 res = tmp + (pred_word & 0xFF);
62 res2 = tmp + ((pred_word >> 8) & 0xFF);
65 res = tmp + ((pred_word >> 16) & 0xFF);
68 res = tmp + ((pred_word >> 24) & 0xFF);
74 res = tmp + (pred_word & 0xFF);
76 res2 = tmp + ((pred_word >> 8) & 0xFF);
79 res = tmp + ((pred_word >> 16) & 0xFF);
82 res = tmp
422 int32 tmp; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp47 Int tmp, tmp2; local
59 tmp = *((Int*) cur); /* contains 4 pixels */
62 k1 = mask & (tmp << 1);
65 k2 = mask & (tmp >> 7);
68 k3 = mask & (tmp >> 15);
71 k4 = mask & (tmp >> 23);
73 tmp = *((Int*)(cur + 4)); /* another 4 pixels */
76 k5 = mask & (tmp << 1);
79 k6 = mask & (tmp >> 7);
82 k7 = mask & (tmp >> 1
275 Int tmp, tmp2; local
481 Int tmp, tmp2; local
661 Int *curInt, tmp; local
871 Int *curInt, tmp; local
1058 Int *curInt, tmp; local
[all...]
H A Dfastquant_inline.h62 __inline int32 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
66 OSCL_UNUSED_ARG(tmp);
108 __inline int32 clip_2047(int32 q_value, int32 tmp) argument
110 OSCL_UNUSED_ARG(tmp);
124 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
128 OSCL_UNUSED_ARG(tmp);
149 __inline int32 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
151 OSCL_UNUSED_ARG(tmp);
194 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/
202 __inline int32 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
215 eorhi coeff, tmp, coeff, asr #31 local
243 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
259 eorhi q_value, tmp, q_value, asr #31 local
298 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
311 eorhi coeff, tmp, coeff, asr #31 local
340 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
356 eorhi q_value, tmp, q_value, asr #31 local
392 clip_2047(int32 q_value, int32 tmp) argument
402 eorhi q_value, tmp, q_value, asr #31 local
408 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
420 eorhi q_value, tmp, q_value, asr #31 local
483 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
553 clip_2047(int32 q_value, int32 tmp) argument
567 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
598 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
[all...]
H A Dvop.cpp511 BitstreamEncVideo *bs, tmp; local
516 tmp.bitstreamBuffer = buffer; /* use temporary buffer */
517 tmp.bufferSize = 30;
518 BitstreamEncReset(&tmp);
519 bs = &tmp;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_framedecoder.cpp377 int32 * tmp = pVars->Scratch_mem; local
383 (uint32 *)tmp,
427 int32 * tmp = pVars->Scratch_mem; local
433 (uint32 *)tmp,
H A Dpvmp3_stereo_proc.cpp232 int32 tmp = fxp_mul32_Q32((*pt_xr) << 1, TmpFac); local
233 *(pt_xl++) = (*pt_xr) - tmp;
234 *(pt_xr++) = tmp;
235 tmp = fxp_mul32_Q32((*pt_xr) << 1, TmpFac);
236 *(pt_xl++) = (*pt_xr) - tmp;
237 *(pt_xr++) = tmp;
242 int32 tmp = fxp_mul32_Q32((*pt_xr) << 1, TmpFac); local
243 *(pt_xl) = (*pt_xr) - tmp;
244 *(pt_xr) = tmp;

Completed in 3962 milliseconds

123456789