/frameworks/av/media/extractors/mp3/ |
H A D | VBRISeeker.cpp | 49 uint32_t tmp = U32_AT(&header[0]); local 52 if (!GetMPEGAudioFrameSize(tmp, &frameSize, &sampleRate)) {
|
/frameworks/av/media/libmedia/include/media/ |
H A D | RingBuffer.h | 195 iterator tmp{mPtr, mSize, mPos, mCtr}; 197 return tmp; 239 const_iterator tmp{mPtr, mSize, mPos, mCtr}; 241 return tmp; 305 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; local 306 return iterator(mBuffer.data(), mBuffer.size(), (mFrontIdx == 0) ? tmp : mFrontIdx - 1, 0); 317 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; local 319 (mFrontIdx == 0) ? tmp : mFrontIdx - 1, 0);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gc_pred.cpp | 487 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 D | c1035pf.cpp | 158 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 D | calc_en.cpp | 158 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 D | homing_amr_wb_dec.cpp | 250 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 D | lagconceal.cpp | 149 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 D | pvamrwbdecoder_basic_op_gcc_armv5.h | 260 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 D | synthesis_amr_wb.cpp | 151 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 D | p_med_ol.c | 175 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/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 92 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 D | idct_vca.cpp | 43 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 D | dct.cpp | 47 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 D | fastquant_inline.h | 62 __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 D | vop.cpp | 511 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 D | pvmp3_framedecoder.cpp | 377 int32 * tmp = pVars->Scratch_mem; local 383 (uint32 *)tmp, 427 int32 * tmp = pVars->Scratch_mem; local 433 (uint32 *)tmp,
|
H A D | pvmp3_stereo_proc.cpp | 232 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;
|
/frameworks/base/libs/common_time/ |
H A D | LinearTransform.cpp | 244 T tmp = a; local 246 b = tmp;
|
H A D | common_time_config_service.cpp | 65 String8 tmp; local 66 status_t ret = mTimeServer.getInterfaceBinding(tmp); 67 ifaceName = String16(tmp); 72 String8 tmp(ifaceName); 73 return mTimeServer.setInterfaceBinding(tmp);
|
H A D | common_time_server_packets.cpp | 93 int16_t tmp; local 96 DESERIALIZE_INT16(tmp); 99 packetType = static_cast<TimeServicePacketType>(tmp); 105 ssize_t ret, tmp; local 116 tmp =((WhoIsMasterRequestPacket*)(this))->serializePacket(data, 120 tmp =((WhoIsMasterResponsePacket*)(this))->serializePacket(data, 124 tmp =((SyncRequestPacket*)(this))->serializePacket(data, length); 127 tmp =((SyncResponsePacket*)(this))->serializePacket(data, length); 130 tmp =((MasterAnnouncementPacket*)(this))->serializePacket(data, 137 if (tmp < [all...] |
H A D | diag_thread.cpp | 50 int tmp = 1; local 51 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &tmp, sizeof(tmp)) < 0) {
|
/frameworks/native/services/sensorservice/ |
H A D | RingBuffer.h | 195 iterator tmp{mPtr, mSize, mPos, mCtr}; 197 return tmp; 239 const_iterator tmp{mPtr, mSize, mPos, mCtr}; 241 return tmp; 305 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; local 306 return iterator(mBuffer.data(), mBuffer.size(), (mFrontIdx == 0) ? tmp : mFrontIdx - 1, 0); 317 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; local 319 (mFrontIdx == 0) ? tmp : mFrontIdx - 1, 0);
|
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 114 uintptr_t tmp[2]; local 115 tmp[0] = RS_PROGRAM_PARAM_CONSTANT; 116 tmp[1] = (uintptr_t)inputType.get(); 121 nullptr, 0, nullptr, tmp, 2);
|
H A D | rsStream.h | 33 float tmp = reinterpret_cast<const float *>(&mData[mPos])[0]; local 35 return tmp; 39 int32_t tmp = reinterpret_cast<const int32_t *>(&mData[mPos])[0]; local 41 return tmp; 45 uint32_t tmp = reinterpret_cast<const uint32_t *>(&mData[mPos])[0]; local 47 return tmp; 51 uint16_t tmp = reinterpret_cast<const uint16_t *>(&mData[mPos])[0]; local 53 return tmp; 56 uint8_t tmp = reinterpret_cast<const uint8_t *>(&mData[mPos])[0]; local 58 return tmp; [all...] |
/frameworks/rs/rsov/compiler/spirit/ |
H A D | instructions.h | 122 T tmp; local 123 if (!DeserializeExactlyOne(IS, &tmp)) { 126 operands->push_back(tmp);
|