com.jcraft.jorbis
Class CodeBook

java.lang.Object
  extended bycom.jcraft.jorbis.CodeBook

class CodeBook
extends java.lang.Object


Field Summary
(package private)  StaticCodeBook c
           
(package private)  int[] codelist
           
(package private)  DecodeAux decode_tree
           
(package private)  int dim
           
(package private)  int entries
           
private  int[] t
           
(package private)  float[] valuelist
           
 
Constructor Summary
(package private) CodeBook()
           
 
Method Summary
(package private)  int best(float[] a, int step)
           
(package private)  int besterror(float[] a, int step, int addmul)
           
(package private)  void clear()
           
(package private)  int decode(Buffer b)
           
(package private)  int decodev_add(float[] a, int offset, Buffer b, int n)
           
(package private)  int decodev_set(float[] a, int offset, Buffer b, int n)
           
(package private)  int decodevs_add(float[] a, int offset, Buffer b, int n)
           
(package private)  int decodevs(float[] a, int index, Buffer b, int step, int addmul)
           
(package private)  int decodevv_add(float[][] a, int offset, int ch, Buffer b, int n)
           
private static float dist(int el, float[] ref, int index, float[] b, int step)
           
(package private)  int encode(int a, Buffer b)
           
(package private)  int encodev(int best, float[] a, Buffer b)
           
(package private)  int encodevs(float[] a, Buffer b, int step, int addmul)
           
(package private)  int errorv(float[] a)
           
private static int ilog(int v)
           
(package private)  int init_decode(StaticCodeBook s)
           
(package private)  DecodeAux make_decode_tree()
           
(package private) static int[] make_words(int[] l, int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dim

int dim

entries

int entries

c

StaticCodeBook c

valuelist

float[] valuelist

codelist

int[] codelist

decode_tree

DecodeAux decode_tree

t

private int[] t
Constructor Detail

CodeBook

CodeBook()
Method Detail

encode

int encode(int a,
           Buffer b)

errorv

int errorv(float[] a)

encodev

int encodev(int best,
            float[] a,
            Buffer b)

encodevs

int encodevs(float[] a,
             Buffer b,
             int step,
             int addmul)

decodevs_add

int decodevs_add(float[] a,
                 int offset,
                 Buffer b,
                 int n)

decodev_add

int decodev_add(float[] a,
                int offset,
                Buffer b,
                int n)

decodev_set

int decodev_set(float[] a,
                int offset,
                Buffer b,
                int n)

decodevv_add

int decodevv_add(float[][] a,
                 int offset,
                 int ch,
                 Buffer b,
                 int n)

decode

int decode(Buffer b)

decodevs

int decodevs(float[] a,
             int index,
             Buffer b,
             int step,
             int addmul)

best

int best(float[] a,
         int step)

besterror

int besterror(float[] a,
              int step,
              int addmul)

clear

void clear()

dist

private static float dist(int el,
                          float[] ref,
                          int index,
                          float[] b,
                          int step)

init_decode

int init_decode(StaticCodeBook s)

make_words

static int[] make_words(int[] l,
                        int n)

make_decode_tree

DecodeAux make_decode_tree()

ilog

private static int ilog(int v)


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.