Displaying 3 results from an estimated 3 matches for "submodeselect".
2005 Feb 27
2
SPEEX_GET_QUALITY
...=271052
I went ahead and did the following:
$ diff -u ../original/speex-1.1.6/libspeex/nb_celp.c libspeex/nb_celp.c
--- ../original/speex-1.1.6/libspeex/nb_celp.c	2004-07-15 01:16:52.000000000 -0400
+++ libspeex/nb_celp.c	2005-02-27 08:24:49.000000000 -0500
@@ -1746,6 +1746,21 @@
          st->submodeSelect = st->submodeID = ((SpeexNBMode*)(st->mode->mode))->quality_map[quality];
       }
       break;
+   case SPEEX_GET_QUALITY:
+      {
+         int quality;
+
+	 for(quality=0;quality <=10; quality++)
+	   if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map...
2005 Feb 27
0
SPEEX_GET_QUALITY
...the following:
> 
> $ diff -u ../original/speex-1.1.6/libspeex/nb_celp.c libspeex/nb_celp.c
> --- ../original/speex-1.1.6/libspeex/nb_celp.c	2004-07-15 01:16:52.000000000 -0400
> +++ libspeex/nb_celp.c	2005-02-27 08:24:49.000000000 -0500
> @@ -1746,6 +1746,21 @@
>           st->submodeSelect = st->submodeID = ((SpeexNBMode*)(st->mode->mode))->quality_map[quality];
>        }
>        break;
> +   case SPEEX_GET_QUALITY:
> +      {
> +         int quality;
> +
> +	 for(quality=0;quality <=10; quality++)
> +	   if (st->submodeID == ((SpeexNBMode*...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...;
   st->gamma1=mode->gamma1;
   st->gamma2=mode->gamma2;
   st->min_pitch=mode->pitchStart;
   st->max_pitch=mode->pitchEnd;
   st->lag_factor=mode->lag_factor;
   st->lpc_floor = mode->lpc_floor;
   st->submodes=mode->submodes;
   st->submodeID=st->submodeSelect=mode->defaultSubmode;
   st->bounded_pitch = 1;
   st->encode_submode = 1;
#ifdef EPIC_48K
   st->lbr_48k=mode->lbr48k;
#endif
   /* Allocating input buffer */
   st->inBuf = speex_alloc((st->windowSize)*sizeof(spx_sig_t));
   st->frame = st->inBuf;
   /* Allocating exc...