/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | inv_sqrt.cpp | 158 Word16 exp, i, a, tmp; 190 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]) 191 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2 229 Word16 tmp; local 260 tmp = inv_sqrt_tbl[i] - inv_sqrt_tbl[i + 1]; 263 L_y -= ((Word32)tmp * a) << 1; /* L_y -= tmp*a*2 */
|
H A D | gmed_n.cpp | 133 Word16 tmp[NMAX]; 153 tmp[i] = ix; 156 medianIndex=tmp[ shr(n,1) ]; // account for complex addressing 191 Word16 tmp[NMAX]; local 211 *(tmp + i) = ix; 214 medianIndex = *(tmp + (n >> 1)); /* account for complex addressing */
|
H A D | log2_norm.cpp | 144 Word16 i, a, tmp; 165 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1] 166 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2 203 Word16 i, a, tmp; local 231 tmp = log2_tbl[i] - log2_tbl[i + 1]; /* table[i] - table[i+1] */ 232 L_y -= (((Word32) tmp) * a) << 1; /* L_y -= tmp*a*2 */
|
H A D | pow2.cpp | 130 Word16 exp, i, a, tmp; 140 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1] 141 L_x = L_msu (L_x, tmp, a); // L_x -= tmp*a*2 182 Word16 exp, i, a, tmp; local 195 tmp = sub(pow2_tbl[i], pow2_tbl[i + 1], pOverflow); 196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */
|
H A D | sqrt_l.cpp | 153 Word16 e, i, a, tmp; 181 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]) 182 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2 220 Word16 tmp; local 258 tmp = sub(sqrt_l_tbl[i], sqrt_l_tbl[i + 1], pOverflow); 260 L_y = L_msu(L_y, tmp, a, pOverflow); /* L_y -= tmp*a*2 */
|
H A D | syn_filt.cpp | 47 are stored in the tmp buffer. Updated copyright year. 184 Word16 tmp[80]; // This is usually done by memory allocation (lg+M) 189 yy = tmp; 211 y[i] = tmp[i + M]; 263 Word16 tmp[2*M]; /* This is usually done by memory allocation (lg+M) */ local 273 yy = tmp;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | scale_signal.cpp | 122 int16 tmp; local 141 tmp = (int16)(0x00008000 >> (16 - exp)); 146 *(pt_x) = add_int16(*(pt_x), tmp) >> exp; 148 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
|
H A D | median5.cpp | 121 int16 tmp; local 133 tmp = x1; 135 x2 = tmp; 139 tmp = x1; 141 x3 = tmp; 145 tmp = x1; 147 x4 = tmp; 155 tmp = x2; 157 x3 = tmp; 161 tmp [all...] |
H A D | voice_factor.cpp | 127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local 135 tmp = (int16)((L_tmp << exp) >> 16); 136 ener1 = mult_int16(ener1, tmp); 142 tmp = shl_int16(gain_code, exp); 143 tmp = mult_int16(tmp, tmp); 144 ener2 = mult_int16(ener2, tmp); 161 tmp = ener1 - ener2; 165 if (tmp > [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | qisf_ns.c | 42 Word32 tmp; local 49 indice[0] = Sub_VQ(&isf_q[0], dico1_isf_noise, 2, SIZE_BK_NOISE1, &tmp); 50 indice[1] = Sub_VQ(&isf_q[2], dico2_isf_noise, 3, SIZE_BK_NOISE2, &tmp); 51 indice[2] = Sub_VQ(&isf_q[5], dico3_isf_noise, 3, SIZE_BK_NOISE3, &tmp); 52 indice[3] = Sub_VQ(&isf_q[8], dico4_isf_noise, 4, SIZE_BK_NOISE4, &tmp); 53 indice[4] = Sub_VQ(&isf_q[12], dico5_isf_noise, 4, SIZE_BK_NOISE5, &tmp);
|
H A D | log2.c | 63 Word16 i, a, tmp; local 79 tmp = vo_sub(table[i], table[i + 1]); /* table[i] - table[i+1] */ 80 L_y = vo_L_msu (L_y, tmp, a); /* L_y -= tmp*a*2 */
|
H A D | deemph.c | 72 Word32 tmp; local 74 tmp = (x[i - 1] * mu)<<1; 75 L_tmp = L_add(L_tmp, tmp);
|
H A D | mem_align.c | 61 unsigned char *tmp; local 69 tmp = (unsigned char *)MemInfo.VBuffer; 71 pMemop->Set(CodecID, tmp, 0, size + alignment); 74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & 77 if (mem_ptr == tmp) 80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
|
H A D | voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 48 tmp = extract_h(L_tmp << exp); 49 ener1 = vo_mult(ener1, tmp); 59 tmp = gain_code << exp; 60 tmp = vo_mult(tmp, tmp); 61 ener2 = vo_mult(ener2, tmp); 76 tmp = vo_sub(ener1, ener2); 79 if (tmp > [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d1035pf.cpp | 134 Word16 i, j, pos1, pos2, sign, tmp; 147 tmp = index[j]; 148 i = tmp & 7; 154 i = shr (tmp, 3) & 1; 213 Word16 sign, tmp; local 226 tmp = *(index + j); 227 i = tmp & 7; 233 i = (tmp >> 3) & 1;
|
H A D | ec_gains.cpp | 271 Word16 tmp; 276 tmp = gmed_n (st->gbuf,5); 279 if (sub (tmp, st->past_gain_code) > 0) 281 tmp = st->past_gain_code; 283 tmp = mult (tmp, cdown[state]); 284 *gain_code = tmp; 329 Word16 tmp; local 334 tmp = gmed_n(st->gbuf, 5); 337 if (sub(tmp, s 590 Word16 tmp; local [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_side_info.cpp | 120 uint32 tmp; local 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); 129 si->main_data_begin = (tmp << 18) >> 23; /* 9 */ 130 si->private_bits = (tmp << 23) >> 27; /* 5 */ 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); 135 si->main_data_begin = (tmp << 20) >> 23; /* 9 */ 136 si->private_bits = (tmp << 23) >> 29; /* 3 */ 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); 143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */ 144 si->ch[ch].scfsi[1] = (tmp << 2 [all...] |
H A D | pvmp3_huffman_decoding.cpp | 263 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local 264 x += tmp >> 1; 265 if (tmp&1) 281 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local 282 y += tmp >> 1; 283 if (tmp&1)
|
H A D | pvmp3_mdct_6.cpp | 125 int32 tmp; local 135 tmp = *(pt_vec++); 138 *(pt_vec_o++) = fxp_mul32_Q29(tmp, *(pt_cos++)); 147 tmp = -(vec[0] + vec[1]); 148 history[3] = tmp; 149 history[2] = tmp; 150 tmp = -(vec[1] + vec[2]); 153 history[4] = tmp; 154 history[1] = tmp; 155 tmp [all...] |
/frameworks/ml/nn/tools/test_generator/tests/P_weird/ |
H A D | weird_add.mod.py | 6 tmp = Internal("tmp", "TENSOR_FLOAT32", "{2}") variable 10 model = model.Operation("ADD", i1, i2, b0).To(tmp) 11 model = model.Operation("ADD", tmp, i2, b0).To(tmp2)
|
/frameworks/av/media/libmedia/ |
H A D | StringArray.cpp | 47 char** tmp; local 54 tmp = new char*[mMax]; 55 if (tmp == NULL) 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); 60 mArray = tmp;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_adapt.cpp | 420 Word16 tmp; local 448 /* tmp = cbGain / onFact; onFact = 2.0; 200 Q1 = 100.0 */ 449 tmp = shr_r(gain_cod, 1, pOverflow); 451 if ((tmp > st->prev_gc) && (gain_cod > 200))
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | sad_halfpel_inline.h | 34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 36 tmp = (tmp2 >> 1) - tmp; 37 if (tmp > 0) sad += tmp; 38 else sad -= tmp; 43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 45 tmp = (tmp >> 2) - tmp2; 46 if (tmp > 54 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 58 rsbs tmp, tmp, tmp2, asr #1 ; local 59 rsbmi tmp, tmp, #0 ; local 60 add sad, sad, tmp ; local 66 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 70 rsbs tmp, tmp2, tmp, asr #2 ; local 71 rsbmi tmp, tmp, #0 ; local 72 add sad, sad, tmp ; local 81 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 101 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 51 char tmp[32]; local 52 snprintf(tmp, sizeof(tmp), "%08lx: ", (unsigned long)offset); 54 line.append(tmp); 63 snprintf(tmp, sizeof(tmp), "%02x ", data[offset + i]); 64 line.append(tmp);
|
/frameworks/av/media/libmediaextractor/ |
H A D | DataSourceBase.cpp | 55 uint32_t tmp; local 56 if (readAt(offset, &tmp, 4) != 4) { 60 *x = ntohl(tmp); 68 uint64_t tmp; local 69 if (readAt(offset, &tmp, 8) != 8) { 73 *x = ntoh64(tmp); 83 uint8_t tmp; local 84 if (readAt(offset, &tmp, 1) == 1) { 85 *x = tmp; 97 uint16_t tmp; local 111 uint32_t tmp; local [all...] |