Get the new mode files in. They don't go live until the training commit.
[platform/upstream/libvorbis.git] / lib / modes / residue_16.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *
9  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
10  *                                                                  *
11  ********************************************************************
12
13  function: toplevel residue templates 16/22kHz
14  last mod: $Id: residue_16.h,v 1.1 2002/07/10 03:04:22 xiphmont Exp $
15
16  ********************************************************************/
17
18 /***** residue backends *********************************************/
19
20 /*static static_bookblock _resbook_16s_0={
21   {
22     {0},{0,0,&_16c0_s_p1_0},{0,0,&_16c0_s_p2_0},{0,0,&_16c0_s_p3_0},
23     {0,0,&_16c0_s_p4_0},{0,0,&_16c0_s_p5_0},{0,0,&_16c0_s_p6_0},
24     {&_16c0_s_p7_0,&_16c0_s_p7_1},{&_16c0_s_p8_0,&_16c0_s_p8_1},
25     {&_16c0_s_p9_0,&_16c0_s_p9_1,&_16c0_s_p9_2}
26    }
27 };
28 static static_bookblock _resbook_16s_1={
29   {
30     {0},{0,0,&_16c1_s_p1_0},{0,0,&_16c1_s_p2_0},{0,0,&_16c1_s_p3_0},
31     {0,0,&_16c1_s_p4_0},{0,0,&_16c1_s_p5_0},{0,0,&_16c1_s_p6_0},
32     {&_16c1_s_p7_0,&_16c1_s_p7_1},{&_16c1_s_p8_0,&_16c1_s_p8_1},
33     {&_16c1_s_p9_0,&_16c1_s_p9_1,&_16c1_s_p9_2}
34    }
35 };
36
37 static vorbis_residue_template _res_16s_0[]={
38   {2,0,  &_residue_44_mid,
39    &_huff_book__16c0_s_short,&_huff_book__16c0_sm_short,
40    &_resbook_16s_0,&_resbook_16s_0},
41
42   {2,0,  &_residue_44_mid,
43    &_huff_book__16c0_s_long,&_huff_book__16c0_sm_long,
44    &_resbook_16s_0,&_resbook_16s_0}
45    };*/
46
47
48 static vorbis_mapping_template _mapres_template_16_stereo[3]={
49   { _map_nominal, _res_44s_0 }, /* 0 */
50   { _map_nominal, _res_44s_0 }, /* 1 */
51   { _map_nominal, _res_44s_6 }, /* 2 */
52 };
53 static vorbis_mapping_template _mapres_template_16_uncoupled[3]={
54   { _map_nominal_u, _res_44u_0 }, /* 0 */
55   { _map_nominal_u, _res_44u_0 }, /* 1 */
56   { _map_nominal_u, _res_44u_6 }, /* 2 */
57 };