vqext.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
  5. * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
  6. * PLEASE READ THESE TERMS DISTRIBUTING. *
  7. * *
  8. * THE OggSQUISH 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.8.4.1 2000/04/13 04:53:04 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 double vqext_metric(vqgen *v,double *e, double *p);
  23. extern double *vqext_weight(vqgen *v,double *p);
  24. extern void vqext_addpoint_adj(vqgen *v,double *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