aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/VorbisFramework.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:46 -0500
committerJacek Antonelli2008-08-15 23:44:46 -0500
commit38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch)
treeadca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/newview/VorbisFramework.h
parentREADME.txt (diff)
downloadmeta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/newview/VorbisFramework.h')
-rw-r--r--linden/indra/newview/VorbisFramework.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/linden/indra/newview/VorbisFramework.h b/linden/indra/newview/VorbisFramework.h
new file mode 100644
index 0000000..8d4369d
--- /dev/null
+++ b/linden/indra/newview/VorbisFramework.h
@@ -0,0 +1,81 @@
1/**
2 * @file VorbisFramework.h
3 * @author Dave Camp
4 * @date Fri Oct 10 2003
5 * @brief For the Macview project
6 *
7 * Copyright (c) 2003-2007, Linden Research, Inc.
8 *
9 * The source code in this file ("Source Code") is provided by Linden Lab
10 * to you under the terms of the GNU General Public License, version 2.0
11 * ("GPL"), unless you have obtained a separate licensing agreement
12 * ("Other License"), formally executed by you and Linden Lab. Terms of
13 * the GPL can be found in doc/GPL-license.txt in this distribution, or
14 * online at http://secondlife.com/developers/opensource/gplv2
15 *
16 * There are special exceptions to the terms and conditions of the GPL as
17 * it is applied to this Source Code. View the full text of the exception
18 * in the file doc/FLOSS-exception.txt in this software distribution, or
19 * online at http://secondlife.com/developers/opensource/flossexception
20 *
21 * By copying, modifying or distributing this software, you acknowledge
22 * that you have read and understood your obligations described above,
23 * and agree to abide by those obligations.
24 *
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE.
28 */
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include "ogg/ogg.h"
35#include "vorbis/codec.h"
36#include "vorbis/vorbisenc.h"
37
38extern int mac_vorbis_analysis(vorbis_block *vb,ogg_packet *op);
39
40extern int mac_vorbis_analysis_headerout(vorbis_dsp_state *v,
41 vorbis_comment *vc,
42 ogg_packet *op,
43 ogg_packet *op_comm,
44 ogg_packet *op_code);
45
46extern int mac_vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
47
48extern int mac_vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
49
50extern int mac_vorbis_encode_setup_init(vorbis_info *vi);
51
52extern int mac_vorbis_encode_setup_managed(vorbis_info *vi,
53 long channels,
54 long rate,
55
56 long max_bitrate,
57 long nominal_bitrate,
58 long min_bitrate);
59
60extern void mac_vorbis_info_init(vorbis_info *vi);
61extern void mac_vorbis_info_clear(vorbis_info *vi);
62extern void mac_vorbis_comment_init(vorbis_comment *vc);
63extern void mac_vorbis_comment_clear(vorbis_comment *vc);
64extern int mac_vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
65extern int mac_vorbis_block_clear(vorbis_block *vb);
66extern void mac_vorbis_dsp_clear(vorbis_dsp_state *v);
67extern float **mac_vorbis_analysis_buffer(vorbis_dsp_state *v,int vals);
68extern int mac_vorbis_analysis_wrote(vorbis_dsp_state *v,int vals);
69extern int mac_vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb);
70
71extern int mac_ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op);
72extern int mac_ogg_stream_init(ogg_stream_state *os,int serialno);
73extern int mac_ogg_stream_flush(ogg_stream_state *os, ogg_page *og);
74extern int mac_ogg_stream_pageout(ogg_stream_state *os, ogg_page *og);
75extern int mac_ogg_page_eos(ogg_page *og);
76extern int mac_ogg_stream_clear(ogg_stream_state *os);
77
78
79#ifdef __cplusplus
80}
81#endif