/frameworks/av/media/codecs/mp3dec/src/ |
D | pvmp3_mdct_18.cpp | 137 int32 tmp1; in pvmp3_mdct_18() local 154 tmp1 = *(pt_vec_o); in pvmp3_mdct_18() 156 tmp1 = fxp_mul32_Q27(tmp1, *(pt_cos_x--)); in pvmp3_mdct_18() 157 *(pt_vec++) = tmp + tmp1 ; in pvmp3_mdct_18() 158 *(pt_vec_o--) = fxp_mul32_Q28((tmp - tmp1), *(pt_cos_split++)); in pvmp3_mdct_18() 198 tmp1 = vec[i+1]; in pvmp3_mdct_18() 201 history[i ] = -(tmp2 + tmp1); in pvmp3_mdct_18() 202 tmp2 = tmp1; in pvmp3_mdct_18() 208 tmp1 = vec[7]; in pvmp3_mdct_18() 211 history[6] = -(tmp2 + tmp1); in pvmp3_mdct_18() [all …]
|
D | pvmp3_dct_16.cpp | 156 int32 tmp1; in pvmp3_dct_16() local 187 tmp1 = vec[ 1] + vec[14]; in pvmp3_dct_16() 194 itmp_e1 = (tmp1 + tmp6); in pvmp3_dct_16() 195 tmp6 = fxp_mul32_Q32((tmp1 - tmp6), Qfmt_31(0.60134488693505F)); in pvmp3_dct_16() 212 tmp1 = (tmp3 + tmp4); in pvmp3_dct_16() 217 tmp0 = (tmp7 + tmp1); in pvmp3_dct_16() 218 tmp1 = fxp_mul32_Q32((tmp7 - tmp1), Qfmt_31(0.54119610014620F)); in pvmp3_dct_16() 225 tmp0 = fxp_mul32_Q32((tmp1 - tmp3) << 1, Qfmt_31(0.70710678118655F)); in pvmp3_dct_16() 226 vec[ 4] = tmp1 + tmp3 + tmp0; in pvmp3_dct_16() 231 tmp1 = fxp_mul32_Q32((itmp_e0 - tmp4) << 1, Qfmt_31(0.54119610014620F)); in pvmp3_dct_16() [all …]
|
D | pvmp3_dct_6.cpp | 119 Int32 tmp1; in pvmp3_dct_6() local 130 tmp1 = vec[4] + vec[1]; in pvmp3_dct_6() 137 vec[4] = (vec[0] >> 1) - tmp1; in pvmp3_dct_6() 138 vec[0] += tmp1; in pvmp3_dct_6()
|
D | pvmp3_get_scale_factors.cpp | 196 int32 tmp1 = slen[(i>>1)][gr_info->scalefac_compress]; in pvmp3_get_scale_factors() local 198 if (tmp1) in pvmp3_get_scale_factors() 200 int32 tmp2 = tmp1 * tmp4; in pvmp3_get_scale_factors() 202 tmp4 = 32 - tmp1; in pvmp3_get_scale_factors() 203 for (; tmp2 > 0; tmp2 -= tmp1) in pvmp3_get_scale_factors()
|
D | pvmp3_reorder.cpp | 155 int32 tmp1 = xr[src_line]; in pvmp3_reorder() local 159 Scratch_mem[freq ] = tmp1; in pvmp3_reorder() 176 int32 tmp1 = xr[src_line]; in pvmp3_reorder() local 180 Scratch_mem[freq ] = tmp1; in pvmp3_reorder()
|
D | pvmp3_dct_9.cpp | 128 int32 tmp1 = vec[7] + vec[1]; in pvmp3_dct_9() local 135 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); in pvmp3_dct_9() 136 vec[6] = ((tmp0 + tmp2 + tmp3) >> 1) - (tmp1 + vec[4]); in pvmp3_dct_9() 137 vec[2] = (tmp1 >> 1) - vec[4]; in pvmp3_dct_9()
|
D | pvmp3_mdct_6.cpp | 126 int32 tmp1; in pvmp3_mdct_6() local 136 tmp1 = *(pt_vec++); in pvmp3_mdct_6() 139 *(pt_vec_o++) = fxp_mul32_Q29(tmp1, *(pt_cos++)); in pvmp3_mdct_6()
|
D | pvmp3_seek_synch.cpp | 212 uint16 tmp1 = *(pElem++); in pvmp3_frame_synch() local 215 val = (tmp1 << 3); in pvmp3_frame_synch()
|
/frameworks/av/media/codecs/amrnb/enc/src/ |
D | cor_h.cpp | 281 Word16 tmp1; in cor_h() local 305 tmp1 = *(p_h++); in cor_h() 306 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h() 307 tmp1 = *(p_h++); in cor_h() 308 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h() 361 tmp1 = *(p_h2++); in cor_h() 362 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h() 365 tmp1 = *(p_h2++); in cor_h() 366 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h() 395 tmp1 = (Word16)((s + 0x00004000L) >> 15); in cor_h() [all …]
|
D | calc_en.cpp | 285 Word16 tmp1; /* temporal storage */ in calc_unfilt_energies() local 306 tmp1 = res[i]; /* avoid multiple accesses to memory */ in calc_unfilt_energies() 309 … s1 = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s1); /* Compute residual energy */ in calc_unfilt_energies() 316 tmp2 = sub(tmp1, pv_round(L_temp, pOverflow), pOverflow); in calc_unfilt_energies()
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | pred_lt4.cpp | 200 int16 tmp1 = pt_exc[i ]; in Pred_lt4() local 205 L_sum1 = fxp_mac_16by16(tmp1, pt_inter4_2[i ], L_sum1); in Pred_lt4() 212 tmp1 = pt_exc[i+3]; in Pred_lt4() 215 L_sum4 = fxp_mac_16by16(tmp1, pt_inter4_2[i ], L_sum4); in Pred_lt4() 216 L_sum3 = fxp_mac_16by16(tmp1, pt_inter4_2[i+1], L_sum3); in Pred_lt4() 217 L_sum2 = fxp_mac_16by16(tmp1, pt_inter4_2[i+2], L_sum2); in Pred_lt4() 218 L_sum1 = fxp_mac_16by16(tmp1, pt_inter4_2[i+3], L_sum1); in Pred_lt4() 223 tmp1 = pt_exc[i+5]; in Pred_lt4() 226 L_sum4 = fxp_mac_16by16(tmp1, pt_inter4_2[i+2], L_sum4); in Pred_lt4() 227 L_sum3 = fxp_mac_16by16(tmp1, pt_inter4_2[i+3], L_sum3); in Pred_lt4() [all …]
|
D | oversamp_12k8_to_16k.cpp | 284 int16 tmp1, tmp2, tmp3, tmp4; in AmrWbInterpol() local 288 tmp1 = *(pt_x++); in AmrWbInterpol() 292 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), 0x00002000L); in AmrWbInterpol() 296 tmp1 = *(pt_x++); in AmrWbInterpol() 300 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), L_sum); in AmrWbInterpol() 304 tmp1 = *(pt_x++); in AmrWbInterpol() 308 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), L_sum); in AmrWbInterpol() 312 tmp1 = *(pt_x++); in AmrWbInterpol() 316 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), L_sum); in AmrWbInterpol() 320 tmp1 = *(pt_x++); in AmrWbInterpol() [all …]
|
D | low_pass_filt_7k.cpp | 173 int16 tmp1 = x[(i<<2)+j ]; in low_pass_filt_7k() local 177 L_tmp1 = fxp_mac_16by16(tmp1, fir_7k[j ], L_tmp1); in low_pass_filt_7k() 184 tmp1 = x[(i<<2)+j+3]; in low_pass_filt_7k() 187 L_tmp2 = fxp_mac_16by16(tmp1, fir_7k[j+2], L_tmp2); in low_pass_filt_7k() 188 L_tmp4 = fxp_mac_16by16(tmp1, fir_7k[j ], L_tmp4); in low_pass_filt_7k() 189 L_tmp3 = fxp_mac_16by16(tmp1, fir_7k[j+1], L_tmp3); in low_pass_filt_7k() 190 L_tmp1 = fxp_mac_16by16(tmp1, fir_7k[j+3], L_tmp1); in low_pass_filt_7k() 195 tmp1 = x[(i<<2)+j+5]; in low_pass_filt_7k() 198 L_tmp4 = fxp_mac_16by16(tmp1, fir_7k[j+2], L_tmp4); in low_pass_filt_7k() 199 L_tmp3 = fxp_mac_16by16(tmp1, fir_7k[j+3], L_tmp3); in low_pass_filt_7k()
|
D | band_pass_6k_7k.cpp | 193 int16 tmp1 = x[(i<<2)+j ]; in band_pass_6k_7k() local 197 L_tmp1 = fxp_mac_16by16(tmp1, fir_6k_7k[j ], L_tmp1); in band_pass_6k_7k() 204 tmp1 = x[(i<<2)+j+3]; in band_pass_6k_7k() 207 L_tmp2 = fxp_mac_16by16(tmp1, fir_6k_7k[j+2], L_tmp2); in band_pass_6k_7k() 208 L_tmp4 = fxp_mac_16by16(tmp1, fir_6k_7k[j ], L_tmp4); in band_pass_6k_7k() 209 L_tmp3 = fxp_mac_16by16(tmp1, fir_6k_7k[j+1], L_tmp3); in band_pass_6k_7k() 210 L_tmp1 = fxp_mac_16by16(tmp1, fir_6k_7k[j+3], L_tmp1); in band_pass_6k_7k() 215 tmp1 = x[(i<<2)+j+5]; in band_pass_6k_7k() 218 L_tmp4 = fxp_mac_16by16(tmp1, fir_6k_7k[j+2], L_tmp4); in band_pass_6k_7k() 219 L_tmp3 = fxp_mac_16by16(tmp1, fir_6k_7k[j+3], L_tmp3); in band_pass_6k_7k()
|
D | dec_gain2_amr_wb.cpp | 188 int16 tmp1, g_code; in dec_gain2_amr_wb() local 258 tmp1 = past_qua_en[2]; in dec_gain2_amr_wb() 260 L_tmp += tmp1; in dec_gain2_amr_wb() 263 tmp1 = past_qua_en[0]; in dec_gain2_amr_wb() 265 L_tmp += tmp1; in dec_gain2_amr_wb() 268 past_qua_en[1] = tmp1; in dec_gain2_amr_wb() 360 tmp1 = pbuf[1]; in dec_gain2_amr_wb() 365 pbuf[i - 1] = tmp1; in dec_gain2_amr_wb() 368 tmp1 = pbuf[i]; in dec_gain2_amr_wb()
|
/frameworks/av/media/codecs/amrnb/dec/src/ |
D | c_g_aver.cpp | 486 Word16 tmp1; in Cb_gain_average() local 516 tmp1 = abs_s(sub(*(lspAver + i), *(lsp + i), pOverflow)); in Cb_gain_average() 518 shift1 = sub(norm_s(tmp1), 1, pOverflow); /* Qn */ in Cb_gain_average() 519 tmp1 = shl(tmp1, shift1, pOverflow); /* Q15+Qn */ in Cb_gain_average() 522 tmp[i] = div_s(tmp1, tmp2); /* Q15+(Q15+Qn)-(Q15+Qm) */ in Cb_gain_average() 586 tmp1 = tmp_diff; in Cb_gain_average() 590 tmp1 = 0; in Cb_gain_average() 594 if (2048 < tmp1) in Cb_gain_average() 600 bgMix = shl(tmp1, 2, pOverflow); in Cb_gain_average()
|
D | ph_disp.cpp | 671 Word16 tmp1; in ph_disp() local 740 tmp1 = pv_round(L_temp, pOverflow); in ph_disp() 742 if (cbGain > tmp1) in ph_disp() 860 tmp1 = (Word16) L_temp; in ph_disp() 861 *(p_inno) = add(*(p_inno), tmp1, pOverflow); in ph_disp() 871 tmp1 = (Word16) L_temp; in ph_disp() 872 *(p_inno) = add(*(p_inno), tmp1, pOverflow); in ph_disp()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | bugdroid.rscript | 71 float tmp1 = dot(normal, pc); 72 tmp1 = tmp1 * tmp1; 73 float tmp2 = (sqrt(length(pc) * length(pc) - tmp1) - radius); 74 return tmp1 + tmp2 * tmp2; 86 float tmp1 = dot(normal, pc); 87 tmp1 = tmp1 * tmp1; 88 float tmp2 = (sqrt(length(pc) * length(pc) - tmp1) - radius); 90 return (tmp1 + tmp2 * tmp2); 92 return tmp1;
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 513 signed tmp1 = y1 * _y + 128; in convertCbYCrY() local 514 signed b1 = (tmp1 + u_b) / 256; in convertCbYCrY() 515 signed g1 = (tmp1 + v_g + u_g) / 256; in convertCbYCrY() 516 signed r1 = (tmp1 + v_r) / 256; in convertCbYCrY() 822 signed tmp1 = (y1 - _c16) * _y + 128; in convertYUV420Planar() local 823 signed b1 = (tmp1 + u_b) / 256; in convertYUV420Planar() 824 signed g1 = (tmp1 + v_g + u_g) / 256; in convertYUV420Planar() 825 signed r1 = (tmp1 + v_r) / 256; in convertYUV420Planar() 909 signed tmp1 = y1 * _y + 128; in convertYUVP010ToRGBA1010102() local 910 signed b1 = (tmp1 + u_b) / 256; in convertYUVP010ToRGBA1010102() [all …]
|
/frameworks/av/media/codecs/mp3dec/src/asm/ |
D | pvmp3_mdct_18_gcc.s | 60 @ tmp1 = *(pt_vec_o) 63 ldr r8,[r3],#4 @@ tmp1 == r8 66 @ tmp1 = fxp_mul32_Q27( tmp1, *(pt_cos_x--)) 77 @ *(pt_vec++) = tmp + tmp1 78 @ *(pt_vec_o--) = fxp_mul32_Q28( (tmp - tmp1), *(pt_cos_split++))
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 372 char *tmp1 = const_cast<char *>(subjectContext.c_str()); in checkSELinuxAccess() local 374 int accessGranted = selinux_check_access(tmp1, tmp2, objectClass.c_str(), permission.c_str(), in checkSELinuxAccess()
|