comparison chipsetsw/layer1/cfile/l1_init.c @ 112:ecea132f1ac3

l1_init.c: l1_dsp_init() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 08 Apr 2016 20:37:10 +0000
parents ba0b349e718e
children 50187ed1cd7d
comparison
equal deleted inserted replaced
111:ba0b349e718e 112:ecea132f1ac3
491 l1s_dsp_com.dsp_ndb_ptr->d_thr_ratscch_marker = 500; // thresh detection RATSCCH MARKER 491 l1s_dsp_com.dsp_ndb_ptr->d_thr_ratscch_marker = 500; // thresh detection RATSCCH MARKER
492 l1s_dsp_com.dsp_ndb_ptr->d_thr_sp_dgr = 3; // thresh detection SPEECH DEGRADED/NO_DATA 492 l1s_dsp_com.dsp_ndb_ptr->d_thr_sp_dgr = 3; // thresh detection SPEECH DEGRADED/NO_DATA
493 l1s_dsp_com.dsp_ndb_ptr->d_thr_soft_bits = 0; // thresh detection SPEECH DEGRADED/NO_DATA 493 l1s_dsp_com.dsp_ndb_ptr->d_thr_soft_bits = 0; // thresh detection SPEECH DEGRADED/NO_DATA
494 #endif 494 #endif
495 495
496 #if ((DSP==36 || (DSP == 37) || (DSP == 38) || (DSP == 39))&&(W_A_AMR_THRESHOLDS==1)) 496 #if ((DSP >= 36) && (AMR_THRESHOLDS_WORKAROUND == 1))
497 // init of the afs thresholds parameters 497 // init of the afs thresholds parameters
498 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[0]=0; 498 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[0]=0;
499 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[1]=0; 499 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[1]=0;
500 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[2]=0; 500 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[2]=0;
501 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[3]=0; 501 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[3]=0;
502 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[4]=0; 502 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[4]=0;
503 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[5]=0; 503 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[5]=0;
504 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[6]=0; 504 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[6]=0;
505 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[7]=1950; 505 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_afs[7]=1500;
506 506
507 // init of the ahs thresholds parameters 507 // init of the ahs thresholds parameters
508 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[0]=1500; 508 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[0]=1500;
509 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[1]=1500; 509 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[1]=1500;
510 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[2]=1500; 510 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[2]=1500;
512 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[4]=1500; 512 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[4]=1500;
513 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[5]=1500; 513 l1s_dsp_com.dsp_ndb_ptr->a_d_macc_thr_ahs[5]=1500;
514 #endif 514 #endif
515 515
516 // init of of the threshold for USF detection 516 // init of of the threshold for USF detection
517 #if (L1_FALSE_USF_DETECTION == 1) 517 #if 1 /* match TCS211 object */
518 l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 2140;
519 #elif (L1_FALSE_USF_DETECTION == 1)
518 l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 2300; 520 l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 2300;
519 #else 521 #else
520 l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 0; 522 l1s_dsp_com.dsp_ndb_ptr->d_thr_usf_detect = 0;
521 #endif 523 #endif
522 524