Ejemplo n.º 1
0
        protected internal static SubMode[] BuildWbSubModes()
        {
            HighLspQuant     lspQuant    = new HighLspQuant();
            SplitShapeSearch innovation  = new SplitShapeSearch(40, 10, 4, Codebook_Constants.hexc_10_32_table, 5, 0);
            SplitShapeSearch innovation2 = new SplitShapeSearch(40, 8, 5, Codebook_Constants.hexc_table, 7, 1);

            SubMode[] array = new SubMode[8];
            array[1] = new SubMode(0, 0, 1, 0, lspQuant, null, null, 0.75f, 0.75f, -1f, 36);
            array[2] = new SubMode(0, 0, 1, 0, lspQuant, null, innovation, 0.85f, 0.6f, -1f, 112);
            array[3] = new SubMode(0, 0, 1, 0, lspQuant, null, innovation2, 0.75f, 0.7f, -1f, 192);
            array[4] = new SubMode(0, 0, 1, 1, lspQuant, null, innovation2, 0.75f, 0.75f, -1f, 352);
            return(array);
        }