LSP weighted quantification Note: x is modified @param x @param xs @param weight @param ws @param cdbk @param nbVec @param nbDim @return the index of the best match in the codebook (NB x is also modified).
(final float[] x,
final int xs,
final float[] weight,
final int ws,
final int[] cdbk,
final int nbVec,
final int nbDim)