45 float *(*weight_func) (
struct vqgen *
v,
float *point);
70 int elements,
int aux,
int entries,
float mindist,
71 float (*metric)(
vqgen *,
float *,
float *),
void vqgen_unquantize(vqgen *v, quant_meta *q)
static float * _aux(vqgen *v, long ptr)
GLuint GLuint GLfloat weight
void vqgen_quantize(vqgen *v, quant_meta *q)
void vqgen_init(vqgen *v, int elements, int aux, int entries, float mindist, float(*metric)(vqgen *, float *, float *), float *(*weight)(vqgen *, float *), int centroid)
float(* metric_func)(struct vqgen *v, float *entry, float *point)
float vqgen_iterate(vqgen *v, int biasp)
void vqgen_addpoint(vqgen *v, float *p, float *a)
GLdouble GLdouble GLdouble GLdouble q
void vqgen_cellmetric(vqgen *v)
static float * _point(vqgen *v, long ptr)
static float * _now(vqgen *v, long ptr)