VirtualBox

source: vbox/trunk/src/libs/libvorbis-1.3.7/vq/bookutil.h@ 103131

Last change on this file since 103131 was 96468, checked in by vboxsync, 2 years ago

libs/libvorbis-1.3.7: Re-exporting, hopefully this time everything is there. bugref:10275

File size: 1.7 KB
Line 
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 https://xiph.org/ *
10 * *
11 ********************************************************************
12
13 function: utility functions for loading .vqh and .vqd files
14
15 ********************************************************************/
16
17#ifndef _V_BOOKUTIL_H_
18#define _V_BOOKUTIL_H_
19
20#include <stdio.h>
21#include <sys/time.h>
22
23#include "localcodebook.h"
24
25extern char *get_line(FILE *in);
26extern char *setup_line(FILE *in);
27extern int get_line_value(FILE *in,float *value);
28extern int get_next_value(FILE *in,float *value);
29extern int get_next_ivalue(FILE *in,long *ivalue);
30extern void reset_next_value(void);
31extern int get_vector(codebook *b,FILE *in,int start,int num,float *a);
32extern char *find_seek_to(FILE *in,char *s);
33
34extern codebook *codebook_load(char *filename);
35extern void write_codebook(FILE *out,char *name,const static_codebook *c);
36
37extern void spinnit(char *s,int n);
38extern void build_tree_from_lengths(int vals, long *hist, long *lengths);
39extern void build_tree_from_lengths0(int vals, long *hist, long *lengths);
40
41#endif
42
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette