Lines Matching full:vqgen
14 last mod: $Id: vqgen.c 16037 2009-05-26 21:10:58Z xiphmont $
32 #include "vqgen.h"
60 float _dist(vqgen *v,float *a, float *b){
71 float *_weight_null(vqgen *v,float *a){
76 void _vqgen_seed(vqgen *v){
89 void vqgen_cellmetric(vqgen *v){
165 void vqgen_quantize(vqgen *v,quant_meta *q){
224 void vqgen_unquantize(vqgen *v,quant_meta *q){
240 void vqgen_init(vqgen *v,int elements,int aux,int entries,float mindist,
241 float (*metric)(vqgen *,float *, float *),
242 float *(*weight)(vqgen *,float *),int centroid){
243 memset(v,0,sizeof(vqgen));
270 void vqgen_addpoint(vqgen *v, float *p,float *a){
305 void vqgen_sortmesh(vqgen *v){
333 float vqgen_iterate(vqgen *v,int biasp){