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 13 function: build a VQ codebook decision tree 14 last mod: $Id: vqsplit.h 16037 2009-05-26 21:10:58Z xiphmont $ 15 16 ********************************************************************/ 17 18#ifndef _VQSPL_H_ 19#define _VQSPL_H_ 20 21#include "codebook.h" 22 23extern void vqsp_book(vqgen *v,codebook *b,long *quantlist); 24extern int vqenc_entry(codebook *b,float *val); 25extern 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 38