/frameworks/av/media/libstagefright/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_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_dct_6.cpp | 118 Int32 tmp1; in pvmp3_dct_6() local 129 tmp1 = vec[4] + vec[1]; in pvmp3_dct_6() 136 vec[4] = (vec[0] >> 1) - tmp1; in pvmp3_dct_6() 137 vec[0] += tmp1; in pvmp3_dct_6()
|
/frameworks/av/media/libstagefright/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 …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/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/ml/nn/runtime/test/specs/V1_2/ |
D | concat_zero_sized.mod.py | 24 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 26 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… 32 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 42 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 63 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 65 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… 71 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 82 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | resize_bilinear_v1_2.mod.py | 98 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 100 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 115 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 136 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 138 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 143 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 153 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | l2_pool_v1_2.mod.py | 62 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 64 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 69 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 90 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 92 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 97 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
|
D | max_pool_v1_2.mod.py | 118 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 120 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 125 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 135 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 156 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 158 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 163 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 173 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | avg_pool_v1_2.mod.py | 148 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 150 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 155 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 165 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 186 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 188 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 193 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 203 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | transpose_v1_2.mod.py | 55 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 57 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 63 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 73 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | transpose_conv2d.mod.py | 185 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 187 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 192 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 205 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 228 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 230 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 235 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 4, 4, 2.0, 2.0, 4, 4, layout).To(zero_sized) 247 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | fully_connected_v1_2.mod.py | 56 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 58 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 64 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 76 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
/frameworks/av/media/libstagefright/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/ml/nn/runtime/test/specs/V1_3/ |
D | resize_quant8_signed.mod.py | 98 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 100 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 115 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 136 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 138 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 143 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 153 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 346 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 348 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | transpose_quant8_signed.mod.py | 221 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 223 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 228 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 241 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 264 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 266 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 271 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 4, 4, 2.0, 2.0, 4, 4, layout).To(zero_sized) 283 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 386 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 388 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | concat_quant8_signed.mod.py | 144 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 146 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… 152 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 162 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 184 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 186 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… 192 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 203 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | slice_quant8_signed.mod.py | 47 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 51 0.3).To(o1, tmp1, o2, tmp2) 57 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, 69 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|
D | tanh_quant8_signed.mod.py | 46 tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out variable 48 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 54 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 64 tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
|