Additional optimizations, rearrangement.
[platform/upstream/libvorbis.git] / vq / vqsplit.h
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 XIPHOPHORUS Company http://www.xiph.org/                  *
10
11  ********************************************************************
12
13  function: build a VQ codebook decision tree 
14  last mod: $Id: vqsplit.h,v 1.7 2001/02/26 03:51:13 xiphmont Exp $
15
16  ********************************************************************/
17
18 #ifndef _VQSPL_H_
19 #define _VQSPL_H_
20
21 #include "codebook.h"
22
23 extern void vqsp_book(vqgen *v,codebook *b,long *quantlist);
24 extern int vqenc_entry(codebook *b,float *val);
25 extern int lp_split(float *pointlist,long totalpoints,
26                     codebook *b,
27                     long *entryindex,long entries, 
28                     long *pointindex,long points,
29                     long *membership,long *reventry,
30                     long depth, long *pointsofar);
31
32 #endif
33
34
35
36
37