zenilib: zenilib/jni/external/libvorbis/vq/bookutil.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
bookutil.h
Go to the documentation of this file.
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: utility functions for loading .vqh and .vqd files
14 last mod: $Id: bookutil.h 13293 2007-07-24 00:09:47Z xiphmont $
15
16 ********************************************************************/
17
18 #ifndef _V_BOOKUTIL_H_
19 #define _V_BOOKUTIL_H_
20
21 #include <stdio.h>
22 #include <sys/time.h>
23
24 #include "localcodebook.h"
25
26 extern char *get_line(FILE *in);
27 extern char *setup_line(FILE *in);
28 extern int get_line_value(FILE *in,float *value);
29 extern int get_next_value(FILE *in,float *value);
30 extern int get_next_ivalue(FILE *in,long *ivalue);
31 extern void reset_next_value(void);
32 extern int get_vector(codebook *b,FILE *in,int start,int num,float *a);
33 extern char *find_seek_to(FILE *in,char *s);
34
35 extern codebook *codebook_load(char *filename);
36 extern void write_codebook(FILE *out,char *name,const static_codebook *c);
37
38 extern void spinnit(char *s,int n);
39 extern void build_tree_from_lengths(int vals, long *hist, long *lengths);
40 extern void build_tree_from_lengths0(int vals, long *hist, long *lengths);
41
42 #endif
43
s
GLdouble s
Definition: glew.h:1376
static_codebook
Definition: codebook.h:36
reset_next_value
void reset_next_value(void)
Definition: bookutil.c:168
start
GLuint start
Definition: glew.h:1239
n
GLclampd n
Definition: glew.h:7287
in
GLuint in
Definition: glew.h:10672
find_seek_to
char * find_seek_to(FILE *in, char *s)
Definition: bookutil.c:216
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glew.h:8736
write_codebook
void write_codebook(FILE *out, char *name, const static_codebook *c)
Definition: bookutil.c:437
name
EGLImageKHR EGLint * name
Definition: eglext.h:284
lengths
GLsizei const GLchar const GLint * lengths
Definition: glew.h:1830
get_vector
int get_vector(codebook *b, FILE *in, int start, int n, float *a)
Definition: bookutil.c:181
build_tree_from_lengths0
void build_tree_from_lengths0(int vals, long *hist, long *lengths)
Definition: bookutil.c:407
sort_controllers.filename
string filename
Definition: sort_controllers.py:8
c
const GLfloat * c
Definition: glew.h:14913
get_next_ivalue
int get_next_ivalue(FILE *in, long *ivalue)
Definition: bookutil.c:159
codebook
Definition: codebook.h:58
spinnit
void spinnit(char *s, int n)
Definition: bookutil.c:306
setup_line
char * setup_line(FILE *in)
Definition: bookutil.c:174
build_tree_from_lengths
void build_tree_from_lengths(int vals, long *hist, long *lengths)
Definition: bookutil.c:338
num
GLuint num
Definition: glew.h:2631
value
EGLSurface EGLint void ** value
Definition: eglext.h:301
get_line_value
int get_line_value(FILE *in, float *value)
Definition: bookutil.c:131
b
GLdouble GLdouble GLdouble b
Definition: glew.h:8383
get_next_value
int get_next_value(FILE *in, float *value)
Definition: bookutil.c:148
codebook_load
codebook * codebook_load(char *filename)
Definition: bookutil.c:233
localcodebook.h
get_line
char * get_line(FILE *in)
Definition: bookutil.c:85