vqext.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: prototypes for extermal metrics specific to data type
  13. last mod: $Id$
  14. ********************************************************************/
  15. #ifndef _V_VQEXT_
  16. #define _V_VQEXT_
  17. #include "vqgen.h"
  18. extern char *vqext_booktype;
  19. extern quant_meta q;
  20. extern int vqext_aux;
  21. extern float vqext_metric(vqgen *v,float *e, float *p);
  22. extern float *vqext_weight(vqgen *v,float *p);
  23. extern void vqext_addpoint_adj(vqgen *v,float *b,int start,int dim,int cols,int num);
  24. extern void vqext_preprocess(vqgen *v);
  25. extern void vqext_quantize(vqgen *v,quant_meta *);
  26. #endif