vqsplit.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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: build a VQ codebook decision tree
  14. last mod: $Id: vqsplit.h,v 1.3.2.1 2000/11/04 06:22:11 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,float *val);
  21. extern int lp_split(float *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