shortWindow hadn't been used for a while
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Thu, 29 Apr 2010 13:58:05 +0000 (09:58 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Sat, 8 May 2010 01:20:21 +0000 (21:20 -0400)
libcelt/dump_modes.c
libcelt/modes.c
libcelt/modes.h

index b9bcd90..688229d 100644 (file)
@@ -147,7 +147,6 @@ void dump_modes(FILE *file, CELTMode **modes, int nb_modes)
       fprintf(file, "%d,\t/* nbShortMdcts */\n", mode->nbShortMdcts);
       fprintf(file, "%d,\t/* shortMdctSize */\n", mode->shortMdctSize);
       fprintf(file, "{%d, 0, 0},\t/* shortMdct */\n", 2*mode->mdctSize);
-      fprintf(file, "window%d,\t/* shortWindow */\n", mode->overlap);
       fprintf(file, "0,\t/* prob */\n");
       fprintf(file, "logN%d_%d,\t/* logN */\n", mode->Fs, mode->mdctSize);
       fprintf(file, "0x%x,\t/* marker */\n", 0xa110ca7e);
index 9cd408a..f6d2e4e 100644 (file)
@@ -394,7 +394,7 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error)
 
    mode->shortMdctSize = mode->mdctSize/mode->nbShortMdcts;
    clt_mdct_init(&mode->shortMdct, 2*mode->shortMdctSize);
-   mode->shortWindow = mode->window;
+
    mode->prob = quant_prob_alloc(mode);
    if ((mode->mdct.trig==NULL) || (mode->shortMdct.trig==NULL)
 #ifndef ENABLE_TI_DSPLIB55
index 813732d..f47a735 100644 (file)
@@ -103,7 +103,6 @@ struct CELTMode {
    int         nbShortMdcts;
    int         shortMdctSize;
    mdct_lookup shortMdct;
-   const celt_word16 *shortWindow;
 
    int *prob;
    const celt_int16 *logN;