/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | isf_extrapolation.cpp | 119 int16 IsfDiff[M - 2]; in isf_extrapolation() 126 HfIsf[M16k - 1] = HfIsf[M - 1]; in isf_extrapolation() 129 for (i = 1; i < (M - 1); i++) in isf_extrapolation() 136 for (i = 3; i < (M - 1); i++) in isf_extrapolation() 146 for (i = 0; i < (M - 2); i++) in isf_extrapolation() 154 for (i = 0; i < (M - 2); i++) in isf_extrapolation() 159 for (i = 7; i < (M - 2); i++) in isf_extrapolation() 169 for (i = 7; i < (M - 2); i++) in isf_extrapolation() 179 for (i = 7; i < (M - 2); i++) in isf_extrapolation() 206 for (i = M - 1; i < (M16k - 1); i++) in isf_extrapolation() [all …]
|
D | e_pv_amrwbdec.h | 89 int16 ispold[M]; /* old isp (immittance spectral pairs)*/ 90 int16 isfold[M]; /* old isf (frequency domain) */ 91 int16 isf_buf[L_MEANBUF * M]; /* isf buffer(frequency domain) */ 92 int16 past_isfq[M]; /* past isf quantizer */ 97 int16 mem_syn_hi[M]; /* modified synthesis memory (MSB) */ 98 int16 mem_syn_lo[M]; /* modified synthesis memory (LSB) */ 127 int16 ScratchMem[L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1) + \ 128 (2*L_FRAME + 1) + PIT_MAX + L_INTERPOL + NB_SUBFR*(M+1) \ 129 + 3*(M+L_SUBFR) + M16k];
|
D | dtx_decoder_amr_wb.cpp | 139 pv_memcpy((void *)st->isf, (void *)isf_init, M*sizeof(*isf_init)); in dtx_dec_amr_wb_reset() 141 pv_memcpy((void *)st->isf_old, (void *)isf_init, M*sizeof(*isf_init)); in dtx_dec_amr_wb_reset() 145 pv_memcpy((void *)&st->isf_hist[i * M], (void *)isf_init, M*sizeof(*isf_init)); in dtx_dec_amr_wb_reset() 210 int32 L_isf[M], L_log_en_int, level32, ener32; in dtx_dec_amr_wb() 230 …pv_memcpy((void *)&st->isf_hist[ptr * M], (void *)&st->isf_hist[st->hist_ptr * M], M*sizeof(*st->i… in dtx_dec_amr_wb() 236 for (i = 0; i < M; i++) in dtx_dec_amr_wb() 247 for (j = 0; j < M; j++) in dtx_dec_amr_wb() 249 L_isf[j] = add_int32(L_isf[j], (int32)(st->isf_hist[i * M + j])); in dtx_dec_amr_wb() 263 for (j = 0; j < M; j++) in dtx_dec_amr_wb() 275 pv_memcpy((void *)st->isf_old, (void *)st->isf, M*sizeof(*st->isf)); in dtx_dec_amr_wb() [all …]
|
D | synthesis_amr_wb.cpp | 163 int16 *synth_lo = &ScratchMem[M + L_SUBFR]; in synthesis_amr_wb() 164 int16 *synth = &synth_lo[M + L_SUBFR]; in synthesis_amr_wb() 180 M*sizeof(*synth_hi)); in synthesis_amr_wb() 184 M*sizeof(*synth_lo)); in synthesis_amr_wb() 186 Syn_filt_32(Aq, M, exc, Q_new, synth_hi + M, synth_lo + M, L_SUBFR); in synthesis_amr_wb() 190 M*sizeof(*st->mem_syn_hi)); in synthesis_amr_wb() 194 M*sizeof(*st->mem_syn_lo)); in synthesis_amr_wb() 196 deemphasis_32(synth_hi + M, in synthesis_amr_wb() 197 synth_lo + M, in synthesis_amr_wb() 399 weight_amrwb_lpc(Aq, Ap, 19661, M); /* fac=0.6 */ in synthesis_amr_wb() [all …]
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 131 mat33& M(mMatrix); in set() local 132 M[0][0] = a; M[1][0] = b; in set() 133 M[0][1] = c; M[1][1] = d; in set() 134 M[0][2] = 0; M[1][2] = 0; in set() 155 mat33& M(H.mMatrix); in set() local 156 M[0][0] = -1; in set() 157 M[2][0] = w; in set() 163 mat33& M(V.mMatrix); in set() local 164 M[1][1] = -1; in set() 165 M[2][1] = h; in set() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SignatureTest.java | 29 …private static final Signature M = new Signature("308201D43082013CA0030201020219373565373461363A31… field in SignatureTest 35 assertTrue(Signature.areExactMatch(asArray(M), asArray(M))); in testExactlyEqual() 38 assertFalse(Signature.areExactMatch(asArray(A), asArray(M))); in testExactlyEqual() 39 assertFalse(Signature.areExactMatch(asArray(M), asArray(A))); in testExactlyEqual() 41 assertTrue(Signature.areExactMatch(asArray(A, M), asArray(M, A))); in testExactlyEqual() 46 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(M))); in testEffectiveMatch() 49 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(M))); in testEffectiveMatch() 50 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(A))); in testEffectiveMatch() 52 assertTrue(Signature.areEffectiveMatch(asArray(A, M), asArray(M, A))); in testEffectiveMatch() 53 assertTrue(Signature.areEffectiveMatch(asArray(A, B), asArray(M, B))); in testEffectiveMatch() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | dtx_dec.cpp | 98 static const Word16 lsf_hist_mean_scale[M] = 308 Copy(&st->lsf_hist[0], &st->lsf_hist[M*i], M); in dtx_dec_reset() 310 memset(st->lsf_hist_mean, 0, sizeof(Word16)*M*DTX_HIST_SIZE); in dtx_dec_reset() 859 Word16 lsp_int[M]; in dtx_dec() 863 Word16 acoeff[M + 1]; in dtx_dec() 864 Word16 refl[M]; in dtx_dec() 876 Word16 lsf_int[M]; in dtx_dec() 877 Word16 lsf_int_variab[M]; in dtx_dec() 878 Word16 lsp_int_variab[M]; in dtx_dec() 879 Word16 acoeff_variab[M + 1]; in dtx_dec() [all …]
|
D | pstfilt.cpp | 127 static const Word16 gamma3_MR122[M] = 133 static const Word16 gamma3[M] = 138 static const Word16 gamma4_MR122[M] = 144 static const Word16 gamma4[M] = 246 memset(state->mem_syn_pst, 0, sizeof(Word16)*M); in Post_Filter_reset() 248 memset(state->synth_buf, 0, sizeof(Word16)*(L_FRAME + M)); in Post_Filter_reset() 459 Word16 *syn_work = &st->synth_buf[M]; in Post_Filter() 493 Copy(Ap3, h, M + 1); in Post_Filter() 494 memset(&h[M + 1], 0, sizeof(Word16)*(L_H - M - 1)); in Post_Filter() 495 Syn_filt(Ap4, h, h, L_H, &h[M + 1], 0); in Post_Filter() [all …]
|
D | d_plsf_3.cpp | 176 Word16 lsf1_r[M]; in D_plsf_3() 177 Word16 lsf1_q[M]; in D_plsf_3() 183 for (i = 0; i < M; i++) in D_plsf_3() 208 for (i = 0; i < M; i++) in D_plsf_3() 234 for (i = 0; i < M; i++) in D_plsf_3() 357 for (i = 0; i < M; i++) in D_plsf_3() 382 for (i = 0; i < M; i++) in D_plsf_3() 407 M, in D_plsf_3() 413 M); in D_plsf_3() 420 M, in D_plsf_3() [all …]
|
D | d_plsf_5.cpp | 317 Word16 lsf1_r[M]; in D_plsf_5() 318 Word16 lsf2_r[M]; in D_plsf_5() 319 Word16 lsf1_q[M]; in D_plsf_5() 320 Word16 lsf2_q[M]; in D_plsf_5() 326 for (i = 0; i < M; i++) in D_plsf_5() 475 for (i = 0; i < M; i++) in D_plsf_5() 510 M, in D_plsf_5() 516 M, in D_plsf_5() 522 M); in D_plsf_5() 529 M, in D_plsf_5() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | cod_main.h | 41 Word16 mem_levinson[M + 2]; /* levinson routine memory */ 42 Word16 ispold[M]; /* old isp (immittance spectral pairs) */ 43 Word16 ispold_q[M]; /* quantized old isp */ 44 Word16 past_isfq[M]; /* past isf quantizer */ 48 Word16 mem_syn[M]; /* synthesis memory */ 67 Word16 isfold[M]; /* old isf (frequency domain) */ 69 Word16 mem_syn_hi[M]; /* modified synthesis memory (MSB) */ 70 Word16 mem_syn_lo[M]; /* modified synthesis memory (LSB) */ 75 Word16 mem_syn_hf[M]; /* HF synthesis memory */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | dtx_enc.cpp | 379 memcpy(&st->lsp_hist[i * M], lsp_init_data, M*sizeof(Word16)); in dtx_enc_reset() 383 memset(st->log_en_hist, 0, sizeof(Word16)*M); in dtx_enc_reset() 677 Word16 lsf[M]; in dtx_enc() 678 Word16 lsp[M]; in dtx_enc() 679 Word16 lsp_q[M]; in dtx_enc() 680 Word32 L_lsp[M]; in dtx_enc() 690 for (i = M - 1; i >= 0; i--) in dtx_enc() 708 for (j = M - 1; j >= 0; j--) in dtx_enc() 711 (Word32)(st->lsp_hist[i * M + j]), in dtx_enc() 725 for (j = M - 1; j >= 0; j--) in dtx_enc() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSGlobalInfoPass.cpp | 110 bool runOnModule(llvm::Module &M) override { in runOnModule() argument 118 const llvm::DataLayout &DL = M.getDataLayout(); in runOnModule() 126 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in runOnModule() 129 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(M.getContext()); in runOnModule() 132 llvm::Type *SizeTy = llvm::Type::getIntNTy(M.getContext(), in runOnModule() 135 for (auto &GV : M.globals()) { in runOnModule() 170 llvm::ConstantDataArray::getString(M.getContext(), GVN); in runOnModule() 173 llvm::Value *V = M.getOrInsertGlobal(VarName.str(), C->getType()); in runOnModule() 206 llvm::Value *V = M.getOrInsertGlobal(kRsGlobalEntries, Int32Ty); in runOnModule() 215 V = M.getOrInsertGlobal(kRsGlobalNames, VoidPtrArrayTy); in runOnModule() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | int_lpc.cpp | 186 Word16 lsp[M]; in Int_lpc_1and3() 194 for (i = M >> 1; i != 0; i--) in Int_lpc_1and3() 217 for (i = M >> 1; i != 0; i--) in Int_lpc_1and3() 323 Word16 lsp[M]; in Int_lpc_1and3_2() 331 for (i = M >> 1; i != 0; i--) in Int_lpc_1and3_2() 342 for (i = M >> 1; i != 0; i--) in Int_lpc_1and3_2() 446 Word16 lsp[M]; in Int_lpc_1to3() 448 for (i = 0; i < M; i++) in Int_lpc_1to3() 465 for (i = 0; i < M; i++) in Int_lpc_1to3() 479 for (i = 0; i < M; i++) in Int_lpc_1to3() [all …]
|
D | q_plsf_3.cpp | 1017 Word16 lsf1[M]; in Q_plsf_3() 1018 Word16 wf1[M]; in Q_plsf_3() 1019 Word16 lsf_p[M]; in Q_plsf_3() 1020 Word16 lsf_r1[M]; in Q_plsf_3() 1021 Word16 lsf1_q[M]; in Q_plsf_3() 1026 Word16 temp_r1[M]; in Q_plsf_3() 1027 Word16 temp_p[M]; in Q_plsf_3() 1035 M, in Q_plsf_3() 1048 for (i = 0; i < M; i++) in Q_plsf_3() 1068 for (i = 0; i < M; i++) in Q_plsf_3() [all …]
|
D | q_plsf_5.cpp | 605 Word16 lsf1[M]; in Q_plsf_5() 606 Word16 lsf2[M]; in Q_plsf_5() 607 Word16 wf1[M]; in Q_plsf_5() 608 Word16 wf2[M]; in Q_plsf_5() 609 Word16 lsf_p[M]; in Q_plsf_5() 610 Word16 lsf_r1[M]; in Q_plsf_5() 611 Word16 lsf_r2[M]; in Q_plsf_5() 612 Word16 lsf1_q[M]; in Q_plsf_5() 613 Word16 lsf2_q[M]; in Q_plsf_5() 623 Lsp_lsf(lsp1, lsf1, M, pOverflow); in Q_plsf_5() [all …]
|
D | syn_filt.cpp | 263 Word16 tmp[2*M]; /* This is usually done by memory allocation (lg+M) */ in Syn_filt() 275 memcpy(yy, mem, M*sizeof(Word16)); in Syn_filt() 277 yy = yy + M; in Syn_filt() 285 for (i = M >> 1; i != 0; i--) in Syn_filt() 293 for (j = (M >> 1) - 2; j != 0; j--) in Syn_filt() 342 p_yy1 = &y[M-1]; in Syn_filt() 344 for (i = (lg - M) >> 1; i != 0; i--) in Syn_filt() 352 for (j = (M >> 1) - 2; j != 0; j--) in Syn_filt() 397 memcpy(mem, &y[lg-M], M*sizeof(Word16)); in Syn_filt()
|
/frameworks/compile/slang/ |
D | llvm-rs-as.cpp | 65 static void stripUnknownAttributes(llvm::Module *M) { in stripUnknownAttributes() argument 66 for (llvm::Function &F : *M) in stripUnknownAttributes() 70 static void WriteOutputFile(const Module *M, uint32_t ModuleTargetAPI) { in WriteOutputFile() argument 98 slang::writeBitcode(Out->os(), *M, in WriteOutputFile() 132 std::unique_ptr<Module> M(parseAssemblyFile(InputFilename, Err, Context)); in main() local 133 if (M.get() == 0) { in main() 141 if (verifyModule(*M.get(), &stream)) { in main() 149 stripUnknownAttributes(M.get()); in main() 151 if (DumpAsm) errs() << "Here's the assembly:\n" << *M.get(); in main() 154 WriteOutputFile(M.get(), ActualTargetAPI); in main()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | dtx.c | 114 Copy(isf_init, &st->isf_hist[i * M], M); in dtx_enc_reset() 160 …Word16 isf[M], /* o : CN ISF vector … in dtx_enc() argument 169 Word32 L_isf[M], ener32, level32; in dtx_enc() 175 for (i = 0; i < M; i++) in dtx_enc() 189 for (j = 0; j < M; j++) in dtx_enc() 310 Copy(isf_new, &st->isf_hist[st->hist_ptr * M], M); in dtx_buffer() 386 Word16 isf_tmp[2 * M]; in aver_isf_history() 395 for (i = 0; i < M; i++) in aver_isf_history() 397 isf_tmp[k * M + i] = isf_old[indices[k] * M + i]; in aver_isf_history() 398 isf_old[indices[k] * M + i] = isf_old[indices[2] * M + i]; in aver_isf_history() [all …]
|
D | voAMRWBEnc.c | 52 static Word16 isp_init[M] = 58 static Word16 isf_init[M] = 87 Set_zero(cod_state->mem_syn, M); in Reset_encoder() 88 Set_zero(cod_state->past_isfq, M); in Reset_encoder() 107 Copy(isp_init, cod_state->ispold, M); in Reset_encoder() 108 Copy(isp_init, cod_state->ispold_q, M); in Reset_encoder() 127 Set_zero(cod_state->mem_syn_hf, M); in Reset_encoder() 128 Set_zero(cod_state->mem_syn_hi, M); in Reset_encoder() 129 Set_zero(cod_state->mem_syn_lo, M); in Reset_encoder() 133 Copy(isf_init, cod_state->isfold, M); in Reset_encoder() [all …]
|
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
D | bcc_strip_attr.cpp | 76 virtual bool runOnModule(Module &M) { in runOnModule() argument 78 for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { in runOnModule() 121 std::unique_ptr<Module> M(LoadFile(argv[0], InputFilenames[0], Context)); in main() local 122 if (M.get() == 0) { in main() 131 PM.run(*M.get()); in main() 141 if (verifyModule(*M)) { in main() 147 Out.os() << *M; in main() 149 WriteBitcodeToFile(M.get(), Out.os()); in main()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | fp_mad.rscript | 28 rsDebug("fp_mad4 M ops", 1000.f / time); 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); 99 // Do ~100 M ops 107 rsDebug("fp_clamp M ops", 100.f / time); [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | fp_mad.rscript | 28 rsDebug("fp_mad4 M ops", 1000.f / time); 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); 99 // Do ~100 M ops 107 rsDebug("fp_clamp M ops", 100.f / time); [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | fp_mad.rscript | 28 rsDebug("fp_mad4 M ops", 1000.f / time); 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); 99 // Do ~100 M ops 107 rsDebug("fp_clamp M ops", 100.f / time); [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | fp_mad.rscript | 28 rsDebug("fp_mad4 M ops", 1000.f / time); 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); 99 // Do ~100 M ops 107 rsDebug("fp_clamp M ops", 100.f / time); [all …]
|