[xiph-cvs] cvs commit: vorbis/lib/modes maskadj_A.h mode_44c_A.h mode_44c_B.h mode_44c_C.h mode_44c_Z.h mode_A.h modes.h

Monty xiphmont at xiph.org
Mon Aug 13 00:43:16 PDT 2001



xiphmont    01/08/13 00:43:16

  Modified:    lib/modes mode_44c_Z.h mode_A.h modes.h
  Added:       lib/modes maskadj_A.h mode_44c_A.h mode_44c_B.h mode_44c_C.h
  Log:
  Yay more modes.

Revision  Changes    Path
1.6       +5 -5      vorbis/lib/modes/mode_44c_Z.h

Index: mode_44c_Z.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/mode_44c_Z.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mode_44c_Z.h	2001/08/13 06:04:24	1.5
+++ mode_44c_Z.h	2001/08/13 07:43:15	1.6
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: predefined encoding modes; 44kHz stereo ~64kbps true VBR
- last mod: $Id: mode_44c_Z.h,v 1.5 2001/08/13 06:04:24 xiphmont Exp $
+ last mod: $Id: mode_44c_Z.h,v 1.6 2001/08/13 07:43:15 xiphmont Exp $
 
  ********************************************************************/
 
@@ -49,8 +49,8 @@
 #include "books/line_1024x31_3sub2.vqh"
 #include "books/line_1024x31_3sub3.vqh"
 
-#include "books/res_Zc_128aux.vqh"
-#include "books/res_Zc_1024aux.vqh"
+#include "books/res_44c_Z_128aux.vqh"
+#include "books/res_44c_Z_1024aux.vqh"
 
 #include "books/res_Zc_1.vqh"
 #include "books/res_Zc_2.vqh"
@@ -290,8 +290,8 @@
    &_huff_book_line_1024x31_3sub2,
    &_huff_book_line_1024x31_3sub3, /* 22 */
 
-   &_huff_book_res_Zc_128aux, 
-   &_huff_book_res_Zc_1024aux,
+   &_huff_book_res_44c_Z_128aux, 
+   &_huff_book_res_44c_Z_1024aux,
 
    &_vq_book_res_Zc_1,
    &_vq_book_res_Zc_2,

1.18      +3 -3      vorbis/lib/modes/mode_A.h

Index: mode_A.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/mode_A.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mode_A.h	2001/08/13 01:37:13	1.17
+++ mode_A.h	2001/08/13 07:43:15	1.18
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: mode_A.h,v 1.17 2001/08/13 01:37:13 xiphmont Exp $
+ last mod: $Id: mode_A.h,v 1.18 2001/08/13 07:43:15 xiphmont Exp $
 
  ********************************************************************/
 
@@ -306,7 +306,7 @@
                                             {.5f,
                                              1.5f,1.5f,
                                              2.5f,2.5f,2.5f,
-					     4.5f,17.5f,80.5f},
+					     4.5f,17.5f,84.5f},
                                             {0},
                                             {99,16,99,6,16,99,99,99,99,99},
                                             {3}};
@@ -327,7 +327,7 @@
                                             {.5f,
                                              1.5f,1.5f,
                                              2.5f,2.5f,2.5f,
-					     4.5f,17.5f,80.f},
+					     4.5f,17.5f,84.f},
                                             {0},
                                             {99,32,99,18,32,99,99,99,99,99},
                                             {3}};

1.11      +3 -1      vorbis/lib/modes/modes.h

Index: modes.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/modes/modes.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- modes.h	2001/08/13 06:04:24	1.10
+++ modes.h	2001/08/13 07:43:15	1.11
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: predefined encoding modes
- last mod: $Id: modes.h,v 1.10 2001/08/13 06:04:24 xiphmont Exp $
+ last mod: $Id: modes.h,v 1.11 2001/08/13 07:43:15 xiphmont Exp $
 
  ********************************************************************/
 
@@ -22,5 +22,7 @@
 #include "modes/mode_44c_Z.h"
 #include "modes/mode_44c_Y.h"
 #include "modes/mode_44c_X.h"
+#include "modes/mode_44c_A.h"
+#include "modes/mode_44c_B.h"
 
 #endif

1.1                  vorbis/lib/modes/maskadj_A.h

Index: maskadj_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; masking adjustments for low bitrate
 last mod: $Id $

 ********************************************************************/

#ifndef _V_MASKADJ_A_H_
#define _V_MASKADJ_A_H_

#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"

tatic vp_attenblock _vp_tonemask_consbass_A={
  {{-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*63*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*88*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*125*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*175*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*250*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*350*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*500*/
  {-40.f,-40.f,-40.f,-45.f,-55.f,-65.f,-75.f,-85.f,-95.f,-105.f,-115.f}, /*700*/
  
  {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1000*/
  {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1400*/
  {-40.f,-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*2000*/
  {-40.f,-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*2800*/
  {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*4000*/
  {-35.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*5600*/
  
  {-30.f,-30.f,-33.f,-35.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*8000*/
  {-30.f,-30.f,-33.f,-35.f,-35.f,-45.f,-50.f,-60.f,-70.f,-90.f,-100.f}, /*11500*/
  {-24.f,-24.f,-26.f,-32.f,-32.f,-42.f,-50.f,-60.f,-70.f,-90.f,-100.f}, /*16000*/
}};

tatic vp_attenblock _vp_tonemask_A={

  {{-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*63*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*88*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*125*/
  
  
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*175*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*250*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*350*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*500*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*700*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1000*/
  {-30.f,-30.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*1400*/
  {-40.f,-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*2000*/
  {-40.f,-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*2800*/
  {-40.f,-40.f,-40.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*4000*/
  
  {-30.f,-35.f,-35.f,-40.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*5600*/
  
  {-30.f,-30.f,-33.f,-35.f,-40.f,-50.f,-60.f,-70.f,-80.f,-90.f,-100.f}, /*8000*/
  {-30.f,-30.f,-33.f,-35.f,-40.f,-45.f,-50.f,-60.f,-70.f,-85.f,-100.f}, /*11500*/
  {-24.f,-24.f,-26.f,-32.f,-32.f,-42.f,-50.f,-60.f,-70.f,-85.f,-100.f}, /*16000*/
}};

tatic vp_attenblock _vp_peakatt_A={
  {{-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*63*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*88*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*125*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*175*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*250*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*350*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*500*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-14.f,-20.f,-26.f,-32.f,-40.f},/*700*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-14.f,-20.f,-22.f,-32.f,-40.f},/*1000*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-32.f,-40.f},/*1400*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-32.f,-40.f},/*2000*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-32.f,-40.f},/*2400*/
  {-10.f,-10.f,-10.f,-10.f,-14.f,-14.f,-16.f,-20.f,-22.f,-32.f,-40.f},/*4000*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-11.f,-12.f,-13.f,-22.f,-32.f,-40.f},/*5600*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-11.f,-12.f,-13.f,-22.f,-32.f,-40.f},/*8000*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-11.f,-22.f,-32.f,-40.f},/*11500*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-20.f,-32.f,-40.f},/*16000*/
}};

tatic vp_attenblock _vp_peakatt_B={
  {{-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*63*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*88*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*125*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*175*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*250*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*350*/
  {-14.f,-20.f,-20.f,-20.f,-26.f,-32.f,-32.f,-32.f,-32.f,-32.f,-40.f},/*500*/
  {-10.f,-10.f,-10.f,-14.f,-20.f,-20.f,-20.f,-24.f,-26.f,-32.f,-40.f},/*700*/
  {-10.f,-10.f,-10.f,-14.f,-20.f,-20.f,-20.f,-24.f,-26.f,-32.f,-40.f},/*1000*/
  {-10.f,-10.f,-10.f,-14.f,-20.f,-20.f,-20.f,-24.f,-26.f,-32.f,-40.f},/*1400*/
  {-10.f,-10.f,-10.f,-14.f,-20.f,-20.f,-20.f,-24.f,-26.f,-32.f,-40.f},/*2000*/
  {-10.f,-10.f,-10.f,-14.f,-20.f,-20.f,-20.f,-24.f,-26.f,-32.f,-40.f},/*2800*/
  {-10.f,-10.f,-10.f,-10.f,-18.f,-20.f,-20.f,-22.f,-24.f,-32.f,-40.f},/*4000*/
  {-10.f,-10.f,-10.f,-10.f,-12.f,-14.f,-16.f,-18.f,-22.f,-32.f,-40.f},/*5600*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-11.f,-12.f,-13.f,-22.f,-32.f,-40.f},/*8000*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-11.f,-22.f,-32.f,-40.f},/*11500*/
  {-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-10.f,-20.f,-32.f,-40.f},/*16000*/
}};

tatic vp_attenblock _vp_peakatt_D={
  {{-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*63*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*88*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*125*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*170*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*250*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*350*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*500*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*700*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*1000*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*1400*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*2000*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*2800*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*4000*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*5600*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*8000*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*11500*/
   {-14.f,-20.f,-24.f,-26.f,-32.f,-34.f,-36.f,-38.f,-40.f,-40.f,-40.f},/*16600*/
  }};

#endif

1.1                  vorbis/lib/modes/mode_44c_A.h

Index: mode_44c_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_44c_A.h,v 1.1 2001/08/13 07:43:15 xiphmont Exp $

 ********************************************************************/

#ifndef _V_MODES_44c_A_H_
#define _V_MODES_44c_A_H_

#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"

#include "books/line_128x19_class1.vqh"
#include "books/line_128x19_class2.vqh"

#include "books/line_128x19_0sub0.vqh"
#include "books/line_128x19_1sub1.vqh"
#include "books/line_128x19_1sub2.vqh"
#include "books/line_128x19_1sub3.vqh"
#include "books/line_128x19_2sub1.vqh"
#include "books/line_128x19_2sub2.vqh"
#include "books/line_128x19_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_44c_A_128aux.vqh"
#include "books/res_44c_A_1024aux.vqh"

#include "books/res_Ac_1.vqh"
#include "books/res_Ac_2.vqh"
#include "books/res_Ac_3.vqh"
#include "books/res_Ac_4.vqh"
#include "books/res_Ac_5.vqh"
#include "books/res_Ac_6.vqh"
#include "books/res_Ac_7.vqh"
#include "books/res_Ac_7a.vqh"
#include "books/res_Ac_8.vqh"
#include "books/res_Ac_8a.vqh"
#include "books/res_Ac_9.vqh"
#include "books/res_Ac_9a.vqh"
#include "books/res_Ac_9b.vqh"

#include "maskadj_A.h"

tatic vorbis_info_psy_global _psy_set_44c_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_44c_A0[]={
  {1.f,1.f,
    {{24,    0,0,       0,0,      0,0},
     {64,    0,0,   7.5f,12,     0,0},
     {9999,  0,0,   7.5f,12,  2.5f,0}}
  },
};

tatic vp_couple_pass _psy_pass_44c_A[]={
  {1.f,1.f,
    {{288,   0,0,       0,0,      0,0},
     {512,   0,0,   7.5f,12,     0,0},
     {9999,  0,0,   7.5f,12,  2.5f,0}}
  }
};

tatic vorbis_info_psy _psy_set_44c_A0={
  ATH_Bark_dB_lineaggressive,
  -100.,-140.,

  /* tonemaskp */
  0.f, -40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 4, &_vp_peakatt_A,

  /*noisemaskp */
  1,-30.f,     /* suppress any noise curve over maxspec+n */
  .6f, .6f,   /* low/high window */
  5, 5, 10,

  /*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},

  95.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,
  _psy_pass_44c_A0
};

tatic vorbis_info_psy _psy_set_44c_AT={
  ATH_Bark_dB_lineaggressive,
  -100.f,-140.f,

  /* tonemask */
  0.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp,curvelimitp */
  1, 4,  &_vp_peakatt_A,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* 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},

  95.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,_psy_pass_44c_A
};

tatic vorbis_info_psy _psy_set_44c_A={
  ATH_Bark_dB_lineaggressive,
  -100.f,  -140.f,

  /* tonemask */
  0.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 4, &_vp_peakatt_A,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* 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},

  95.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,_psy_pass_44c_A
};

tatic vorbis_info_time0 _time_set_44c_A={0};

tatic vorbis_info_floor1 _floor_set_44c_A0={
  6,
  {0,1,1,1,2,2},
  
  {4,3,3},
  {0,2,2},
  {-1,0,1},
  {{2},{-1,3,4,5},{-1,6,7,8}},
  
  4,
  
  {0,128,  
   
   6,17,30,58,
   
   2,1,4, 11,8,14, 23,20,26,
   41,35,48, 84,69,103},
  
  60,30,500,
  999,999,1,18.,
  8,70,
  96};

static vorbis_info_floor1 _floor_set_44c_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,
  720};

tatic vorbis_info_residue0 _residue_set_44c_A0={
  0,192, 8, 10,23,
  {0,1,1,1,1,1,1,3,3,7},
  {25, 26, 27, 28, 29, 30, 31,32, 33,34, 35,36,37},
  {9999,9999,9999,9999,9999,9999,
   9999,9999,9999,9999},
  {.5f,
   1.5f,1.5f,
   2.5f,2.5f,2.5f,
   4.5f,17.5f,80.5f},
  {0},
  {99,16,99,6,16,99,99,99,99,99},
  {3}};

tatic vorbis_info_residue0 _residue_set_44c_A={
  0,1536, 32,10,24,
  {0,1,1,1,1,1,1,3,3,7},
  {25, 26, 27, 28, 29, 30, 31,32, 33,34, 35,36,37},
  {9999,9999,9999,9999,9999,9999,
   9999,9999,9999,9999},
  {.5f,
   1.5f,1.5f,
   2.5f,2.5f,2.5f,
   4.5f,17.5f,80.f},
  {0},
  {99,32,99,18,32,99,99,99,99,99},
  {3}};

tatic vorbis_info_mapping0 _mapping_set_44c_A0={
  1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}};
static vorbis_info_mapping0 _mapping_set_44c_A={
  1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}};

tatic vorbis_info_mode _mode_set_44c_A0={0,0,0,0};
static vorbis_info_mode _mode_set_44c_A={1,0,0,1};

codec_setup_info info_44c_A={

  /* smallblock, largeblock */
  {256, 2048}, 
  /* modes,maps,times,floors,residues,books,psys */
  2,          2,    1,     2,       2,   38,   3,
  /* modes */
  {&_mode_set_44c_A0,&_mode_set_44c_A},
  /* maps */
  {0,0},{&_mapping_set_44c_A0,&_mapping_set_44c_A},
  /* times */
  {0,0},{&_time_set_44c_A},
  /* floors */
  {1,1},{&_floor_set_44c_A0,&_floor_set_44c_A},
  /* residue */
  {2,2},{&_residue_set_44c_A0,&_residue_set_44c_A},
  /* books */
  
  {  
    &_huff_book_line_128x19_class1,
    &_huff_book_line_128x19_class2, /* 1 */
   
    &_huff_book_line_128x19_0sub0,  /* 2 */
    &_huff_book_line_128x19_1sub1,  /* 3 */
    &_huff_book_line_128x19_1sub2,
    &_huff_book_line_128x19_1sub3,  /* 5 */
    &_huff_book_line_128x19_2sub1,
    &_huff_book_line_128x19_2sub2,  /* 7 */
    &_huff_book_line_128x19_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_44c_A_128aux, 
    &_huff_book_res_44c_A_1024aux,
    
    &_vq_book_res_Ac_1,
    &_vq_book_res_Ac_2,
    &_vq_book_res_Ac_3,
    &_vq_book_res_Ac_4,
    &_vq_book_res_Ac_5,
    &_vq_book_res_Ac_6,
    &_vq_book_res_Ac_7,
    &_vq_book_res_Ac_7a,
    &_vq_book_res_Ac_8,
    &_vq_book_res_Ac_8a,
    &_vq_book_res_Ac_9,
    &_vq_book_res_Ac_9a,
    &_vq_book_res_Ac_9b,

  },
  /* psy */
  {&_psy_set_44c_A0,&_psy_set_44c_AT,&_psy_set_44c_A},
  &_psy_set_44c_AG
};

#endif

1.1                  vorbis/lib/modes/mode_44c_B.h

Index: mode_44c_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_44c_B.h,v 1.1 2001/08/13 07:43:15 xiphmont Exp $

 ********************************************************************/

#ifndef _V_MODES_44c_B_H_
#define _V_MODES_44c_B_H_

#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"

#include "books/line_128x19_class1.vqh"
#include "books/line_128x19_class2.vqh"

#include "books/line_128x19_0sub0.vqh"
#include "books/line_128x19_1sub1.vqh"
#include "books/line_128x19_1sub2.vqh"
#include "books/line_128x19_1sub3.vqh"
#include "books/line_128x19_2sub1.vqh"
#include "books/line_128x19_2sub2.vqh"
#include "books/line_128x19_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_44c_B_128aux.vqh"
#include "books/res_44c_B_1024aux.vqh"

#include "books/res_Bc_1.vqh"
#include "books/res_Bc_2.vqh"
#include "books/res_Bc_3.vqh"
#include "books/res_Bc_4.vqh"
#include "books/res_Bc_5.vqh"
#include "books/res_Bc_6.vqh"
#include "books/res_Bc_7.vqh"
#include "books/res_Bc_7a.vqh"
#include "books/res_Bc_8.vqh"
#include "books/res_Bc_8a.vqh"
#include "books/res_Bc_9.vqh"
#include "books/res_Bc_9a.vqh"
#include "books/res_Bc_9b.vqh"

#include "maskadj_A.h"

tatic vorbis_info_psy_global _psy_set_44c_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_44c_B0[]={
  {1.f,1.f,
    {{24,     0,0,       0,0,      0,0},
     {64,    4.5,0,      0,12,      0,0},
     {9999,  7.5,0,     4.5,12,   1.5,0}}
  },
};

tatic vp_couple_pass _psy_pass_44c_B[]={
  {1.f,1.f,
    {{288,   0,0,       0,0,      0,0},
     {512,  4.5,0,      0,12,     0,0},
     {9999, 7.5,0,     4.5,12,  1.5,0}}
  }
};

tatic vorbis_info_psy _psy_set_44c_B0={
  ATH_Bark_dB_lineaggressive,
  -100.,-140.,

  /* tonemaskp */
  -3.f, -40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 4, &_vp_peakatt_B,

  /*noisemaskp */
  1,-30.f,     /* suppress any noise curve over maxspec+n */
  .6f, .6f,   /* low/high window */
  5, 5, 10,

  /*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},
  {.6f,.6f,.6f,.6f,.6f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.6f,.75f,.85f,.85f,.85f},

  105.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,
  _psy_pass_44c_B0
};

tatic vorbis_info_psy _psy_set_44c_BT={
  ATH_Bark_dB_lineaggressive,
  -100.f,-140.f,

  /* tonemask */
  -3.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp,curvelimitp */
  1, 4,  &_vp_peakatt_B,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* 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,  1,  2},
  {.6f,.6f,.6f,.6f,.6f,.6f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.6f,.7f,.75f,.8f},

  105.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,_psy_pass_44c_B
};

tatic vorbis_info_psy _psy_set_44c_B={
  ATH_Bark_dB_lineaggressive,
  -100.f,  -140.f,

  /* tonemask */
  -3.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 4, &_vp_peakatt_B,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* low/high window */
      10,10,100,

  /*63     125     250     500      1k      2k      4k       8k     16k*/
  {-20,-20,-20,-20,-20,-20,-20,  0, -6, -6, -6, -6,  0,   0,  0,  1,  2},
  {.6f,.6f,.6f,.6f,.6f,.6f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.6f,.7f,.75f,.8f},

  105.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,_psy_pass_44c_B
};

tatic vorbis_info_time0 _time_set_44c_B={0};

tatic vorbis_info_floor1 _floor_set_44c_B0={
  6,
  {0,1,1,1,2,2},
  
  {4,3,3},
  {0,2,2},
  {-1,0,1},
  {{2},{-1,3,4,5},{-1,6,7,8}},
  
  4,
  
  {0,128,  
   
   6,17,30,58,
   
   2,1,4, 11,8,14, 23,20,26,
   41,35,48, 84,69,103},
  
  60,30,500,
  999,999,1,18.,
  8,70,
  112};

static vorbis_info_floor1 _floor_set_44c_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,
  896};

tatic vorbis_info_residue0 _residue_set_44c_B0={
  0,224,16,10,23,
  {0,1,1,1,1,1,1,3,3,7},
  {25,
   26,
   27,
   28,
   29,
   30,
   31,32,
   33,34,
   35,36,37},
  {9999,
   7,9999,9999,
   11,9999,
   9999,9999,9999,9999},
  {.5f,
   1.5f,1.5f,1.5f,
   2.5f,2.5f,
   4.5f,16.5f,84.5f},
  {0},
  {99,
   8,8,99,
   99,99,
   99,99,99,99},
  {3}};

tatic vorbis_info_residue0 _residue_set_44c_B={
  0,1792, 32,10,24,
  {0,1,1,1,1,1,1,3,3,7},
  {25,
   26,
   27,
   28,
   29,
   30,
   31,32,
   33,34,
   35,36,37},
  {9999,
   10,9999,9999,
   20,9999,
   9999,9999,9999,9999},
  {.5f,
   1.5f,1.5f,1.5f,
   2.5f,2.5f,
   4.5f,16.5f,84.f},
  {0},
  {99,
   32,32,99,
   99,99,
   99,99,99,99},
  {3}};

tatic vorbis_info_mapping0 _mapping_set_44c_B0={
  1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}};
static vorbis_info_mapping0 _mapping_set_44c_B={
  1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}};

tatic vorbis_info_mode _mode_set_44c_B0={0,0,0,0};
static vorbis_info_mode _mode_set_44c_B={1,0,0,1};

codec_setup_info info_44c_B={

  /* smallblock, largeblock */
  {256, 2048}, 
  /* modes,maps,times,floors,residues,books,psys */
  2,          2,    1,     2,       2,   38,   3,
  /* modes */
  {&_mode_set_44c_B0,&_mode_set_44c_B},
  /* maps */
  {0,0},{&_mapping_set_44c_B0,&_mapping_set_44c_B},
  /* times */
  {0,0},{&_time_set_44c_B},
  /* floors */
  {1,1},{&_floor_set_44c_B0,&_floor_set_44c_B},
  /* residue */
  {2,2},{&_residue_set_44c_B0,&_residue_set_44c_B},
  /* books */
  
  {  
    &_huff_book_line_128x19_class1,
    &_huff_book_line_128x19_class2, /* 1 */
   
    &_huff_book_line_128x19_0sub0,  /* 2 */
    &_huff_book_line_128x19_1sub1,  /* 3 */
    &_huff_book_line_128x19_1sub2,
    &_huff_book_line_128x19_1sub3,  /* 5 */
    &_huff_book_line_128x19_2sub1,
    &_huff_book_line_128x19_2sub2,  /* 7 */
    &_huff_book_line_128x19_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_44c_B_128aux, 
    &_huff_book_res_44c_B_1024aux,
    
    &_vq_book_res_Bc_1,
    &_vq_book_res_Bc_2,
    &_vq_book_res_Bc_3,
    &_vq_book_res_Bc_4,
    &_vq_book_res_Bc_5,
    &_vq_book_res_Bc_6,
    &_vq_book_res_Bc_7,
    &_vq_book_res_Bc_7a,
    &_vq_book_res_Bc_8,
    &_vq_book_res_Bc_8a,
    &_vq_book_res_Bc_9,
    &_vq_book_res_Bc_9a,
    &_vq_book_res_Bc_9b,

  },
  /* psy */
  {&_psy_set_44c_B0,&_psy_set_44c_BT,&_psy_set_44c_B},
  &_psy_set_44c_BG
};

#endif

1.1                  vorbis/lib/modes/mode_44c_C.h

Index: mode_44c_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_44c_C.h,v 1.1 2001/08/13 07:43:15 xiphmont Exp $

 ********************************************************************/

#ifndef _V_MODES_44c_C_H_
#define _V_MODES_44c_C_H_

#include <stdio.h>
#include "vorbis/codec.h"
#include "backends.h"

#include "books/line_128x19_class1.vqh"
#include "books/line_128x19_class2.vqh"

#include "books/line_128x19_0sub0.vqh"
#include "books/line_128x19_1sub1.vqh"
#include "books/line_128x19_1sub2.vqh"
#include "books/line_128x19_1sub3.vqh"
#include "books/line_128x19_2sub1.vqh"
#include "books/line_128x19_2sub2.vqh"
#include "books/line_128x19_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_44c_B_128aux.vqh"
#include "books/res_44c_B_1024aux.vqh"

#include "books/res_Bc_1.vqh"
#include "books/res_Bc_2.vqh"
#include "books/res_Bc_3.vqh"
#include "books/res_Bc_4.vqh"
#include "books/res_Bc_5.vqh"
#include "books/res_Bc_6.vqh"
#include "books/res_Bc_7.vqh"
#include "books/res_Bc_8.vqh"
#include "books/res_Bc_8a.vqh"
#include "books/res_Bc_9.vqh"
#include "books/res_Bc_9a.vqh"
#include "books/res_Bc_9b.vqh"

#include "maskadj_A.h"

tatic vorbis_info_psy_global _psy_set_44c_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_44c_C0[]={
  {1.f,1.f,
   {{24,      0,0,       0,0,      0,0},
    {9999,  4.5,0,      0,12,      0,0}}
  },
};

tatic vp_couple_pass _psy_pass_44c_C[]={
  {1.f,1.f,
   {{512,   0,0,       0,0,      0,0},
    {9999, 4.5,0,     0,12,  0,0}}
  }
};

tatic vorbis_info_psy _psy_set_44c_C0={
  ATH_Bark_dB_lineaggressive,
  -100.,-140.,

  /* tonemaskp */
  -3.f, -40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 30, &_vp_peakatt_B,

  /*noisemaskp */
  1,-30.f,     /* suppress any noise curve over maxspec+n */
  .6f, .6f,   /* low/high window */
  5, 5, 10,

  /*63     125     250     500      1k      2k      4k       8k     16k*/
  {-30,-30,-30,-30,-30,-30,-20,-10,  0,  0,  0,  0,  0,  0,  0,  0,  0},
  {.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.5f,.6f,.7f,.8f,.8f},

  105.f,  /* even decade + 5 is important; saves an rint() later in a
            tight loop) */
  1,
  _psy_pass_44c_C0
};

tatic vorbis_info_psy _psy_set_44c_CT={
  ATH_Bark_dB_lineaggressive,
  -100.f,-140.f,

  /* tonemask */
  -3.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp,curvelimitp */
  1, 30,  &_vp_peakatt_B,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* 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_44c_C
};

tatic vorbis_info_psy _psy_set_44c_C={
  ATH_Bark_dB_lineaggressive,
  -100.f,  -140.f,

  /* tonemask */
  -3.f,-40.f,&_vp_tonemask_consbass_A,
  /* peakattp, curvelimitp */
  1, 30, &_vp_peakatt_B,

  /*noisemaskp */
  1,  -30.f,     /* suppress any noise curve over maxspec+n */
      .4f,.4f,   /* low/high window */
      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},
  {.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_44c_C
};

tatic vorbis_info_time0 _time_set_44c_C={0};

tatic vorbis_info_floor1 _floor_set_44c_C0={
  6,
  {0,1,1,1,2,2},
  
  {4,3,3},
  {0,2,2},
  {-1,0,1},
  {{2},{-1,3,4,5},{-1,6,7,8}},
  
  4,
  
  {0,128,  
   
   6,17,30,58,
   
   2,1,4, 11,8,14, 23,20,26,
   41,35,48, 84,69,103},
  
  60,30,500,
  999,999,1,18.,
  8,70,
  112};

static vorbis_info_floor1 _floor_set_44c_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,
  896};

tatic vorbis_info_residue0 _residue_set_44c_C0={
  0,256,16,10,23,
  {0,1,1,1,1,1,1,1,3,7},
  {25,
   26,
   27,
   28,
   29,
   30,
   31,32,
   33,34,
   35,36},
  {9999,
   9999,
   12,9999,
   18,9999,
   28,9999,
   9999,9999},
  {.5f,
   1.5f,
   2.5f,2.5f,
   4.5f,4.5,
   16.5f,16.5,
   84.5f},
  {0},
  {99,
   99,
   99,99,
   99,99,
   99,99,
   99,99},
  {3}};

tatic vorbis_info_residue0 _residue_set_44c_C={
  0,2048, 32,10,24,
  {0,1,1,1,1,1,1,1,3,7},
  {25,
   26,
   27,
   28,
   29,
   30,
   31,
   32,33,
   34,35,36},
  {9999,
   9999,
   22,9999,
   34,9999,
   64,999,
   9999,9999},
  {.5f,
   1.5f,
   2.5f,2.5f,
   4.5f,4.5,
   16.5f,16.5,
   84.f},
  {0},
  {99,
   99,
   99,99,
   99,99,
   99,99,
   99,99},
  {3}};

tatic vorbis_info_mapping0 _mapping_set_44c_C0={
  1, {0,0}, {0}, {0}, {0}, {0,0}, 1,{0},{1}};
static vorbis_info_mapping0 _mapping_set_44c_C={
  1, {0,0}, {0}, {1}, {1}, {1,2}, 1,{0},{1}};

tatic vorbis_info_mode _mode_set_44c_C0={0,0,0,0};
static vorbis_info_mode _mode_set_44c_C={1,0,0,1};

codec_setup_info info_44c_C={

  /* smallblock, largeblock */
  {256, 2048}, 
  /* modes,maps,times,floors,residues,books,psys */
  2,          2,    1,     2,       2,   37,   3,
  /* modes */
  {&_mode_set_44c_C0,&_mode_set_44c_C},
  /* maps */
  {0,0},{&_mapping_set_44c_C0,&_mapping_set_44c_C},
  /* times */
  {0,0},{&_time_set_44c_C},
  /* floors */
  {1,1},{&_floor_set_44c_C0,&_floor_set_44c_C},
  /* residue */
  {2,2},{&_residue_set_44c_C0,&_residue_set_44c_C},
  /* books */
  
  {  
    &_huff_book_line_128x19_class1,
    &_huff_book_line_128x19_class2, /* 1 */
   
    &_huff_book_line_128x19_0sub0,  /* 2 */
    &_huff_book_line_128x19_1sub1,  /* 3 */
    &_huff_book_line_128x19_1sub2,
    &_huff_book_line_128x19_1sub3,  /* 5 */
    &_huff_book_line_128x19_2sub1,
    &_huff_book_line_128x19_2sub2,  /* 7 */
    &_huff_book_line_128x19_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_44c_B_128aux, 
    &_huff_book_res_44c_B_1024aux,
    
    &_vq_book_res_Bc_1,
    &_vq_book_res_Bc_2,
    &_vq_book_res_Bc_3,
    &_vq_book_res_Bc_4,
    &_vq_book_res_Bc_5,
    &_vq_book_res_Bc_6,
    &_vq_book_res_Bc_7,
    &_vq_book_res_Bc_8,
    &_vq_book_res_Bc_8a,
    &_vq_book_res_Bc_9,
    &_vq_book_res_Bc_9a,
    &_vq_book_res_Bc_9b,

  },
  /* psy */
  {&_psy_set_44c_C0,&_psy_set_44c_CT,&_psy_set_44c_C},
  &_psy_set_44c_CG
};

#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