vqsplit.h 1.3 KB

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