194689a55a42b3e6954a51a97844967359fff18c
[platform/upstream/libvorbis.git] / vq / vqext.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH 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: prototypes for extermal metrics specific to data type
15  last mod: $Id: vqext.h,v 1.9 2000/05/08 20:49:51 xiphmont Exp $
16
17  ********************************************************************/
18
19 #ifndef _V_VQEXT_
20 #define _V_VQEXT_
21
22 #include "vqgen.h"
23
24 extern char *vqext_booktype;
25 extern quant_meta q;
26 extern int vqext_aux;
27
28 extern double vqext_metric(vqgen *v,double *e, double *p);
29 extern double *vqext_weight(vqgen *v,double *p);
30 extern void vqext_addpoint_adj(vqgen *v,double *b,int start,int dim,int cols,int num);
31 extern void vqext_preprocess(vqgen *v);
32 extern void vqext_quantize(vqgen *v,quant_meta *);
33
34
35 #endif