zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vorbisenc.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: vorbis encode-engine setup
14  last mod: $Id: vorbisenc.h 17021 2010-03-24 09:29:41Z xiphmont $
15 
16  ********************************************************************/
17 
24 #ifndef _OV_ENC_H_
25 #define _OV_ENC_H_
26 
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif /* __cplusplus */
31 
32 #include "codec.h"
33 
61  long channels,
62  long rate,
63 
64  long max_bitrate,
65  long nominal_bitrate,
66  long min_bitrate);
67 
98  long channels,
99  long rate,
100 
101  long max_bitrate,
102  long nominal_bitrate,
103  long min_bitrate);
104 
130  long channels,
131  long rate,
132 
133  float quality
134  );
135 
159  long channels,
160  long rate,
161 
162  float base_quality
163  );
164 
193 
220 extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
221 
259 };
260 
290 };
291 
292 
303 
313 #define OV_ECTL_RATEMANAGE2_GET 0x14
314 
324 #define OV_ECTL_RATEMANAGE2_SET 0x15
325 
332 #define OV_ECTL_LOWPASS_GET 0x20
333 
340 #define OV_ECTL_LOWPASS_SET 0x21
341 
348 #define OV_ECTL_IBLOCK_GET 0x30
349 
359 #define OV_ECTL_IBLOCK_SET 0x31
360 
367 #define OV_ECTL_COUPLING_GET 0x40
368 
379 #define OV_ECTL_COUPLING_SET 0x41
380 
381  /* deprecated rate management supported only for compatibility */
382 
393 #define OV_ECTL_RATEMANAGE_GET 0x10
394 
404 #define OV_ECTL_RATEMANAGE_SET 0x11
405 
415 #define OV_ECTL_RATEMANAGE_AVG 0x12
416 
426 #define OV_ECTL_RATEMANAGE_HARD 0x13
427 
432 #ifdef __cplusplus
433 }
434 #endif /* __cplusplus */
435 
436 #endif
int vorbis_encode_setup_init(vorbis_info *vi)
Definition: vorbisenc.c:681
long bitrate_limit_reservoir_bits
Definition: vorbisenc.h:276
int vorbis_encode_setup_managed(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate)
Definition: vorbisenc.c:943
double bitrate_average_damping
Definition: vorbisenc.h:289
int vorbis_encode_init(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate)
Definition: vorbisenc.c:990
double bitrate_limit_reservoir_bias
Definition: vorbisenc.h:282
int vorbis_encode_ctl(vorbis_info *vi, int number, void *arg)
Definition: vorbisenc.c:1013
double bitrate_av_window_center
Definition: vorbisenc.h:258
int vorbis_encode_setup_vbr(vorbis_info *vi, long channels, long rate, float quality)
Definition: vorbisenc.c:902
double bitrate_hard_window
Definition: vorbisenc.h:243
int vorbis_encode_init_vbr(vorbis_info *vi, long channels, long rate, float base_quality)
Definition: vorbisenc.c:923
XVisualInfo * vi