unquantize() private méthode

private unquantize ( ) : float[]
Résultat float[]
Exemple #1
0
        internal void init_decode(StaticCodeBook s)
        {
            c         = s;
            entries   = s.entries;
            dim       = s.dim;
            valuelist = s.unquantize();

            decode_tree = make_decode_tree();
        }
Exemple #2
0
        internal int init_decode(StaticCodeBook s)
        {
            c         = s;
            entries   = s.entries;
            dim       = s.dim;
            valuelist = s.unquantize();

            decode_tree = make_decode_tree();
            if (decode_tree == null)
            {
                clear();
                return(-1);
            }

            return(0);
        }
Exemple #3
0
        /*
         * int init_encode(StaticCodeBook s){
         *      //memset(c,0,sizeof(codebook));
         *      c=s;
         *      entries=s.entries;
         *      dim=s.dim;
         *      codelist=make_words(s.lengthlist, s.entries);
         *      valuelist=s.unquantize();
         *      return(0);
         * }
         */

        internal int init_decode(StaticCodeBook s)
        {
            //memset(c,0,sizeof(codebook));
            c         = s;
            entries   = s.entries;
            dim       = s.dim;
            valuelist = s.unquantize();

            decode_tree = make_decode_tree();
            if (decode_tree == null)
            {
                //goto err_out;
                clear();
                return(-1);
            }
            return(0);
            //  err_out:
            //    vorbis_book_clear(c);
            //    return(-1);
        }
Exemple #4
0
        /*
          int init_encode(StaticCodeBook s){
            //memset(c,0,sizeof(codebook));
            c=s;
            entries=s.entries;
            dim=s.dim;
            codelist=make_words(s.lengthlist, s.entries);
            valuelist=s.unquantize();
            return(0);
          }
        */
        internal int init_decode(StaticCodeBook s)
        {
            //memset(c,0,sizeof(codebook));
            c=s;
            entries=s.entries;
            dim=s.dim;
            valuelist=s.unquantize();

            decode_tree=make_decode_tree();
            if(decode_tree==null)
            {
                //goto err_out;
                clear();
                return(-1);
            }
            return(0);
            //  err_out:
            //    vorbis_book_clear(c);
            //    return(-1);
        }