dbf-halloween2015

annotate libs/vorbis/modes/residue_8.h @ 4:4316c0c879e9

fixed RUN script for macosx
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 01 Nov 2015 06:18:18 +0200
parents
children
rev   line source
nuclear@1 1 /********************************************************************
nuclear@1 2 * *
nuclear@1 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
nuclear@1 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
nuclear@1 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
nuclear@1 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
nuclear@1 7 * *
nuclear@1 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
nuclear@1 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
nuclear@1 10 * *
nuclear@1 11 ********************************************************************
nuclear@1 12
nuclear@1 13 function: toplevel residue templates 8/11kHz
nuclear@1 14 last mod: $Id: residue_8.h 16962 2010-03-11 07:30:34Z xiphmont $
nuclear@1 15
nuclear@1 16 ********************************************************************/
nuclear@1 17
nuclear@1 18 #include "vorbis/codec.h"
nuclear@1 19 #include "backends.h"
nuclear@1 20
nuclear@1 21 /***** residue backends *********************************************/
nuclear@1 22
nuclear@1 23 static const static_bookblock _resbook_8s_0={
nuclear@1 24 {
nuclear@1 25 {0},
nuclear@1 26 {0,0,&_8c0_s_p1_0},
nuclear@1 27 {0},
nuclear@1 28 {0,0,&_8c0_s_p3_0},
nuclear@1 29 {0,0,&_8c0_s_p4_0},
nuclear@1 30 {0,0,&_8c0_s_p5_0},
nuclear@1 31 {0,0,&_8c0_s_p6_0},
nuclear@1 32 {&_8c0_s_p7_0,&_8c0_s_p7_1},
nuclear@1 33 {&_8c0_s_p8_0,&_8c0_s_p8_1},
nuclear@1 34 {&_8c0_s_p9_0,&_8c0_s_p9_1,&_8c0_s_p9_2}
nuclear@1 35 }
nuclear@1 36 };
nuclear@1 37 static const static_bookblock _resbook_8s_1={
nuclear@1 38 {
nuclear@1 39 {0},
nuclear@1 40 {0,0,&_8c1_s_p1_0},
nuclear@1 41 {0},
nuclear@1 42 {0,0,&_8c1_s_p3_0},
nuclear@1 43 {0,0,&_8c1_s_p4_0},
nuclear@1 44 {0,0,&_8c1_s_p5_0},
nuclear@1 45 {0,0,&_8c1_s_p6_0},
nuclear@1 46 {&_8c1_s_p7_0,&_8c1_s_p7_1},
nuclear@1 47 {&_8c1_s_p8_0,&_8c1_s_p8_1},
nuclear@1 48 {&_8c1_s_p9_0,&_8c1_s_p9_1,&_8c1_s_p9_2}
nuclear@1 49 }
nuclear@1 50 };
nuclear@1 51
nuclear@1 52 static const vorbis_residue_template _res_8s_0[]={
nuclear@1 53 {2,0,32, &_residue_44_mid,
nuclear@1 54 &_huff_book__8c0_s_single,&_huff_book__8c0_s_single,
nuclear@1 55 &_resbook_8s_0,&_resbook_8s_0},
nuclear@1 56 };
nuclear@1 57 static const vorbis_residue_template _res_8s_1[]={
nuclear@1 58 {2,0,32, &_residue_44_mid,
nuclear@1 59 &_huff_book__8c1_s_single,&_huff_book__8c1_s_single,
nuclear@1 60 &_resbook_8s_1,&_resbook_8s_1},
nuclear@1 61 };
nuclear@1 62
nuclear@1 63 static const vorbis_mapping_template _mapres_template_8_stereo[2]={
nuclear@1 64 { _map_nominal, _res_8s_0 }, /* 0 */
nuclear@1 65 { _map_nominal, _res_8s_1 }, /* 1 */
nuclear@1 66 };
nuclear@1 67
nuclear@1 68 static const static_bookblock _resbook_8u_0={
nuclear@1 69 {
nuclear@1 70 {0},
nuclear@1 71 {0,0,&_8u0__p1_0},
nuclear@1 72 {0,0,&_8u0__p2_0},
nuclear@1 73 {0,0,&_8u0__p3_0},
nuclear@1 74 {0,0,&_8u0__p4_0},
nuclear@1 75 {0,0,&_8u0__p5_0},
nuclear@1 76 {&_8u0__p6_0,&_8u0__p6_1},
nuclear@1 77 {&_8u0__p7_0,&_8u0__p7_1,&_8u0__p7_2}
nuclear@1 78 }
nuclear@1 79 };
nuclear@1 80 static const static_bookblock _resbook_8u_1={
nuclear@1 81 {
nuclear@1 82 {0},
nuclear@1 83 {0,0,&_8u1__p1_0},
nuclear@1 84 {0,0,&_8u1__p2_0},
nuclear@1 85 {0,0,&_8u1__p3_0},
nuclear@1 86 {0,0,&_8u1__p4_0},
nuclear@1 87 {0,0,&_8u1__p5_0},
nuclear@1 88 {0,0,&_8u1__p6_0},
nuclear@1 89 {&_8u1__p7_0,&_8u1__p7_1},
nuclear@1 90 {&_8u1__p8_0,&_8u1__p8_1},
nuclear@1 91 {&_8u1__p9_0,&_8u1__p9_1,&_8u1__p9_2}
nuclear@1 92 }
nuclear@1 93 };
nuclear@1 94
nuclear@1 95 static const vorbis_residue_template _res_8u_0[]={
nuclear@1 96 {1,0,32, &_residue_44_low_un,
nuclear@1 97 &_huff_book__8u0__single,&_huff_book__8u0__single,
nuclear@1 98 &_resbook_8u_0,&_resbook_8u_0},
nuclear@1 99 };
nuclear@1 100 static const vorbis_residue_template _res_8u_1[]={
nuclear@1 101 {1,0,32, &_residue_44_mid_un,
nuclear@1 102 &_huff_book__8u1__single,&_huff_book__8u1__single,
nuclear@1 103 &_resbook_8u_1,&_resbook_8u_1},
nuclear@1 104 };
nuclear@1 105
nuclear@1 106 static const vorbis_mapping_template _mapres_template_8_uncoupled[2]={
nuclear@1 107 { _map_nominal_u, _res_8u_0 }, /* 0 */
nuclear@1 108 { _map_nominal_u, _res_8u_1 }, /* 1 */
nuclear@1 109 };