vqsplit.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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: build a VQ codebook decision tree
  14. last mod: $Id: vqsplit.h,v 1.1.4.1 2000/04/27 09:22:40 xiphmont Exp $
  15. ********************************************************************/
  16. #ifndef _VQSPL_H_
  17. #define _VQSPL_H_
  18. #include "vorbis/codebook.h"
  19. extern void vqsp_book(vqgen *v,codebook *b,long *quantlist);
  20. extern int vqenc_entry(codebook *b,double *val);
  21. extern int lp_split(double *pointlist,long totalpoints,
  22. codebook *b,
  23. long *entryindex,long entries,
  24. long *pointindex,long points,
  25. long *membership,long *reventry,
  26. long depth, long *pointsofar);
  27. #endif