Merge branch_beta3 onto the mainline.
[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 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
14  function: build a VQ codebook decision tree 
15  last mod: $Id: vqsplit.h,v 1.4 2000/11/06 00:07:26 xiphmont Exp $
16
17  ********************************************************************/
18
19 #ifndef _VQSPL_H_
20 #define _VQSPL_H_
21
22 #include "vorbis/codebook.h"
23
24 extern void vqsp_book(vqgen *v,codebook *b,long *quantlist);
25 extern int vqenc_entry(codebook *b,float *val);
26 extern int lp_split(float *pointlist,long totalpoints,
27                     codebook *b,
28                     long *entryindex,long entries, 
29                     long *pointindex,long points,
30                     long *membership,long *reventry,
31                     long depth, long *pointsofar);
32
33 #endif
34
35
36
37
38