Class CodeBook

java.lang.Object
com.jcraft.jorbis.CodeBook

@Environment(CLIENT) class CodeBook extends Object
  • Field Details

    • dim

      int dim
    • entries

      int entries
    • c

    • valuelist

      float[] valuelist
    • codelist

      int[] codelist
    • decode_tree

      CodeBook.DecodeAux decode_tree
    • t

      private int[] t
  • Constructor Details

    • CodeBook

      CodeBook()
  • Method Details

    • encode

      int encode(int int2, Buffer buffer)
    • errorv

      int errorv(float[] float2)
    • encodev

      int encodev(int int2, float[] float2, Buffer buffer)
    • encodevs

      int encodevs(float[] float2, Buffer buffer, int int2, int int3)
    • decodevs_add

      int decodevs_add(float[] float2, int int2, Buffer buffer, int int3)
    • decodev_add

      int decodev_add(float[] float2, int int2, Buffer buffer, int int3)
    • decodev_set

      int decodev_set(float[] float2, int int2, Buffer buffer, int int3)
    • decodevv_add

      int decodevv_add(float[][] float2, int int2, int int3, Buffer buffer, int int4)
    • decode

      int decode(Buffer buffer)
    • decodevs

      int decodevs(float[] float2, int int2, Buffer buffer, int int3, int int4)
    • best

      int best(float[] float2, int int2)
    • besterror

      int besterror(float[] float2, int int2, int int3)
    • clear

      void clear()
    • dist

      private static float dist(int int2, float[] float2, int int3, float[] float3, int int4)
    • init_decode

      int init_decode(StaticCodeBook staticCodeBook)
    • make_words

      static int[] make_words(int[] int2, int int3)
    • make_decode_tree

      CodeBook.DecodeAux make_decode_tree()