vqext.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
  5. * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH *
  6. * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
  9. * by Monty <monty@xiph.org> and the XIPHOPHORUS Company *
  10. * http://www.xiph.org/ *
  11. * *
  12. ********************************************************************
  13. function: prototypes for extermal metrics specific to data type
  14. last mod: $Id: vqext.h,v 1.10.2.1 2000/11/04 06:22:11 xiphmont Exp $
  15. ********************************************************************/
  16. #ifndef _V_VQEXT_
  17. #define _V_VQEXT_
  18. #include "vqgen.h"
  19. extern char *vqext_booktype;
  20. extern quant_meta q;
  21. extern int vqext_aux;
  22. extern float vqext_metric(vqgen *v,float *e, float *p);
  23. extern float *vqext_weight(vqgen *v,float *p);
  24. extern void vqext_addpoint_adj(vqgen *v,float *b,int start,int dim,int cols,int num);
  25. extern void vqext_preprocess(vqgen *v);
  26. extern void vqext_quantize(vqgen *v,quant_meta *);
  27. #endif