[xiph-cvs] cvs commit: vorbis/lib/modes mode_22c_Z.h mode_32c_Z.h mode_44_A.h mode_44_B.h mode_44_C.h mode_44_X.h mode_44_Y.h mode_44_Z.h mode_44c_C.h mode_44c_D.h modes.h mode_A.h mode_AA.h mode_B.h mode_C.h mode_D.h mode_E.h mode_Za.h mode_Zb.h mode_Zc.h
Monty
xiphmont at xiph.org
Mon Aug 13 04:31:02 PDT 2001
xiphmont 01/08/13 04:31:01
Modified: lib/modes mode_44c_C.h mode_44c_D.h modes.h
Added: lib/modes mode_22c_Z.h mode_32c_Z.h mode_44_A.h mode_44_B.h
mode_44_C.h mode_44_X.h mode_44_Y.h mode_44_Z.h
Removed: lib/modes mode_A.h mode_AA.h mode_B.h mode_C.h mode_D.h
mode_E.h mode_Za.h mode_Zb.h mode_Zc.h
Log:
mono modes
Revision Changes Path
1.3 +2 -2 vorbis/lib/modes/mode_44c_C.h
Index: mode_44c_C.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/mode_44c_C.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mode_44c_C.h 2001/08/13 08:38:30 1.2
+++ mode_44c_C.h 2001/08/13 11:30:59 1.3
@@ -11,7 +11,7 @@
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
- last mod: $Id: mode_44c_C.h,v 1.2 2001/08/13 08:38:30 xiphmont Exp $
+ last mod: $Id: mode_44c_C.h,v 1.3 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
@@ -154,7 +154,7 @@
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
- { 0, 0, 0, 0, 0, 0, 0, 0, -6, -6, -6, -6, 0, 0, 0, 0, 0},
+ {-30,-30,-30,-30,-30,-30,-30,-20, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.6f,.7f,.7f},
105.f, /* even decade + 5 is important; saves an rint() later in a
1.2 +2 -2 vorbis/lib/modes/mode_44c_D.h
Index: mode_44c_D.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/mode_44c_D.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mode_44c_D.h 2001/08/13 08:38:30 1.1
+++ mode_44c_D.h 2001/08/13 11:30:59 1.2
@@ -11,7 +11,7 @@
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
- last mod: $Id: mode_44c_D.h,v 1.1 2001/08/13 08:38:30 xiphmont Exp $
+ last mod: $Id: mode_44c_D.h,v 1.2 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
@@ -146,7 +146,7 @@
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
- { 0, 0, 0, 0, 0, 0, 0, -3,-10,-10,-12,-12, -6, -3, -2, -1, -0},
+ {-30,-30,-30,-30,-30,-30,-20, -3,-10,-10,-12,-12, -6, -3, -2, -1, -0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.6f,.7f,.7f},
105.f, /* even decade + 5 is important; saves an rint() later in a
1.13 +10 -1 vorbis/lib/modes/modes.h
Index: modes.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/modes.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- modes.h 2001/08/13 08:38:30 1.12
+++ modes.h 2001/08/13 11:30:59 1.13
@@ -11,7 +11,7 @@
********************************************************************
function: predefined encoding modes
- last mod: $Id: modes.h,v 1.12 2001/08/13 08:38:30 xiphmont Exp $
+ last mod: $Id: modes.h,v 1.13 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
@@ -19,6 +19,7 @@
#define _V_MODES_H_
#include "masking.h"
+/* stereo (coupled) */
#include "modes/mode_44c_Z.h"
#include "modes/mode_44c_Y.h"
#include "modes/mode_44c_X.h"
@@ -27,5 +28,13 @@
#include "modes/mode_44c_C.h"
#include "modes/mode_44c_D.h"
#include "modes/mode_44c_E.h"
+
+/* mono/dual/multi */
+#include "modes/mode_44_Z.h"
+#include "modes/mode_44_Y.h"
+#include "modes/mode_44_X.h"
+#include "modes/mode_44_A.h"
+#include "modes/mode_44_B.h"
+#include "modes/mode_44_C.h"
#endif
1.1 vorbis/lib/modes/mode_22c_Z.h
Index: mode_22c_Z.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 22kHz stereo ~32kbps true VBR
last mod: $Id: mode_22c_Z.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_22c_Z_H_
#define _V_MODES_22c_Z_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_22c_Z_128aux.vqh"
#include "books/res_22c_Z_1024aux.vqh"
#include "books/res_Zc_1.vqh"
#include "books/res_Zc_2.vqh"
#include "books/res_Zc_3.vqh"
#include "books/res_Zc_4.vqh"
#include "books/res_Zc_5.vqh"
#include "books/res_Zc_6.vqh"
#include "books/res_Zc_7.vqh"
#include "books/res_Zc_8.vqh"
#include "books/res_Zc_9.vqh"
#include "books/res_Zc_9a.vqh"
#include "books/res_Zc_9b.vqh"
#include "maskadj_Z.h"
tatic vorbis_info_psy_global _psy_set_22c_ZG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_22c_Z0[]={
{1.f,1.f,
{{48, 0,0, 0,0, 0,0},
{9999, 0,0, 7.5f,12, 7.5f,0}}
},
};
tatic vp_couple_pass _psy_pass_22c_Z[]={
{1.f,1.f,
{{384, 0,0, 0,0, 0,0},
{9999, 0,0, 7.5f,12, 7.5f,0}}
}
};
tatic vorbis_info_psy _psy_set_22c_Z0={
ATH_Bark_dB_lineaggressive,
-90.,-110.,
/* tonemaskp */
-99.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
0, 0, &_vp_peakatt_Z,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -26,-25,-25,-25,-25,-25, -26,-27,-20,-20},
//{-20,-20,-20,-20,-20,-10,-10, -5, 3, 3, 5, 5, 5, 6, 7, 10, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_22c_Z0
};
tatic vorbis_info_psy _psy_set_22c_ZT={
ATH_Bark_dB_lineaggressive,
-90.f,-110.f,
/* tonemask */
-99.f,-20.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
0, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -26,-25,-25,-25,-25,-25, -26,-27,-20,-20},
//{-20,-20,-20,-20,-20,-10,-10, -6, 5, 5, 5, 5, 5, 6, 7, 10, 10},
//{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.8f,.8f,.8f,.8f,.8f,.8f,.88f,.89f,.9f,.9f},
//{-20,-20,-20,-20,-20,-20,-20,-6, -3, -3, 0, 0, 0, 3, 5, 10, 10},
//{-20,-20,-15,-15,-15,-15,-10,-3, -3, 0, 0, 0, 2, 4, 6, 10, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_22c_Z
};
tatic vorbis_info_psy _psy_set_22c_Z={
ATH_Bark_dB_lineaggressive,
-90.f, -110.f,
/* tonemask */
3.f,-20.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
4,4,60,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-15,-15,-15,-15,-10, 3, 3, 3, 3, 3, 3, 4, 4, 10, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f,1.f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_22c_Z
};
tatic vorbis_info_time0 _time_set_22c_Z={0};
tatic vorbis_info_floor1 _floor_set_22c_Z0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
128};
tatic vorbis_info_floor1 _floor_set_22c_Z={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
1024};
tatic vorbis_info_residue0 _residue_set_22c_Z0={
0,256, 16, 10,23,
{0,1,1,1,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33,34,35},
{9999, 9999, 9999, 9999, 2,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 8, 8, 8, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_22c_Z={
0,2048, 32, 10,24,
{0,1,1,1,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33,34,35},
{9999, 9999, 9999, 9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 24, 24, 24, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_22c_Z0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}};
static vorbis_info_mapping0 _mapping_set_22c_Z={
1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}};
tatic vorbis_info_mode _mode_set_22c_Z0={0,0,0,0};
static vorbis_info_mode _mode_set_22c_Z={1,0,0,1};
codec_setup_info info_22c_Z={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 36, 3,
/* modes */
{&_mode_set_22c_Z0,&_mode_set_22c_Z},
/* maps */
{0,0},{&_mapping_set_22c_Z0,&_mapping_set_22c_Z},
/* times */
{0,0},{&_time_set_22c_Z},
/* floors */
{1,1},{&_floor_set_22c_Z0,&_floor_set_22c_Z},
/* residue */
{2,2},{&_residue_set_22c_Z0,&_residue_set_22c_Z},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_22c_Z_128aux,
&_huff_book_res_22c_Z_1024aux,
&_vq_book_res_Zc_1,
&_vq_book_res_Zc_2,
&_vq_book_res_Zc_3,
&_vq_book_res_Zc_4,
&_vq_book_res_Zc_5,
&_vq_book_res_Zc_6,
&_vq_book_res_Zc_7,
&_vq_book_res_Zc_8,
&_vq_book_res_Zc_9,
&_vq_book_res_Zc_9a,
&_vq_book_res_Zc_9b,
},
/* psy */
{&_psy_set_22c_Z0,&_psy_set_22c_ZT,&_psy_set_22c_Z},
&_psy_set_22c_ZG
};
#endif
1.1 vorbis/lib/modes/mode_32c_Z.h
Index: mode_32c_Z.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 32kHz stereo ~48kbps true VBR
last mod: $Id: mode_32c_Z.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_32c_Z_H_
#define _V_MODES_32c_Z_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_32c_Z_128aux.vqh"
#include "books/res_32c_Z_1024aux.vqh"
#include "books/res_Zc_1.vqh"
#include "books/res_Zc_2.vqh"
#include "books/res_Zc_3.vqh"
#include "books/res_Zc_4.vqh"
#include "books/res_Zc_5.vqh"
#include "books/res_Zc_6.vqh"
#include "books/res_Zc_7.vqh"
#include "books/res_Zc_8.vqh"
#include "books/res_Zc_9.vqh"
#include "books/res_Zc_9a.vqh"
#include "books/res_Zc_9b.vqh"
#include "maskadj_Z.h"
tatic vorbis_info_psy_global _psy_set_32c_ZG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_32c_Z0[]={
{1.f,1.f,
{{24, 0,0, 0,0, 0,0},
{9999, 0,0, 7.5f,12, 7.5f,0}}
},
};
tatic vp_couple_pass _psy_pass_32c_Z[]={
{1.f,1.f,
{{288, 0,0, 0,0, 0,0},
{9999, 0,0, 7.5f,12, 7.5f,0}}
}
};
tatic vorbis_info_psy _psy_set_32c_Z0={
ATH_Bark_dB_lineaggressive,
-90.,-110.,
/* tonemaskp */
3.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10, -5, 3, 3, 4, 4, 4, 4, 4, 4, 8},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_32c_Z0
};
tatic vorbis_info_psy _psy_set_32c_ZT={
ATH_Bark_dB_lineaggressive,
-90.f,-110.f,
/* tonemask */
3.f,-20.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -6, 3, 3, 4, 5, 5, 5, 5, 6, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_32c_Z
};
tatic vorbis_info_psy _psy_set_32c_Z={
ATH_Bark_dB_lineaggressive,
-90.f, -110.f,
/* tonemask */
3.f,-20.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10,-6, 3, 3, 4, 5, 5, 5, 5, 6, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.8f,.85f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_32c_Z
};
tatic vorbis_info_time0 _time_set_32c_Z={0};
tatic vorbis_info_floor1 _floor_set_32c_Z0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
108};
tatic vorbis_info_floor1 _floor_set_32c_Z={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
864};
tatic vorbis_info_residue0 _residue_set_32c_Z0={
0,216, 12, 10,23,
{0,1,1,1,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33,34,35},
{9999, 9999, 9999, 9999, 2,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 4, 4, 4, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_32c_Z={
0,1728, 32, 10,24,
{0,1,1,1,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33,34,35},
{9999, 9999, 9999, 9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5f, 7.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 18, 18, 18, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_32c_Z0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}};
static vorbis_info_mapping0 _mapping_set_32c_Z={
1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}};
tatic vorbis_info_mode _mode_set_32c_Z0={0,0,0,0};
static vorbis_info_mode _mode_set_32c_Z={1,0,0,1};
codec_setup_info info_32c_Z={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 36, 3,
/* modes */
{&_mode_set_32c_Z0,&_mode_set_32c_Z},
/* maps */
{0,0},{&_mapping_set_32c_Z0,&_mapping_set_32c_Z},
/* times */
{0,0},{&_time_set_32c_Z},
/* floors */
{1,1},{&_floor_set_32c_Z0,&_floor_set_32c_Z},
/* residue */
{2,2},{&_residue_set_32c_Z0,&_residue_set_32c_Z},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_32c_Z_128aux,
&_huff_book_res_32c_Z_1024aux,
&_vq_book_res_Zc_1,
&_vq_book_res_Zc_2,
&_vq_book_res_Zc_3,
&_vq_book_res_Zc_4,
&_vq_book_res_Zc_5,
&_vq_book_res_Zc_6,
&_vq_book_res_Zc_7,
&_vq_book_res_Zc_8,
&_vq_book_res_Zc_9,
&_vq_book_res_Zc_9a,
&_vq_book_res_Zc_9b,
},
/* psy */
{&_psy_set_32c_Z0,&_psy_set_32c_ZT,&_psy_set_32c_Z},
&_psy_set_32c_ZG
};
#endif
1.1 vorbis/lib/modes/mode_44_A.h
Index: mode_44_A.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_A.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_A_H_
#define _V_MODES_44_A_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_Y_128aux.vqh"
#include "books/res_44_Y_1024aux.vqh"
#include "books/res_Z_1.vqh"
#include "books/res_Z_2.vqh"
#include "books/res_Z_3.vqh"
#include "books/res_Z_4.vqh"
#include "books/res_Z_5.vqh"
#include "books/res_Z_6.vqh"
#include "books/res_Z_6a.vqh"
#include "books/res_Z_6b.vqh"
#include "maskadj_A.h"
tatic vorbis_info_psy_global _psy_set_44_AG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_A[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_A0={
ATH_Bark_dB_lineaggressive,
-100.,-140.,
/* tonemaskp */
0.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
1, 4, &_vp_peakatt_A,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-20,-10, 0, 0, 0, 0, 0, 1, 1, 2, 3},
{.9f,.9f,.9f,.9f,.9f,.8f,.8f,.6f,.6f,.6f,.6f,.6f,.7f,.8f,.89f,.9f,.9f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_A
};
tatic vorbis_info_psy _psy_set_44_AT={
ATH_Bark_dB_lineaggressive,
-100.f,-140.f,
/* tonemask */
0.f,-24.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
1, 4, &_vp_peakatt_A,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-30,-20, 0, 0, 0, 0, 0, 0, 0, 1, 2},
{.7f,.7f,.7f,.7f,.7f,.6f,.5f,.5f,.5f,.5f,.5f,.5f,.7f,.75f,.8f,.8f,.85f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_A
};
tatic vorbis_info_psy _psy_set_44_A={
ATH_Bark_dB_lineaggressive,
-100.f, -140.f,
/* tonemask */
0.f,-24.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 4, &_vp_peakatt_A,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2},
{.6f,.6f,.6f,.6f,.6f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.7f,.75f,.8f,.8f,.85f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_A
};
tatic vorbis_info_time0 _time_set_44_A={0};
tatic vorbis_info_floor1 _floor_set_44_A0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
120};
tatic vorbis_info_floor1 _floor_set_44_A={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
960};
tatic vorbis_info_residue0 _residue_set_44_A0={
0,120, 12, 7,23,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_A={
0,960, 32, 7,24,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 4,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_A0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_A={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_A0={0,0,0,0};
static vorbis_info_mode _mode_set_44_A={1,0,0,1};
codec_setup_info info_44_A={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 33, 3,
/* modes */
{&_mode_set_44_A0,&_mode_set_44_A},
/* maps */
{0,0},{&_mapping_set_44_A0,&_mapping_set_44_A},
/* times */
{0,0},{&_time_set_44_A},
/* floors */
{1,1},{&_floor_set_44_A0,&_floor_set_44_A},
/* residue */
{0,0},{&_residue_set_44_A0,&_residue_set_44_A},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_Y_128aux,
&_huff_book_res_44_Y_1024aux,
&_vq_book_res_Z_1,
&_vq_book_res_Z_2,
&_vq_book_res_Z_3,
&_vq_book_res_Z_4,
&_vq_book_res_Z_5,
&_vq_book_res_Z_6,
&_vq_book_res_Z_6a,
&_vq_book_res_Z_6b,
},
/* psy */
{&_psy_set_44_A0,&_psy_set_44_AT,&_psy_set_44_A},
&_psy_set_44_AG
};
#endif
1.1 vorbis/lib/modes/mode_44_B.h
Index: mode_44_B.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_B.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_B_H_
#define _V_MODES_44_B_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_B_128aux.vqh"
#include "books/res_44_B_1024aux.vqh"
#include "books/res_B_1.vqh"
#include "books/res_B_2.vqh"
#include "books/res_B_3.vqh"
#include "books/res_B_4.vqh"
#include "books/res_B_5.vqh"
#include "books/res_B_5a.vqh"
#include "books/res_B_6.vqh"
#include "books/res_B_6a.vqh"
#include "books/res_B_6b.vqh"
#include "maskadj_A.h"
tatic vorbis_info_psy_global _psy_set_44_BG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_B[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_B0={
ATH_Bark_dB_lineconservative,
-110.,-140.,
/* tonemaskp */
-3.f, -30.f,&_vp_tonemask_consbass_A,
/* peakattp, curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1,-30.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-20,-10, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.5f,.6f,.7f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_B
};
tatic vorbis_info_psy _psy_set_44_BT={
ATH_Bark_dB_lineconservative,
-110.f,-140.f,
/* tonemask */
-3.f,-30.f,&_vp_tonemask_consbass_A,
/* peakattp,curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1, -30.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-30,-20, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.6f,.7f,.7f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_B
};
tatic vorbis_info_psy _psy_set_44_B={
ATH_Bark_dB_lineconservative,
-110.f, -140.f,
/* tonemask */
-3.f,-30.f,&_vp_tonemask_A,
/* peakattp, curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1, -30.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-30,-20, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.6f,.7f,.7f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_B
};
tatic vorbis_info_time0 _time_set_44_B={0};
tatic vorbis_info_floor1 _floor_set_44_B0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
128};
tatic vorbis_info_floor1 _floor_set_44_B={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
1024};
tatic vorbis_info_residue0 _residue_set_44_B0={
0,128, 16, 7,23,
{0,1,1,1,1,3,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33},
{9999, 9999 ,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5, 4.5, 16.5, 84.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_B={
0,1024, 32, 7,24,
{0,1,1,1,1,3,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33},
{9999, 9999 ,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5, 4.5, 16.5, 84.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_B0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_B={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_B0={0,0,0,0};
static vorbis_info_mode _mode_set_44_B={1,0,0,1};
codec_setup_info info_44_B={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 34, 3,
/* modes */
{&_mode_set_44_B0,&_mode_set_44_B},
/* maps */
{0,0},{&_mapping_set_44_B0,&_mapping_set_44_B},
/* times */
{0,0},{&_time_set_44_B},
/* floors */
{1,1},{&_floor_set_44_B0,&_floor_set_44_B},
/* residue */
{0,0},{&_residue_set_44_B0,&_residue_set_44_B},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_B_128aux,
&_huff_book_res_44_B_1024aux,
&_vq_book_res_B_1,
&_vq_book_res_B_2,
&_vq_book_res_B_3,
&_vq_book_res_B_4,
&_vq_book_res_B_5,
&_vq_book_res_B_5a,
&_vq_book_res_B_6,
&_vq_book_res_B_6a,
&_vq_book_res_B_6b,
},
/* psy */
{&_psy_set_44_B0,&_psy_set_44_BT,&_psy_set_44_B},
&_psy_set_44_BG
};
#endif
1.1 vorbis/lib/modes/mode_44_C.h
Index: mode_44_C.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_C.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_C_H_
#define _V_MODES_44_C_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_B_128aux.vqh"
#include "books/res_44_B_1024aux.vqh"
#include "books/res_B_1.vqh"
#include "books/res_B_2.vqh"
#include "books/res_B_3.vqh"
#include "books/res_B_4.vqh"
#include "books/res_B_5.vqh"
#include "books/res_B_5a.vqh"
#include "books/res_B_6.vqh"
#include "books/res_B_6a.vqh"
#include "books/res_B_6b.vqh"
#include "maskadj_A.h"
tatic vorbis_info_psy_global _psy_set_44_CG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_C[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_C0={
ATH_Bark_dB_lineconservative,
-110.,-140.,
/* tonemaskp */
-3.f, -40.f,&_vp_tonemask_E,
/* peakattp, curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1,-40.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-20,-10, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.6f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_C
};
tatic vorbis_info_psy _psy_set_44_CT={
ATH_Bark_dB_lineconservative,
-110.f,-140.f,
/* tonemask */
-3.f,-40.f,&_vp_tonemask_E,
/* peakattp,curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1, -40.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-30,-20, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.5f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_C
};
tatic vorbis_info_psy _psy_set_44_C={
ATH_Bark_dB_lineconservative,
-110.f, -140.f,
/* tonemask */
-3.f,-40.f,&_vp_tonemask_E,
/* peakattp, curvelimitp */
1, 30, &_vp_peakatt_D,
/*noisemaskp */
1, -40.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-30,-20, -6, -6, -6, -6, 0, 0, 0, 0, 0},
{.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.4f,.5f,.5f},
105.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_C
};
tatic vorbis_info_time0 _time_set_44_C={0};
tatic vorbis_info_floor1 _floor_set_44_C0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
128};
tatic vorbis_info_floor1 _floor_set_44_C={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
1024};
tatic vorbis_info_residue0 _residue_set_44_C0={
0,128, 16, 7,23,
{0,1,1,1,1,3,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33},
{9999, 9999 ,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5, 4.5, 16.5, 84.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_C={
0,1024, 32, 7,24,
{0,1,1,1,1,3,7},
{25, 26, 27, 28, 29, 30, 31, 32, 33},
{9999, 9999 ,9999, 9999, 9999, 9999, 9999},
{.5, 1.5, 2.5, 4.5, 16.5, 84.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_C0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_C={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_C0={0,0,0,0};
static vorbis_info_mode _mode_set_44_C={1,0,0,1};
codec_setup_info info_44_C={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 34, 3,
/* modes */
{&_mode_set_44_C0,&_mode_set_44_C},
/* maps */
{0,0},{&_mapping_set_44_C0,&_mapping_set_44_C},
/* times */
{0,0},{&_time_set_44_C},
/* floors */
{1,1},{&_floor_set_44_C0,&_floor_set_44_C},
/* residue */
{0,0},{&_residue_set_44_C0,&_residue_set_44_C},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_B_128aux,
&_huff_book_res_44_B_1024aux,
&_vq_book_res_B_1,
&_vq_book_res_B_2,
&_vq_book_res_B_3,
&_vq_book_res_B_4,
&_vq_book_res_B_5,
&_vq_book_res_B_5a,
&_vq_book_res_B_6,
&_vq_book_res_B_6a,
&_vq_book_res_B_6b,
},
/* psy */
{&_psy_set_44_C0,&_psy_set_44_CT,&_psy_set_44_C},
&_psy_set_44_CG
};
#endif
1.1 vorbis/lib/modes/mode_44_X.h
Index: mode_44_X.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_X.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_X_H_
#define _V_MODES_44_X_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_Y_128aux.vqh"
#include "books/res_44_Y_1024aux.vqh"
#include "books/res_Z_1.vqh"
#include "books/res_Z_2.vqh"
#include "books/res_Z_3.vqh"
#include "books/res_Z_4.vqh"
#include "books/res_Z_5.vqh"
#include "books/res_Z_6.vqh"
#include "books/res_Z_6a.vqh"
#include "books/res_Z_6b.vqh"
#include "maskadj_Z.h"
tatic vorbis_info_psy_global _psy_set_44_XG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_X[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_X0={
ATH_Bark_dB_lineaggressive,
-100.,-120.,
/* tonemaskp */
0.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_X,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-30,-30,-30,-30,-30,-30,-15, -15, 0, 0, 0, 0, 0, 0, 1, 2, 3},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.75f,.8f,.8f,.85f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_X
};
tatic vorbis_info_psy _psy_set_44_XT={
ATH_Bark_dB_lineaggressive,
-100.f,-120.f,
/* tonemask */
0.f,-20.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
1, 0, &_vp_peakatt_X,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -6, -3, 0, 0, 0, 0, 0, 0, 0, 0},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.75f,.8f,.8f,.85f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_X
};
tatic vorbis_info_psy _psy_set_44_X={
ATH_Bark_dB_lineaggressive,
-100.f, -120.f,
/* tonemask */
0.f,-20.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_X,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10,-6, -3, 0, 0, 0, 0, 0, 0, 0, 0},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.75f,.8f,.8f,.85f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_X
};
tatic vorbis_info_time0 _time_set_44_X={0};
tatic vorbis_info_floor1 _floor_set_44_X0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
96};
tatic vorbis_info_floor1 _floor_set_44_X={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
768};
tatic vorbis_info_residue0 _residue_set_44_X0={
0,96, 12, 7,23,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_X={
0,768, 32, 7,24,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 4,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_X0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_X={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_X0={0,0,0,0};
static vorbis_info_mode _mode_set_44_X={1,0,0,1};
codec_setup_info info_44_X={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 33, 3,
/* modes */
{&_mode_set_44_X0,&_mode_set_44_X},
/* maps */
{0,0},{&_mapping_set_44_X0,&_mapping_set_44_X},
/* times */
{0,0},{&_time_set_44_X},
/* floors */
{1,1},{&_floor_set_44_X0,&_floor_set_44_X},
/* residue */
{0,0},{&_residue_set_44_X0,&_residue_set_44_X},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_Y_128aux,
&_huff_book_res_44_Y_1024aux,
&_vq_book_res_Z_1,
&_vq_book_res_Z_2,
&_vq_book_res_Z_3,
&_vq_book_res_Z_4,
&_vq_book_res_Z_5,
&_vq_book_res_Z_6,
&_vq_book_res_Z_6a,
&_vq_book_res_Z_6b,
},
/* psy */
{&_psy_set_44_X0,&_psy_set_44_XT,&_psy_set_44_X},
&_psy_set_44_XG
};
#endif
1.1 vorbis/lib/modes/mode_44_Y.h
Index: mode_44_Y.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_Y.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_Y_H_
#define _V_MODES_44_Y_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_Y_128aux.vqh"
#include "books/res_44_Y_1024aux.vqh"
#include "books/res_Z_1.vqh"
#include "books/res_Z_2.vqh"
#include "books/res_Z_3.vqh"
#include "books/res_Z_4.vqh"
#include "books/res_Z_5.vqh"
#include "books/res_Z_6.vqh"
#include "books/res_Z_6a.vqh"
#include "books/res_Z_6b.vqh"
#include "maskadj_Z.h"
tatic vorbis_info_psy_global _psy_set_44_YG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_Y[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_Y0={
ATH_Bark_dB_lineaggressive,
-100.,-110.,
/* tonemaskp */
0.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10, -5, 0, 0, 1, 1, 2, 2, 2, 2, 4},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_Y
};
tatic vorbis_info_psy _psy_set_44_YT={
ATH_Bark_dB_lineaggressive,
-100.f,-110.f,
/* tonemask */
0.f,-20.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -6, 2, 2, 2, 2, 3, 3, 3, 4, 6},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_Y
};
tatic vorbis_info_psy _psy_set_44_Y={
ATH_Bark_dB_lineaggressive,
-100.f, -110.f,
/* tonemask */
0.f,-20.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10,-6, 0, 0, 1, 1, 2, 2, 2, 2, 6},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.8f,.85f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_Y
};
tatic vorbis_info_time0 _time_set_44_Y={0};
tatic vorbis_info_floor1 _floor_set_44_Y0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
96};
tatic vorbis_info_floor1 _floor_set_44_Y={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
768};
tatic vorbis_info_residue0 _residue_set_44_Y0={
0,96, 12, 7,23,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_Y={
0,768, 32, 7,24,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 4,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_Y0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_Y={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_Y0={0,0,0,0};
static vorbis_info_mode _mode_set_44_Y={1,0,0,1};
codec_setup_info info_44_Y={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 33, 3,
/* modes */
{&_mode_set_44_Y0,&_mode_set_44_Y},
/* maps */
{0,0},{&_mapping_set_44_Y0,&_mapping_set_44_Y},
/* times */
{0,0},{&_time_set_44_Y},
/* floors */
{1,1},{&_floor_set_44_Y0,&_floor_set_44_Y},
/* residue */
{0,0},{&_residue_set_44_Y0,&_residue_set_44_Y},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_Y_128aux,
&_huff_book_res_44_Y_1024aux,
&_vq_book_res_Z_1,
&_vq_book_res_Z_2,
&_vq_book_res_Z_3,
&_vq_book_res_Z_4,
&_vq_book_res_Z_5,
&_vq_book_res_Z_6,
&_vq_book_res_Z_6a,
&_vq_book_res_Z_6b,
},
/* psy */
{&_psy_set_44_Y0,&_psy_set_44_YT,&_psy_set_44_Y},
&_psy_set_44_YG
};
#endif
1.1 vorbis/lib/modes/mode_44_Z.h
Index: mode_44_Z.h
===================================================================
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
* by the XIPHOPHORUS Company http://www.xiph.org/ *
* *
********************************************************************
function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
last mod: $Id: mode_44_Z.h,v 1.1 2001/08/13 11:30:59 xiphmont Exp $
********************************************************************/
#ifndef _V_MODES_44_Z_H_
#define _V_MODES_44_Z_H_
#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"
#include "books/line_128x7_class1.vqh"
#include "books/line_128x7_class2.vqh"
#include "books/line_128x7_0sub0.vqh"
#include "books/line_128x7_1sub1.vqh"
#include "books/line_128x7_1sub2.vqh"
#include "books/line_128x7_1sub3.vqh"
#include "books/line_128x7_2sub1.vqh"
#include "books/line_128x7_2sub2.vqh"
#include "books/line_128x7_2sub3.vqh"
#include "books/line_1024x31_class0.vqh"
#include "books/line_1024x31_class1.vqh"
#include "books/line_1024x31_class2.vqh"
#include "books/line_1024x31_class3.vqh"
#include "books/line_1024x31_0sub0.vqh"
#include "books/line_1024x31_0sub1.vqh"
#include "books/line_1024x31_1sub0.vqh"
#include "books/line_1024x31_1sub1.vqh"
#include "books/line_1024x31_2sub1.vqh"
#include "books/line_1024x31_2sub2.vqh"
#include "books/line_1024x31_2sub3.vqh"
#include "books/line_1024x31_3sub1.vqh"
#include "books/line_1024x31_3sub2.vqh"
#include "books/line_1024x31_3sub3.vqh"
#include "books/res_44_Z_128aux.vqh"
#include "books/res_44_Z_1024aux.vqh"
#include "books/res_Z_1.vqh"
#include "books/res_Z_2.vqh"
#include "books/res_Z_3.vqh"
#include "books/res_Z_4.vqh"
#include "books/res_Z_5.vqh"
#include "books/res_Z_6.vqh"
#include "books/res_Z_6a.vqh"
#include "books/res_Z_6b.vqh"
#include "maskadj_Z.h"
tatic vorbis_info_psy_global _psy_set_44_ZG={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
};
tatic struct vp_couple_pass _psy_pass_44_Z[]={
{1.f,1.f, {0}}
};
tatic vorbis_info_psy _psy_set_44_Z0={
ATH_Bark_dB_lineaggressive,
-100.,-110.,
/* tonemaskp */
3.f, -24.f,&_vp_tonemask_consbass_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1,-24.f, /* suppress any noise curve over maxspec+n */
1.f, 1.f, /* low/high window */
2, 2, -1,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10, -5, 3, 3, 4, 4, 4, 4, 4, 4, 8},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,
_psy_pass_44_Z
};
tatic vorbis_info_psy _psy_set_44_ZT={
ATH_Bark_dB_lineaggressive,
-100.f,-110.f,
/* tonemask */
3.f,-20.f,&_vp_tonemask_consbass_Z,
/* peakattp,curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-20, -6, 3, 3, 4, 5, 5, 5, 5, 6, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.7f,.8f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_Z
};
tatic vorbis_info_psy _psy_set_44_Z={
ATH_Bark_dB_lineaggressive,
-100.f, -110.f,
/* tonemask */
3.f,-20.f,&_vp_tonemask_Z,
/* peakattp, curvelimitp */
1, 0, &_vp_peakatt_Z,
/*noisemaskp */
1, -24.f, /* suppress any noise curve over maxspec+n */
.5f,.5f, /* low/high window */
10,10,100,
/*63 125 250 500 1k 2k 4k 8k 16k*/
{-20,-20,-20,-20,-20,-20,-10,-6, 3, 3, 4, 5, 5, 5, 5, 6, 10},
{1.f,1.f,1.f,1.f,1.f,1.f,.8f,.7f,.7f,.7f,.7f,.8f,.85f,.88f,.89f,.9f,.9f},
95.f, /* even decade + 5 is important; saves an rint() later in a
tight loop) */
1,_psy_pass_44_Z
};
tatic vorbis_info_time0 _time_set_44_Z={0};
tatic vorbis_info_floor1 _floor_set_44_Z0={
3,
{0,1,2},
{1,3,3},
{0,2,2},
{-1,0,1},
{{2},{-1,3,4,5},{-1,6,7,8}},
4,
{0,128,
7,
2,1,4,
23,13,45},
60,30,500,
999,999,0,18.,
8,70,
90};
tatic vorbis_info_floor1 _floor_set_44_Z={
10,
{0,1,2,2,2,2,2, 3,3,3},
{3,4,3,3},
{1,1,2,2},
{9,10,11,12},
{{13,14},
{15,16},
{-1,17,18,19},
{-1,20,21,22},
},
4,
{0,1024,
88,31,243,
14,54,143,460,
6,3,10, 22,18,26, 41,36,47,
69,61,78, 112,99,126, 185,162,211,
329,282,387, 672,553,825
},
60,30,400,
20,8,1,18.,
20,600,
704};
tatic vorbis_info_residue0 _residue_set_44_Z0={
0,96, 12, 7,23,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 3,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_residue0 _residue_set_44_Z={
0,704, 32, 7,24,
{0,1,1,1,1,1,7},
{25, 26, 27, 28, 29, 30, 31, 32},
{9999, 4,9999, 9999, 9999, 9999, 9999},
{.5, 1.5f,1.5, 2.5, 7.5, 22.5f},
{0},
{99, 99,99, 99, 99, 99},
{3}};
tatic vorbis_info_mapping0 _mapping_set_44_Z0={
1, {0,0}, {0}, {0}, {0}, {0,0}, 0,{0},{0}};
static vorbis_info_mapping0 _mapping_set_44_Z={
1, {0,0}, {0}, {1}, {1}, {1,2}, 0,{0},{0}};
tatic vorbis_info_mode _mode_set_44_Z0={0,0,0,0};
static vorbis_info_mode _mode_set_44_Z={1,0,0,1};
codec_setup_info info_44_Z={
/* smallblock, largeblock */
{256, 2048},
/* modes,maps,times,floors,residues,books,psys */
2, 2, 1, 2, 2, 33, 3,
/* modes */
{&_mode_set_44_Z0,&_mode_set_44_Z},
/* maps */
{0,0},{&_mapping_set_44_Z0,&_mapping_set_44_Z},
/* times */
{0,0},{&_time_set_44_Z},
/* floors */
{1,1},{&_floor_set_44_Z0,&_floor_set_44_Z},
/* residue */
{0,0},{&_residue_set_44_Z0,&_residue_set_44_Z},
/* books */
{
&_huff_book_line_128x7_class1,
&_huff_book_line_128x7_class2, /* 1 */
&_huff_book_line_128x7_0sub0, /* 2 */
&_huff_book_line_128x7_1sub1, /* 3 */
&_huff_book_line_128x7_1sub2,
&_huff_book_line_128x7_1sub3, /* 5 */
&_huff_book_line_128x7_2sub1,
&_huff_book_line_128x7_2sub2, /* 7 */
&_huff_book_line_128x7_2sub3,
&_huff_book_line_1024x31_class0,
&_huff_book_line_1024x31_class1, /* 10 */
&_huff_book_line_1024x31_class2,
&_huff_book_line_1024x31_class3, /* 12 */
&_huff_book_line_1024x31_0sub0,
&_huff_book_line_1024x31_0sub1, /* 14 */
&_huff_book_line_1024x31_1sub0,
&_huff_book_line_1024x31_1sub1,
&_huff_book_line_1024x31_2sub1,
&_huff_book_line_1024x31_2sub2, /* 18 */
&_huff_book_line_1024x31_2sub3,
&_huff_book_line_1024x31_3sub1,
&_huff_book_line_1024x31_3sub2,
&_huff_book_line_1024x31_3sub3, /* 22 */
&_huff_book_res_44_Z_128aux,
&_huff_book_res_44_Z_1024aux,
&_vq_book_res_Z_1,
&_vq_book_res_Z_2,
&_vq_book_res_Z_3,
&_vq_book_res_Z_4,
&_vq_book_res_Z_5,
&_vq_book_res_Z_6,
&_vq_book_res_Z_6a,
&_vq_book_res_Z_6b,
},
/* psy */
{&_psy_set_44_Z0,&_psy_set_44_ZT,&_psy_set_44_Z},
&_psy_set_44_ZG
};
#endif
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list