/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | sp_dec.cpp | 271 Speech_Decode_FrameState *tmp = s; local 276 void** tempVoid = (void**) tmp;
|
H A D | c_g_aver.cpp | 286 Word16 tmp[M], tmp1, tmp2, shift1, shift2, shift; 308 tmp[i] = div_s(tmp1, tmp2); // Q15+(Q15+Qn)-(Q15+Qm) 312 tmp[i] = shr(tmp[i], shift); // Q15+Qn-Qm-Qx=Q13 316 tmp[i] = shl(tmp[i], negate(shift)); // Q15+Qn-Qm-Qx=Q13 320 diff = tmp[0]; 322 diff = add(diff, tmp[i]); // Q13 485 Word16 tmp[M]; local 522 tmp[ [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_pitch.cpp | 314 Word16 tmp; local 353 tmp = *(p_y1++) >> 2; 354 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp, (Word32) tmp, s); 355 tmp = *(p_y1++) >> 2; 356 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp, (Word32) tmp, s);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | isf_extrapolation.cpp | 122 int16 coeff, mean, tmp, tmp2, tmp3; local 145 tmp = 0; 148 if (IsfDiff[i] > tmp) 150 tmp = IsfDiff[i]; 153 exp = norm_s(tmp); 208 tmp = sub_int16(HfIsf[i - 1 - MaxCorr], HfIsf[i - 2 - MaxCorr]); 209 HfIsf[i] = add_int16(HfIsf[i - 1], tmp); 212 /* tmp=7965+(HfIsf[2]-HfIsf[3]-HfIsf[4])/6; */ 213 tmp = add_int16(HfIsf[4], HfIsf[3]); 214 tmp [all...] |
H A D | dec_alg_codebook.cpp | 147 int16 pos1, pos2, tmp; local 156 tmp = shl_int16(N, 1); 157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */ 194 int16 j, tmp; local 200 tmp = sub_int16(shl_int16(N, 1), 1); /* mask = ((1<<((2*N)-1))-1); */ 206 tmp = (N << 1) - 1; 209 if (((index >> tmp) & 1L) != 0L) 216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */ 217 idx = (index >> tmp) & mask; 231 int16 j, tmp; local 267 int16 j, n_1, tmp; local 318 int16 j, n_1, tmp; local [all...] |
H A D | qpisf_2s.cpp | 141 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...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | math_op.c | 105 Word16 i, a, tmp; local 126 tmp = vo_sub(table_isqrt[i], table_isqrt[i + 1]); /* table[i] - table[i+1]) */ 127 *frac = vo_L_msu(*frac, tmp, a); /* frac -= tmp*a*2 */ 163 Word16 exp, i, a, tmp; local 173 tmp = vo_sub(table_pow2[i], table_pow2[i + 1]); /* table[i] - table[i+1] */ 174 L_x -= (tmp * a)<<1; /* L_x -= tmp*a*2 */ 208 Word32 tmp = (Word32) x[i] * (Word32) y[i]; local 209 if (tmp [all...] |
H A D | q_pulse.c | 56 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 __unused, 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...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_mdct_18.cpp | 136 int32 tmp; local 153 tmp = *(pt_vec); 155 tmp = fxp_mul32_Q32(tmp << 1, *(pt_cos++)); 157 *(pt_vec++) = tmp + tmp1 ; 158 *(pt_vec_o--) = fxp_mul32_Q28((tmp - tmp1), *(pt_cos_split++)); 170 tmp = vec[12]; 180 vec[ 5] = vec[11] - tmp; 181 vec[ 7] = vec[13] - tmp; 195 tmp [all...] |
H A D | pvmp3_decode_huff_cw.cpp | 152 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 D | pvmp3_dequantize_sample.cpp | 296 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/rtsp/ |
H A D | UDPPusher.cpp | 130 struct sockaddr_in tmp = mRemoteAddr; local 131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); 135 (const struct sockaddr *)&tmp, 136 sizeof(tmp));
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 84 sp<ICrypto> tmp = makeCrypto(); local 85 if (tmp == NULL) { 89 if (tmp->createPlugin(uuid, data, datasize) != 0) { 94 crypto->mCrypto = tmp;
|
/frameworks/base/cmds/statsd/src/external/ |
H A D | StatsCompanionServicePuller.cpp | 65 log_msg tmp; local 66 tmp.entry_v1.len = it.bytes.size(); 68 tmp.entry.hdr_size = kLogMsgHeaderSize; 69 tmp.entry_v1.sec = timestampSec; 71 std::copy(it.bytes.begin(), it.bytes.end(), tmp.buf + kLogMsgHeaderSize); 72 data->push_back(make_shared<LogEvent>(tmp));
|
/frameworks/rs/cpp/ |
H A D | rsCppUtils.cpp | 46 std::string tmp; local 49 tmp.append(" "); 51 tmp.append(strs[i]); 53 return strndup(tmp.c_str(), tmp.size());
|
/frameworks/rs/ |
H A D | rsCppUtils.cpp | 46 std::string tmp; local 49 tmp.append(" "); 51 tmp.append(strs[i]); 53 return strndup(tmp.c_str(), tmp.size());
|
H A D | rsMatrix4x4.h | 65 Matrix4x4 tmp; local 66 tmp.loadRotate(rot, x, y, z); 67 multiply(&tmp); 70 Matrix4x4 tmp; local 71 tmp.loadScale(x, y, z); 72 multiply(&tmp); 75 Matrix4x4 tmp; local 76 tmp.loadTranslate(x, y, z); 77 multiply(&tmp);
|
H A D | rsStream.cpp | 36 uint64_t tmp; local 39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0]; 41 return tmp;
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.h | 139 T tmp = convertToBigEndian<T>(buf[offset + i]); local 140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) 150 T tmp = convertToLittleEndian<T>(buf[offset + i]); local 151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
|
H A D | TiffEntryImpl.h | 154 Endianness tmp = UNDEFINED_ENDIAN; local 156 tmp = out->getEndianness(); 173 out->setEndianness(tmp);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.c | 75 int tmp[10]; local 78 tmp, tmp+1, tmp+2, tmp+3, tmp+4, tmp+5, tmp+6, tmp+7, tmp [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectsMath.c | 115 int32_t tmp; local 135 tmp = (out << i) + (1 << ((i - 1)*2)); 136 if (in >= tmp) 139 in -= tmp;
|
/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 51 bool setOverflow() { bool tmp = mOverflow; mOverflow = true; local 52 return tmp; }
|
/frameworks/native/cmds/installd/tests/ |
H A D | test_utils.h | 35 std::vector<uint8_t> tmp; local 56 tmp.push_back((t >> 16) & 255); 58 tmp.push_back((t >> 8) & 255); 61 tmp.push_back(t & 255); 70 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); 71 *dst_size = tmp.size(); 72 std::copy(tmp.begin(), tmp.end(), dst.get());
|
/frameworks/av/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);
|