residue_44.h 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
  9. * by the XIPHOPHORUS Company http://www.xiph.org/ *
  10. * *
  11. v ********************************************************************
  12. function: toplevel residue templates for 32/44.1/48kHz
  13. last mod: $Id: residue_44.h,v 1.4.2.1 2001/12/18 23:49:23 xiphmont Exp $
  14. ********************************************************************/
  15. #include "vorbis/codec.h"
  16. #include "backends.h"
  17. static bitrate_manager_info _bm_44_default={
  18. /* progressive coding and bitrate controls */
  19. 2.,.5,
  20. 2., 0, 0,
  21. 0, 0,
  22. 4.0, 0., -1., .05,
  23. -.05, .05,
  24. 3.5,5.0,
  25. -10.f,+2.f
  26. };
  27. /***** residue backends *********************************************/
  28. /* the books used depend on stereo-or-not, but the residue setup below
  29. can apply to coupled or not. These templates are for a first pass;
  30. a last pass is mechanically added in vorbisenc for residue backfill
  31. at 1/3 and 1/9, as well as an optional middle pass for stereo
  32. backfill */
  33. /* 0 1 2 4 26 1 2 4 26 +
  34. 0 0 0 0
  35. 0 1 2 3 4 5 6 7 8 9
  36. 1 . . .
  37. 2 . . .
  38. 4 . . . . . . .
  39. 0 4 4 4 3 4 4 4 3 7 */
  40. static vorbis_info_residue0 _residue_44_low={
  41. 0,-1, -1, 8,-1,
  42. {0},
  43. {-1},
  44. {9999, 9999, 9999, 9999, 9999, 9999, 9999},
  45. { .5, 1.5, 2.5, 4.5, 26.5, 1.5, 4.5},
  46. {0},
  47. { 99, -1, -1, -1, -1, 99, 99}
  48. };
  49. /* 26 doesn't cascade well; use 28 instead */
  50. static vorbis_info_residue0 _residue_44_low_un={
  51. 0,-1, -1, 8,-1,
  52. {0},
  53. {-1},
  54. {9999, 9999, 9999, 9999, 9999, 9999, 9999},
  55. { .5, 1.5, 2.5, 4.5, 28.5, 1.5, 4.5},
  56. {0},
  57. { 99, -1, -1, -1, -1, 99, 99}
  58. };
  59. /* 0 1 2 4 1 2 4 16 42 +
  60. 0 0 0
  61. 0 1 2 3 4 5 6 7 8 9
  62. 1 . . .
  63. 2 . . .
  64. 4 . . . . . . .
  65. 0 4 4 4 4 4 4 3 3 7 */
  66. static vorbis_info_residue0 _residue_44_mid={
  67. 0,-1, -1, 10,-1,
  68. /* 0 1 2 3 4 5 6 7 8 9 */
  69. {0},
  70. {-1},
  71. {9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999},
  72. { .5, 1.5, 1.5, 2.5, 2.5, 4.5, 4.5, 16.5, 42.5},
  73. {0},
  74. { 99, -1, 99, -1, 99, -1, 99, 99, 99}
  75. };
  76. /* 0 8 42 1 2 4 8 16 56 +
  77. 0 0 0
  78. 0 1 2 3 4 5 6 7 8 9
  79. 1 . . . .
  80. 2 . . . .
  81. 4 . . . . . .
  82. 0 4 3 4 4 4 4 3 3 7 */
  83. static vorbis_info_residue0 _residue_44_high={
  84. 0,-1, -1, 10,-1,
  85. /* 0 1 2 3 4 5 6 7 8 9 */
  86. {0},
  87. {-1},
  88. {9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999},
  89. { .5, 8.5, 42.5, 1.5, 2.5, 4.5, 8.5, 16.5, 56.5},
  90. {0},
  91. { 99, -1, -1, 99, 99, 99, 99, 99, 99}
  92. };
  93. /* 56 doesn't cascade well; use 59 */
  94. static vorbis_info_residue0 _residue_44_high_un={
  95. 0,-1, -1, 10,-1,
  96. /* 0 1 2 3 4 5 6 7 8 9 */
  97. {0},
  98. {-1},
  99. {9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999},
  100. { .5, 8.5, 42.5, 1.5, 2.5, 4.5, 8.5, 16.5, 59.5},
  101. {0},
  102. { 99, -1, -1, 99, 99, 99, 99, 99, 99}
  103. };
  104. #include "books/coupled/_44c0_short.vqh"
  105. #include "books/coupled/_44c0_long.vqh"
  106. #include "books/coupled/_44c0_s0_p1_0.vqh"
  107. #include "books/coupled/_44c0_s0_p2_0.vqh"
  108. #include "books/coupled/_44c0_s0_p3_0.vqh"
  109. #include "books/coupled/_44c0_s0_p4_0.vqh"
  110. #include "books/coupled/_44c0_s0_p4_1.vqh"
  111. #include "books/coupled/_44c0_s0_p5_0.vqh"
  112. #include "books/coupled/_44c0_s1_p5_0.vqh"
  113. #include "books/coupled/_44c0_s0_p6_0.vqh"
  114. #include "books/coupled/_44c0_s1_p6_0.vqh"
  115. #include "books/coupled/_44c0_s2_p6_0.vqh"
  116. #include "books/coupled/_44c0_s0_p7_0.vqh"
  117. #include "books/coupled/_44c0_s0_p7_1.vqh"
  118. #include "books/coupled/_44c0_s0_p7_2.vqh"
  119. #include "books/coupled/_44c0_s1_p7_0.vqh"
  120. #include "books/coupled/_44c0_s1_p7_1.vqh"
  121. #include "books/coupled/_44c0_s1_p7_2.vqh"
  122. #include "books/coupled/_44c0_s2_p7_0.vqh"
  123. #include "books/coupled/_44c0_s2_p7_1.vqh"
  124. #include "books/coupled/_44c0_s2_p7_2.vqh"
  125. #include "books/coupled/_44c0_s3_p7_0.vqh"
  126. #include "books/coupled/_44c0_s3_p7_1.vqh"
  127. #include "books/coupled/_44c0_s3_p7_2.vqh"
  128. #include "books/coupled/_44c0_s1_p5_s0.vqh"
  129. #include "books/coupled/_44c0_s1_p6_s0.vqh"
  130. #include "books/coupled/_44c0_s1_p7_s0.vqh"
  131. #include "books/coupled/_44c0_s2_p6_s0.vqh"
  132. #include "books/coupled/_44c0_s2_p7_s0.vqh"
  133. #include "books/coupled/_44c0_s3_p7_s0.vqh"
  134. #include "books/coupled/_44c0_s0_p0_r0.vqh"
  135. #include "books/coupled/_44c0_s0_pN_r0.vqh"
  136. #include "books/coupled/_44c0_s1_pS_r0.vqh"
  137. #include "books/coupled/_44c0_s0_p0_r1.vqh"
  138. #include "books/coupled/_44c0_s0_pN_r1.vqh"
  139. #include "books/coupled/_44c0_s1_pS_r1.vqh"
  140. #include "books/coupled/_44c1_short.vqh"
  141. #include "books/coupled/_44c1_long.vqh"
  142. #include "books/coupled/_44c1_s0_p1_0.vqh"
  143. #include "books/coupled/_44c1_s0_p2_0.vqh"
  144. #include "books/coupled/_44c1_s0_p3_0.vqh"
  145. #include "books/coupled/_44c1_s0_p4_0.vqh"
  146. #include "books/coupled/_44c1_s0_p4_1.vqh"
  147. #include "books/coupled/_44c1_s0_p5_0.vqh"
  148. #include "books/coupled/_44c1_s1_p5_0.vqh"
  149. #include "books/coupled/_44c1_s0_p6_0.vqh"
  150. #include "books/coupled/_44c1_s1_p6_0.vqh"
  151. #include "books/coupled/_44c1_s2_p6_0.vqh"
  152. #include "books/coupled/_44c1_s0_p7_0.vqh"
  153. #include "books/coupled/_44c1_s0_p7_1.vqh"
  154. #include "books/coupled/_44c1_s0_p7_2.vqh"
  155. #include "books/coupled/_44c1_s1_p7_0.vqh"
  156. #include "books/coupled/_44c1_s1_p7_1.vqh"
  157. #include "books/coupled/_44c1_s1_p7_2.vqh"
  158. #include "books/coupled/_44c1_s2_p7_0.vqh"
  159. #include "books/coupled/_44c1_s2_p7_1.vqh"
  160. #include "books/coupled/_44c1_s2_p7_2.vqh"
  161. #include "books/coupled/_44c1_s3_p7_0.vqh"
  162. #include "books/coupled/_44c1_s3_p7_1.vqh"
  163. #include "books/coupled/_44c1_s3_p7_2.vqh"
  164. #include "books/coupled/_44c2_short.vqh"
  165. #include "books/coupled/_44c2_long.vqh"
  166. #include "books/coupled/_44c2_s0_p1_0.vqh"
  167. #include "books/coupled/_44c2_s0_p2_0.vqh"
  168. #include "books/coupled/_44c2_s0_p3_0.vqh"
  169. #include "books/coupled/_44c2_s0_p4_0.vqh"
  170. #include "books/coupled/_44c2_s0_p4_1.vqh"
  171. #include "books/coupled/_44c2_s0_p5_0.vqh"
  172. #include "books/coupled/_44c2_s1_p5_0.vqh"
  173. #include "books/coupled/_44c2_s0_p6_0.vqh"
  174. #include "books/coupled/_44c2_s1_p6_0.vqh"
  175. #include "books/coupled/_44c2_s2_p6_0.vqh"
  176. #include "books/coupled/_44c2_s0_p7_0.vqh"
  177. #include "books/coupled/_44c2_s0_p7_1.vqh"
  178. #include "books/coupled/_44c2_s0_p7_2.vqh"
  179. #include "books/coupled/_44c2_s1_p7_0.vqh"
  180. #include "books/coupled/_44c2_s1_p7_1.vqh"
  181. #include "books/coupled/_44c2_s1_p7_2.vqh"
  182. #include "books/coupled/_44c2_s2_p7_0.vqh"
  183. #include "books/coupled/_44c2_s2_p7_1.vqh"
  184. #include "books/coupled/_44c2_s2_p7_2.vqh"
  185. #include "books/coupled/_44c2_s3_p7_0.vqh"
  186. #include "books/coupled/_44c2_s3_p7_1.vqh"
  187. #include "books/coupled/_44c2_s3_p7_2.vqh"
  188. #include "books/coupled/_44c3_short.vqh"
  189. #include "books/coupled/_44c3_long.vqh"
  190. #include "books/coupled/_44c3_s0_p1_0.vqh"
  191. #include "books/coupled/_44c3_s0_p2_0.vqh"
  192. #include "books/coupled/_44c3_s0_p3_0.vqh"
  193. #include "books/coupled/_44c3_s0_p4_0.vqh"
  194. #include "books/coupled/_44c3_s0_p4_1.vqh"
  195. #include "books/coupled/_44c3_s0_p5_0.vqh"
  196. #include "books/coupled/_44c3_s1_p5_0.vqh"
  197. #include "books/coupled/_44c3_s0_p6_0.vqh"
  198. #include "books/coupled/_44c3_s1_p6_0.vqh"
  199. #include "books/coupled/_44c3_s2_p6_0.vqh"
  200. #include "books/coupled/_44c3_s0_p7_0.vqh"
  201. #include "books/coupled/_44c3_s0_p7_1.vqh"
  202. #include "books/coupled/_44c3_s0_p7_2.vqh"
  203. #include "books/coupled/_44c3_s1_p7_0.vqh"
  204. #include "books/coupled/_44c3_s1_p7_1.vqh"
  205. #include "books/coupled/_44c3_s1_p7_2.vqh"
  206. #include "books/coupled/_44c3_s2_p7_0.vqh"
  207. #include "books/coupled/_44c3_s2_p7_1.vqh"
  208. #include "books/coupled/_44c3_s2_p7_2.vqh"
  209. #include "books/coupled/_44c3_s3_p7_0.vqh"
  210. #include "books/coupled/_44c3_s3_p7_1.vqh"
  211. #include "books/coupled/_44c3_s3_p7_2.vqh"
  212. #include "books/coupled/_44c4_short.vqh"
  213. #include "books/coupled/_44c4_long.vqh"
  214. #include "books/coupled/_44c4_s0_p1_0.vqh"
  215. #include "books/coupled/_44c4_s0_p2_0.vqh"
  216. #include "books/coupled/_44c4_s1_p2_0.vqh"
  217. #include "books/coupled/_44c4_s0_p3_0.vqh"
  218. #include "books/coupled/_44c4_s0_p4_0.vqh"
  219. #include "books/coupled/_44c4_s1_p4_0.vqh"
  220. #include "books/coupled/_44c4_s0_p5_0.vqh"
  221. #include "books/coupled/_44c4_s0_p6_0.vqh"
  222. #include "books/coupled/_44c4_s1_p6_0.vqh"
  223. #include "books/coupled/_44c4_s2_p6_0.vqh"
  224. #include "books/coupled/_44c4_s0_p7_0.vqh"
  225. #include "books/coupled/_44c4_s0_p7_1.vqh"
  226. #include "books/coupled/_44c4_s1_p7_0.vqh"
  227. #include "books/coupled/_44c4_s1_p7_1.vqh"
  228. #include "books/coupled/_44c4_s2_p7_0.vqh"
  229. #include "books/coupled/_44c4_s2_p7_1.vqh"
  230. #include "books/coupled/_44c4_s3_p7_0.vqh"
  231. #include "books/coupled/_44c4_s3_p7_1.vqh"
  232. #include "books/coupled/_44c4_s0_p8_0.vqh"
  233. #include "books/coupled/_44c4_s0_p8_1.vqh"
  234. #include "books/coupled/_44c4_s1_p8_0.vqh"
  235. #include "books/coupled/_44c4_s1_p8_1.vqh"
  236. #include "books/coupled/_44c4_s2_p8_0.vqh"
  237. #include "books/coupled/_44c4_s2_p8_1.vqh"
  238. #include "books/coupled/_44c4_s3_p8_0.vqh"
  239. #include "books/coupled/_44c4_s3_p8_1.vqh"
  240. #include "books/coupled/_44c4_s0_p9_0.vqh"
  241. #include "books/coupled/_44c4_s0_p9_1.vqh"
  242. #include "books/coupled/_44c4_s0_p9_2.vqh"
  243. #include "books/coupled/_44c4_s1_p9_0.vqh"
  244. #include "books/coupled/_44c4_s1_p9_1.vqh"
  245. #include "books/coupled/_44c4_s1_p9_2.vqh"
  246. #include "books/coupled/_44c4_s2_p9_0.vqh"
  247. #include "books/coupled/_44c4_s2_p9_1.vqh"
  248. #include "books/coupled/_44c4_s2_p9_2.vqh"
  249. #include "books/coupled/_44c4_s3_p9_0.vqh"
  250. #include "books/coupled/_44c4_s3_p9_1.vqh"
  251. #include "books/coupled/_44c4_s3_p9_2.vqh"
  252. #include "books/coupled/_44c4_s1_p2_s0.vqh"
  253. #include "books/coupled/_44c4_s1_p4_s0.vqh"
  254. #include "books/coupled/_44c4_s1_p6_s0.vqh"
  255. #include "books/coupled/_44c4_s1_p7_s0.vqh"
  256. #include "books/coupled/_44c4_s1_p8_s0.vqh"
  257. #include "books/coupled/_44c4_s1_p9_s0.vqh"
  258. #include "books/coupled/_44c4_s2_p6_s0.vqh"
  259. #include "books/coupled/_44c4_s2_p7_s0.vqh"
  260. #include "books/coupled/_44c4_s2_p8_s0.vqh"
  261. #include "books/coupled/_44c4_s2_p9_s0.vqh"
  262. #include "books/coupled/_44c4_s3_p9_s0.vqh"
  263. #include "books/coupled/_44c4_s0_p0_r0.vqh"
  264. #include "books/coupled/_44c4_s0_p0_r1.vqh"
  265. #include "books/coupled/_44c4_s0_pN_r0.vqh"
  266. #include "books/coupled/_44c4_s0_pN_r1.vqh"
  267. #include "books/coupled/_44c4_s1_pS_r0.vqh"
  268. #include "books/coupled/_44c4_s1_pS_r1.vqh"
  269. #include "books/coupled/_44c5_short.vqh"
  270. #include "books/coupled/_44c5_long.vqh"
  271. #include "books/coupled/_44c5_s0_p1_0.vqh"
  272. #include "books/coupled/_44c5_s0_p2_0.vqh"
  273. #include "books/coupled/_44c5_s1_p2_0.vqh"
  274. #include "books/coupled/_44c5_s0_p3_0.vqh"
  275. #include "books/coupled/_44c5_s0_p4_0.vqh"
  276. #include "books/coupled/_44c5_s1_p4_0.vqh"
  277. #include "books/coupled/_44c5_s0_p5_0.vqh"
  278. #include "books/coupled/_44c5_s0_p6_0.vqh"
  279. #include "books/coupled/_44c5_s1_p6_0.vqh"
  280. #include "books/coupled/_44c5_s2_p6_0.vqh"
  281. #include "books/coupled/_44c5_s0_p7_0.vqh"
  282. #include "books/coupled/_44c5_s0_p7_1.vqh"
  283. #include "books/coupled/_44c5_s1_p7_0.vqh"
  284. #include "books/coupled/_44c5_s1_p7_1.vqh"
  285. #include "books/coupled/_44c5_s2_p7_0.vqh"
  286. #include "books/coupled/_44c5_s2_p7_1.vqh"
  287. #include "books/coupled/_44c5_s3_p7_0.vqh"
  288. #include "books/coupled/_44c5_s3_p7_1.vqh"
  289. #include "books/coupled/_44c5_s0_p8_0.vqh"
  290. #include "books/coupled/_44c5_s0_p8_1.vqh"
  291. #include "books/coupled/_44c5_s1_p8_0.vqh"
  292. #include "books/coupled/_44c5_s1_p8_1.vqh"
  293. #include "books/coupled/_44c5_s2_p8_0.vqh"
  294. #include "books/coupled/_44c5_s2_p8_1.vqh"
  295. #include "books/coupled/_44c5_s3_p8_0.vqh"
  296. #include "books/coupled/_44c5_s3_p8_1.vqh"
  297. #include "books/coupled/_44c5_s0_p9_0.vqh"
  298. #include "books/coupled/_44c5_s0_p9_1.vqh"
  299. #include "books/coupled/_44c5_s0_p9_2.vqh"
  300. #include "books/coupled/_44c5_s1_p9_0.vqh"
  301. #include "books/coupled/_44c5_s1_p9_1.vqh"
  302. #include "books/coupled/_44c5_s1_p9_2.vqh"
  303. #include "books/coupled/_44c5_s2_p9_0.vqh"
  304. #include "books/coupled/_44c5_s2_p9_1.vqh"
  305. #include "books/coupled/_44c5_s2_p9_2.vqh"
  306. #include "books/coupled/_44c5_s3_p9_0.vqh"
  307. #include "books/coupled/_44c5_s3_p9_1.vqh"
  308. #include "books/coupled/_44c5_s3_p9_2.vqh"
  309. #include "books/coupled/_44c6_short.vqh"
  310. #include "books/coupled/_44c6_long.vqh"
  311. #include "books/coupled/_44c6_s0_p1_0.vqh"
  312. #include "books/coupled/_44c6_s0_p2_0.vqh"
  313. #include "books/coupled/_44c6_s1_p2_0.vqh"
  314. #include "books/coupled/_44c6_s0_p3_0.vqh"
  315. #include "books/coupled/_44c6_s0_p4_0.vqh"
  316. #include "books/coupled/_44c6_s1_p4_0.vqh"
  317. #include "books/coupled/_44c6_s0_p5_0.vqh"
  318. #include "books/coupled/_44c6_s0_p6_0.vqh"
  319. #include "books/coupled/_44c6_s1_p6_0.vqh"
  320. #include "books/coupled/_44c6_s2_p6_0.vqh"
  321. #include "books/coupled/_44c6_s0_p7_0.vqh"
  322. #include "books/coupled/_44c6_s0_p7_1.vqh"
  323. #include "books/coupled/_44c6_s1_p7_0.vqh"
  324. #include "books/coupled/_44c6_s1_p7_1.vqh"
  325. #include "books/coupled/_44c6_s2_p7_0.vqh"
  326. #include "books/coupled/_44c6_s2_p7_1.vqh"
  327. #include "books/coupled/_44c6_s3_p7_0.vqh"
  328. #include "books/coupled/_44c6_s3_p7_1.vqh"
  329. #include "books/coupled/_44c6_s0_p8_0.vqh"
  330. #include "books/coupled/_44c6_s0_p8_1.vqh"
  331. #include "books/coupled/_44c6_s1_p8_0.vqh"
  332. #include "books/coupled/_44c6_s1_p8_1.vqh"
  333. #include "books/coupled/_44c6_s2_p8_0.vqh"
  334. #include "books/coupled/_44c6_s2_p8_1.vqh"
  335. #include "books/coupled/_44c6_s3_p8_0.vqh"
  336. #include "books/coupled/_44c6_s3_p8_1.vqh"
  337. #include "books/coupled/_44c6_s0_p9_0.vqh"
  338. #include "books/coupled/_44c6_s0_p9_1.vqh"
  339. #include "books/coupled/_44c6_s0_p9_2.vqh"
  340. #include "books/coupled/_44c6_s1_p9_0.vqh"
  341. #include "books/coupled/_44c6_s1_p9_1.vqh"
  342. #include "books/coupled/_44c6_s1_p9_2.vqh"
  343. #include "books/coupled/_44c6_s2_p9_0.vqh"
  344. #include "books/coupled/_44c6_s2_p9_1.vqh"
  345. #include "books/coupled/_44c6_s2_p9_2.vqh"
  346. #include "books/coupled/_44c6_s3_p9_0.vqh"
  347. #include "books/coupled/_44c6_s3_p9_1.vqh"
  348. #include "books/coupled/_44c6_s3_p9_2.vqh"
  349. #include "books/coupled/_44c7_short.vqh"
  350. #include "books/coupled/_44c7_long.vqh"
  351. #include "books/coupled/_44c7_s0_p1_0.vqh"
  352. #include "books/coupled/_44c7_s0_p1_1.vqh"
  353. #include "books/coupled/_44c7_s0_p2_0.vqh"
  354. #include "books/coupled/_44c7_s0_p2_1.vqh"
  355. #include "books/coupled/_44c7_s0_p3_0.vqh"
  356. #include "books/coupled/_44c7_s0_p4_0.vqh"
  357. #include "books/coupled/_44c7_s0_p5_0.vqh"
  358. #include "books/coupled/_44c7_s0_p6_0.vqh"
  359. #include "books/coupled/_44c7_s0_p6_1.vqh"
  360. #include "books/coupled/_44c7_s0_p7_0.vqh"
  361. #include "books/coupled/_44c7_s0_p7_1.vqh"
  362. #include "books/coupled/_44c7_s0_p8_0.vqh"
  363. #include "books/coupled/_44c7_s0_p8_1.vqh"
  364. #include "books/coupled/_44c7_s0_p9_0.vqh"
  365. #include "books/coupled/_44c7_s0_p9_1.vqh"
  366. #include "books/coupled/_44c7_s0_p9_2.vqh"
  367. #include "books/coupled/_44c7_s0_p0_r0.vqh"
  368. #include "books/coupled/_44c7_s0_p0_r1.vqh"
  369. #include "books/coupled/_44c7_s0_pN_r0.vqh"
  370. #include "books/coupled/_44c7_s0_pN_r1.vqh"
  371. #include "books/coupled/_44c8_short.vqh"
  372. #include "books/coupled/_44c8_long.vqh"
  373. #include "books/coupled/_44c8_s0_p1_0.vqh"
  374. #include "books/coupled/_44c8_s0_p1_1.vqh"
  375. #include "books/coupled/_44c8_s0_p2_0.vqh"
  376. #include "books/coupled/_44c8_s0_p2_1.vqh"
  377. #include "books/coupled/_44c8_s0_p3_0.vqh"
  378. #include "books/coupled/_44c8_s0_p4_0.vqh"
  379. #include "books/coupled/_44c8_s0_p5_0.vqh"
  380. #include "books/coupled/_44c8_s0_p6_0.vqh"
  381. #include "books/coupled/_44c8_s0_p6_1.vqh"
  382. #include "books/coupled/_44c8_s0_p7_0.vqh"
  383. #include "books/coupled/_44c8_s0_p7_1.vqh"
  384. #include "books/coupled/_44c8_s0_p8_0.vqh"
  385. #include "books/coupled/_44c8_s0_p8_1.vqh"
  386. #include "books/coupled/_44c8_s0_p9_0.vqh"
  387. #include "books/coupled/_44c8_s0_p9_1.vqh"
  388. #include "books/coupled/_44c8_s0_p9_2.vqh"
  389. #include "books/coupled/_44c9_short.vqh"
  390. #include "books/coupled/_44c9_long.vqh"
  391. #include "books/coupled/_44c9_s0_p1_0.vqh"
  392. #include "books/coupled/_44c9_s0_p1_1.vqh"
  393. #include "books/coupled/_44c9_s0_p2_0.vqh"
  394. #include "books/coupled/_44c9_s0_p2_1.vqh"
  395. #include "books/coupled/_44c9_s0_p3_0.vqh"
  396. #include "books/coupled/_44c9_s0_p4_0.vqh"
  397. #include "books/coupled/_44c9_s0_p5_0.vqh"
  398. #include "books/coupled/_44c9_s0_p6_0.vqh"
  399. #include "books/coupled/_44c9_s0_p6_1.vqh"
  400. #include "books/coupled/_44c9_s0_p7_0.vqh"
  401. #include "books/coupled/_44c9_s0_p7_1.vqh"
  402. #include "books/coupled/_44c9_s0_p8_0.vqh"
  403. #include "books/coupled/_44c9_s0_p8_1.vqh"
  404. #include "books/coupled/_44c9_s0_p9_0.vqh"
  405. #include "books/coupled/_44c9_s0_p9_1.vqh"
  406. #include "books/coupled/_44c9_s0_p9_2.vqh"
  407. /* residue backfill is entered in the template array as if stereo
  408. backfill is not in use. It's up to vorbisenc to make the
  409. appropriate index adjustment */
  410. static vorbis_residue_template _residue_template_44_stereo[11]={
  411. /* mode 0; 64-ish */
  412. {{&_residue_44_low, &_residue_44_low},
  413. {&_huff_book__44c0_short,&_huff_book__44c0_long},
  414. /* mostly temporary entries pending training */
  415. { {{0},{0,0,&_44c0_s0_p1_0},{0,0,&_44c0_s0_p2_0},{0,0,&_44c0_s0_p3_0},
  416. {&_44c0_s0_p4_0,&_44c0_s0_p4_1},{0,0,&_44c0_s0_p5_0},{0,0,&_44c0_s0_p6_0},
  417. {&_44c0_s0_p7_0,&_44c0_s0_p7_1,&_44c0_s0_p7_2}}, /* lossless stereo */
  418. {{0},{0,0,&_44c0_s0_p1_0},{0,0,&_44c0_s0_p2_0},{0,0,&_44c0_s0_p3_0},
  419. {&_44c0_s0_p4_0,&_44c0_s0_p4_1},{0,0,&_44c0_s1_p5_0},{0,0,&_44c0_s1_p6_0},
  420. {&_44c0_s1_p7_0,&_44c0_s1_p7_1,&_44c0_s1_p7_2}}, /* 6dB (2.5) stereo */
  421. {{0},{0,0,&_44c0_s0_p1_0},{0,0,&_44c0_s0_p2_0},{0,0,&_44c0_s0_p3_0},
  422. {&_44c0_s0_p4_0,&_44c0_s0_p4_1},{0,0,&_44c0_s1_p5_0},{0,0,&_44c0_s2_p6_0},
  423. {&_44c0_s2_p7_0,&_44c0_s2_p7_1,&_44c0_s2_p7_2}}, /* 12dB (4.5) stereo */
  424. {{0},{0,0,&_44c0_s0_p1_0},{0,0,&_44c0_s0_p2_0},{0,0,&_44c0_s0_p3_0},
  425. {&_44c0_s0_p4_0,&_44c0_s0_p4_1},{0,0,&_44c0_s1_p5_0},{0,0,&_44c0_s2_p6_0},
  426. {&_44c0_s3_p7_0,&_44c0_s3_p7_1,&_44c0_s3_p7_2}}, /* 18dB (8.5) stereo */
  427. {{0}}, /* 24dB (16.5) stereo */
  428. },
  429. { {0}, /* lossless stereo */
  430. {0,0,0,0,0,&_44c0_s1_p5_s0,&_44c0_s1_p6_s0,&_44c0_s1_p7_s0}, /* 6dB (2.5) stereo */
  431. {0,0,0,0,0,0,&_44c0_s2_p6_s0,&_44c0_s2_p7_s0}, /* 12dB (4.5) stereo */
  432. {0,0,0,0,0,0,0,&_44c0_s3_p7_s0}, /* 18dB (8.5) stereo */
  433. {0},
  434. },
  435. {
  436. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  437. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  438. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  439. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  440. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  441. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  442. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  443. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* lossless stereo */
  444. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  445. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  446. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  447. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  448. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  449. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  450. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  451. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 6dB (2.5) stereo */
  452. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  453. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  454. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  455. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  456. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  457. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  458. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  459. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 12dB (4.5) stereo */
  460. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  461. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  462. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  463. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  464. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  465. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  466. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  467. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 18dB (8.5) stereo */
  468. {{0}}, /* 24dB (16.5) stereo */
  469. },
  470. },
  471. /* mode 1; 80-ish */
  472. {{&_residue_44_low, &_residue_44_low},
  473. {&_huff_book__44c1_short,&_huff_book__44c1_long},
  474. /* mostly temporary entries pending training */
  475. { {{0},{0,0,&_44c1_s0_p1_0},{0,0,&_44c1_s0_p2_0},{0,0,&_44c1_s0_p3_0},
  476. {&_44c1_s0_p4_0,&_44c1_s0_p4_1},{0,0,&_44c1_s0_p5_0},{0,0,&_44c1_s0_p6_0},
  477. {&_44c1_s0_p7_0,&_44c1_s0_p7_1,&_44c1_s0_p7_2}}, /* lossless stereo */
  478. {{0},{0,0,&_44c1_s0_p1_0},{0,0,&_44c1_s0_p2_0},{0,0,&_44c1_s0_p3_0},
  479. {&_44c1_s0_p4_0,&_44c1_s0_p4_1},{0,0,&_44c1_s1_p5_0},{0,0,&_44c1_s1_p6_0},
  480. {&_44c1_s1_p7_0,&_44c1_s1_p7_1,&_44c1_s1_p7_2}}, /* 6dB (2.5) stereo */
  481. {{0},{0,0,&_44c1_s0_p1_0},{0,0,&_44c1_s0_p2_0},{0,0,&_44c1_s0_p3_0},
  482. {&_44c1_s0_p4_0,&_44c1_s0_p4_1},{0,0,&_44c1_s1_p5_0},{0,0,&_44c1_s2_p6_0},
  483. {&_44c1_s2_p7_0,&_44c1_s2_p7_1,&_44c1_s2_p7_2}}, /* 12dB (4.5) stereo */
  484. {{0},{0,0,&_44c1_s0_p1_0},{0,0,&_44c1_s0_p2_0},{0,0,&_44c1_s0_p3_0},
  485. {&_44c1_s0_p4_0,&_44c1_s0_p4_1},{0,0,&_44c1_s1_p5_0},{0,0,&_44c1_s2_p6_0},
  486. {&_44c1_s3_p7_0,&_44c1_s3_p7_1,&_44c1_s3_p7_2}}, /* 18dB (8.5) stereo */
  487. {{0}}, /* 24dB (16.5) stereo */
  488. },
  489. { {0}, /* lossless stereo */
  490. {0,0,0,0,0,&_44c0_s1_p5_s0,&_44c0_s1_p6_s0,&_44c0_s1_p7_s0}, /* 6dB (2.5) stereo */
  491. {0,0,0,0,0,0,&_44c0_s2_p6_s0,&_44c0_s2_p7_s0}, /* 12dB (4.5) stereo */
  492. {0,0,0,0,0,0,0,&_44c0_s3_p7_s0}, /* 18dB (8.5) stereo */
  493. {0},
  494. },
  495. {
  496. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  497. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  498. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  499. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  500. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  501. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  502. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  503. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* lossless stereo */
  504. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  505. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  506. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  507. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  508. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  509. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  510. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  511. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 6dB (2.5) stereo */
  512. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  513. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  514. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  515. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  516. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  517. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  518. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  519. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 12dB (4.5) stereo */
  520. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  521. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  522. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  523. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  524. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  525. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  526. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  527. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 18dB (8.5) stereo */
  528. {{0}}, /* 24dB (16.5) stereo */
  529. },
  530. },
  531. /* mode 2; 96-ish */
  532. {{&_residue_44_low, &_residue_44_low},
  533. {&_huff_book__44c2_short,&_huff_book__44c2_long},
  534. /* mostly temporary entries pending training */
  535. { {{0},{0,0,&_44c2_s0_p1_0},{0,0,&_44c2_s0_p2_0},{0,0,&_44c2_s0_p3_0},
  536. {&_44c2_s0_p4_0,&_44c2_s0_p4_1},{0,0,&_44c2_s0_p5_0},{0,0,&_44c2_s0_p6_0},
  537. {&_44c2_s0_p7_0,&_44c2_s0_p7_1,&_44c2_s0_p7_2}}, /* lossless stereo */
  538. {{0},{0,0,&_44c2_s0_p1_0},{0,0,&_44c2_s0_p2_0},{0,0,&_44c2_s0_p3_0},
  539. {&_44c2_s0_p4_0,&_44c2_s0_p4_1},{0,0,&_44c2_s1_p5_0},{0,0,&_44c2_s1_p6_0},
  540. {&_44c2_s1_p7_0,&_44c2_s1_p7_1,&_44c2_s1_p7_2}}, /* 6dB (2.5) stereo */
  541. {{0},{0,0,&_44c2_s0_p1_0},{0,0,&_44c2_s0_p2_0},{0,0,&_44c2_s0_p3_0},
  542. {&_44c2_s0_p4_0,&_44c2_s0_p4_1},{0,0,&_44c2_s1_p5_0},{0,0,&_44c2_s2_p6_0},
  543. {&_44c2_s2_p7_0,&_44c2_s2_p7_1,&_44c2_s2_p7_2}}, /* 12dB (4.5) stereo */
  544. {{0},{0,0,&_44c2_s0_p1_0},{0,0,&_44c2_s0_p2_0},{0,0,&_44c2_s0_p3_0},
  545. {&_44c2_s0_p4_0,&_44c2_s0_p4_1},{0,0,&_44c2_s1_p5_0},{0,0,&_44c2_s2_p6_0},
  546. {&_44c2_s3_p7_0,&_44c2_s3_p7_1,&_44c2_s3_p7_2}}, /* 18dB (8.5) stereo */
  547. {{0}}, /* 24dB (16.5) stereo */
  548. },
  549. { {0}, /* lossless stereo */
  550. {0,0,0,0,0,&_44c0_s1_p5_s0,&_44c0_s1_p6_s0,&_44c0_s1_p7_s0}, /* 6dB (2.5) stereo */
  551. {0,0,0,0,0,0,&_44c0_s2_p6_s0,&_44c0_s2_p7_s0}, /* 12dB (4.5) stereo */
  552. {0,0,0,0,0,0,0,&_44c0_s3_p7_s0}, /* 18dB (8.5) stereo */
  553. {0},
  554. },
  555. {
  556. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  557. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  558. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  559. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  560. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  561. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  562. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  563. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* lossless stereo */
  564. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  565. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  566. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  567. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  568. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  569. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  570. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  571. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 6dB (2.5) stereo */
  572. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  573. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  574. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  575. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  576. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  577. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  578. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  579. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 12dB (4.5) stereo */
  580. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  581. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  582. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  583. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  584. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  585. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  586. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  587. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 18dB (8.5) stereo */
  588. {{0}}, /* 24dB (16.5) stereo */
  589. },
  590. },
  591. /* mode 3; 112-ish */
  592. {{&_residue_44_low, &_residue_44_low},
  593. {&_huff_book__44c3_short,&_huff_book__44c3_long},
  594. /* mostly temporary entries pending training */
  595. { {{0},{0,0,&_44c3_s0_p1_0},{0,0,&_44c3_s0_p2_0},{0,0,&_44c3_s0_p3_0},
  596. {&_44c3_s0_p4_0,&_44c3_s0_p4_1},{0,0,&_44c3_s0_p5_0},{0,0,&_44c3_s0_p6_0},
  597. {&_44c3_s0_p7_0,&_44c3_s0_p7_1,&_44c3_s0_p7_2}}, /* lossless stereo */
  598. {{0},{0,0,&_44c3_s0_p1_0},{0,0,&_44c3_s0_p2_0},{0,0,&_44c3_s0_p3_0},
  599. {&_44c3_s0_p4_0,&_44c3_s0_p4_1},{0,0,&_44c3_s1_p5_0},{0,0,&_44c3_s1_p6_0},
  600. {&_44c3_s1_p7_0,&_44c3_s1_p7_1,&_44c3_s1_p7_2}}, /* 6dB (2.5) stereo */
  601. {{0},{0,0,&_44c3_s0_p1_0},{0,0,&_44c3_s0_p2_0},{0,0,&_44c3_s0_p3_0},
  602. {&_44c3_s0_p4_0,&_44c3_s0_p4_1},{0,0,&_44c3_s1_p5_0},{0,0,&_44c3_s2_p6_0},
  603. {&_44c3_s2_p7_0,&_44c3_s2_p7_1,&_44c3_s2_p7_2}}, /* 12dB (4.5) stereo */
  604. {{0},{0,0,&_44c3_s0_p1_0},{0,0,&_44c3_s0_p2_0},{0,0,&_44c3_s0_p3_0},
  605. {&_44c3_s0_p4_0,&_44c3_s0_p4_1},{0,0,&_44c3_s1_p5_0},{0,0,&_44c3_s2_p6_0},
  606. {&_44c3_s3_p7_0,&_44c3_s3_p7_1,&_44c3_s3_p7_2}}, /* 18dB (8.5) stereo */
  607. {{0}}, /* 24dB (16.5) stereo */
  608. },
  609. { {0}, /* lossless stereo */
  610. {0,0,0,0,0,&_44c0_s1_p5_s0,&_44c0_s1_p6_s0,&_44c0_s1_p7_s0}, /* 6dB (2.5) stereo */
  611. {0,0,0,0,0,0,&_44c0_s2_p6_s0,&_44c0_s2_p7_s0}, /* 12dB (4.5) stereo */
  612. {0,0,0,0,0,0,0,&_44c0_s3_p7_s0}, /* 18dB (8.5) stereo */
  613. {0},
  614. },
  615. {
  616. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  617. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  618. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  619. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  620. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  621. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  622. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  623. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* lossless stereo */
  624. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  625. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  626. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  627. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  628. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  629. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  630. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  631. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 6dB (2.5) stereo */
  632. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  633. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  634. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  635. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  636. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  637. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  638. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  639. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 12dB (4.5) stereo */
  640. {{&_44c0_s0_p0_r0,&_44c0_s0_p0_r1},
  641. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  642. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  643. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  644. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1},
  645. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  646. {&_44c0_s1_pS_r0,&_44c0_s1_pS_r1},
  647. {&_44c0_s0_pN_r0,&_44c0_s0_pN_r1}}, /* 18dB (8.5) stereo */
  648. {{0}}, /* 24dB (16.5) stereo */
  649. },
  650. },
  651. /* mode 4; 128-ish */
  652. {{&_residue_44_mid, &_residue_44_mid},
  653. {&_huff_book__44c4_short,&_huff_book__44c4_long},
  654. {
  655. {{0},{0,0,&_44c4_s0_p1_0},{0,0,&_44c4_s0_p2_0},{0,0,&_44c4_s0_p3_0},
  656. {0,0,&_44c4_s0_p4_0},{0,0,&_44c4_s0_p5_0},{0,0,&_44c4_s0_p6_0},
  657. {&_44c4_s0_p7_0,&_44c4_s0_p7_1},{&_44c4_s0_p8_0,&_44c4_s0_p8_1},
  658. {&_44c4_s0_p9_0,&_44c4_s0_p9_1,&_44c4_s0_p9_2}},
  659. {{0},{0,0,&_44c4_s0_p1_0},{0,0,&_44c4_s1_p2_0},{0,0,&_44c4_s0_p3_0},
  660. {0,0,&_44c4_s1_p4_0},{0,0,&_44c4_s0_p5_0},{0,0,&_44c4_s1_p6_0},
  661. {&_44c4_s1_p7_0,&_44c4_s1_p7_1},{&_44c4_s1_p8_0,&_44c4_s1_p8_1},
  662. {&_44c4_s1_p9_0,&_44c4_s1_p9_1,&_44c4_s1_p9_2}},
  663. {{0},{0,0,&_44c4_s0_p1_0},{0,0,&_44c4_s1_p2_0},{0,0,&_44c4_s0_p3_0},
  664. {0,0,&_44c4_s1_p4_0},{0,0,&_44c4_s0_p5_0},{0,0,&_44c4_s2_p6_0},
  665. {&_44c4_s2_p7_0,&_44c4_s2_p7_1},{&_44c4_s2_p8_0,&_44c4_s2_p8_1},
  666. {&_44c4_s2_p9_0,&_44c4_s2_p9_1,&_44c4_s2_p9_2}},
  667. {{0},{0,0,&_44c4_s0_p1_0},{0,0,&_44c4_s1_p2_0},{0,0,&_44c4_s0_p3_0},
  668. {0,0,&_44c4_s1_p4_0},{0,0,&_44c4_s0_p5_0},{0,0,&_44c4_s2_p6_0},
  669. {&_44c4_s3_p7_0,&_44c4_s3_p7_1},{&_44c4_s3_p8_0,&_44c4_s3_p8_1},
  670. {&_44c4_s3_p9_0,&_44c4_s3_p9_1,&_44c4_s3_p9_2}},
  671. {{0}}, /* 24dB (16.5) stereo */
  672. },
  673. { {0}, /* lossless stereo */
  674. {0,0,&_44c4_s1_p2_s0,0,&_44c4_s1_p4_s0,0,&_44c4_s1_p6_s0,&_44c4_s1_p7_s0,
  675. &_44c4_s1_p8_s0,&_44c4_s1_p9_s0}, /* (2.5) stereo */
  676. {0,0,0,0,0,0,&_44c4_s2_p6_s0,&_44c4_s2_p7_s0,&_44c4_s2_p8_s0,
  677. &_44c4_s2_p9_s0}, /* (4.5) stereo */
  678. {0,0,0,0,0,0,0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0}, /* (8.5) stereo */
  679. {0},
  680. },
  681. {
  682. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  683. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  684. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  685. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  686. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  687. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  688. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  689. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  690. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  691. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* lossless stereo */
  692. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  693. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  694. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  695. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  696. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  697. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  698. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  699. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  700. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  701. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 6dB stereo */
  702. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  703. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  704. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  705. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  706. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  707. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  708. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  709. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  710. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  711. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 12dB stereo */
  712. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  713. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  714. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  715. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  716. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  717. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  718. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  719. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  720. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  721. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 18dB stereo */
  722. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  723. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  724. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  725. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  726. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  727. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  728. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  729. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  730. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  731. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 24dB stereo */
  732. },
  733. },
  734. /* mode 5; 160-ish */
  735. {{&_residue_44_mid, &_residue_44_mid},
  736. {&_huff_book__44c5_short,&_huff_book__44c5_long},
  737. {
  738. {{0},{0,0,&_44c5_s0_p1_0},{0,0,&_44c5_s0_p2_0},{0,0,&_44c5_s0_p3_0},
  739. {0,0,&_44c5_s0_p4_0},{0,0,&_44c5_s0_p5_0},{0,0,&_44c5_s0_p6_0},
  740. {&_44c5_s0_p7_0,&_44c5_s0_p7_1},{&_44c5_s0_p8_0,&_44c5_s0_p8_1},
  741. {&_44c5_s0_p9_0,&_44c5_s0_p9_1,&_44c5_s0_p9_2}},
  742. {{0},{0,0,&_44c5_s0_p1_0},{0,0,&_44c5_s1_p2_0},{0,0,&_44c5_s0_p3_0},
  743. {0,0,&_44c5_s1_p4_0},{0,0,&_44c5_s0_p5_0},{0,0,&_44c5_s1_p6_0},
  744. {&_44c5_s1_p7_0,&_44c5_s1_p7_1},{&_44c5_s1_p8_0,&_44c5_s1_p8_1},
  745. {&_44c5_s1_p9_0,&_44c5_s1_p9_1,&_44c5_s1_p9_2}},
  746. {{0},{0,0,&_44c5_s0_p1_0},{0,0,&_44c5_s1_p2_0},{0,0,&_44c5_s0_p3_0},
  747. {0,0,&_44c5_s1_p4_0},{0,0,&_44c5_s0_p5_0},{0,0,&_44c5_s2_p6_0},
  748. {&_44c5_s2_p7_0,&_44c5_s2_p7_1},{&_44c5_s2_p8_0,&_44c5_s2_p8_1},
  749. {&_44c5_s2_p9_0,&_44c5_s2_p9_1,&_44c5_s2_p9_2}},
  750. {{0},{0,0,&_44c5_s0_p1_0},{0,0,&_44c5_s1_p2_0},{0,0,&_44c5_s0_p3_0},
  751. {0,0,&_44c5_s1_p4_0},{0,0,&_44c5_s0_p5_0},{0,0,&_44c5_s2_p6_0},
  752. {&_44c5_s3_p7_0,&_44c5_s3_p7_1},{&_44c5_s3_p8_0,&_44c5_s3_p8_1},
  753. {&_44c5_s3_p9_0,&_44c5_s3_p9_1,&_44c5_s3_p9_2}},
  754. {{0}}, /* 24dB (16.5) stereo */
  755. },
  756. { {0}, /* lossless stereo */
  757. {0,0,&_44c4_s1_p2_s0,0,&_44c4_s1_p4_s0,0,&_44c4_s1_p6_s0,&_44c4_s1_p7_s0,
  758. &_44c4_s1_p8_s0,&_44c4_s1_p9_s0}, /* (2.5) stereo */
  759. {0,0,0,0,0,0,&_44c4_s2_p6_s0,&_44c4_s2_p7_s0,&_44c4_s2_p8_s0,
  760. &_44c4_s2_p9_s0}, /* (4.5) stereo */
  761. {0,0,0,0,0,0,0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0}, /* (8.5) stereo */
  762. {0},
  763. },
  764. {
  765. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  766. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  767. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  768. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  769. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  770. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  771. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  772. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  773. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  774. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* lossless stereo */
  775. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  776. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  777. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  778. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  779. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  780. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  781. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  782. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  783. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  784. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 6dB stereo */
  785. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  786. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  787. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  788. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  789. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  790. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  791. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  792. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  793. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  794. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 12dB stereo */
  795. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  796. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  797. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  798. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  799. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  800. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  801. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  802. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  803. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  804. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 18dB stereo */
  805. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  806. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  807. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  808. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  809. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  810. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  811. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  812. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  813. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  814. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 24dB stereo */
  815. },
  816. },
  817. /* mode 6; 192-ish */
  818. {{&_residue_44_mid, &_residue_44_mid},
  819. {&_huff_book__44c6_short,&_huff_book__44c6_long},
  820. {
  821. {{0},{0,0,&_44c6_s0_p1_0},{0,0,&_44c6_s0_p2_0},{0,0,&_44c6_s0_p3_0},
  822. {0,0,&_44c6_s0_p4_0},{0,0,&_44c6_s0_p5_0},{0,0,&_44c6_s0_p6_0},
  823. {&_44c6_s0_p7_0,&_44c6_s0_p7_1},{&_44c6_s0_p8_0,&_44c6_s0_p8_1},
  824. {&_44c6_s0_p9_0,&_44c6_s0_p9_1,&_44c6_s0_p9_2}},
  825. {{0},{0,0,&_44c6_s0_p1_0},{0,0,&_44c6_s1_p2_0},{0,0,&_44c6_s0_p3_0},
  826. {0,0,&_44c6_s1_p4_0},{0,0,&_44c6_s0_p5_0},{0,0,&_44c6_s1_p6_0},
  827. {&_44c6_s1_p7_0,&_44c6_s1_p7_1},{&_44c6_s1_p8_0,&_44c6_s1_p8_1},
  828. {&_44c6_s1_p9_0,&_44c6_s1_p9_1,&_44c6_s1_p9_2}},
  829. {{0},{0,0,&_44c6_s0_p1_0},{0,0,&_44c6_s1_p2_0},{0,0,&_44c6_s0_p3_0},
  830. {0,0,&_44c6_s1_p4_0},{0,0,&_44c6_s0_p5_0},{0,0,&_44c6_s2_p6_0},
  831. {&_44c6_s2_p7_0,&_44c6_s2_p7_1},{&_44c6_s2_p8_0,&_44c6_s2_p8_1},
  832. {&_44c6_s2_p9_0,&_44c6_s2_p9_1,&_44c6_s2_p9_2}},
  833. {{0},{0,0,&_44c6_s0_p1_0},{0,0,&_44c6_s1_p2_0},{0,0,&_44c6_s0_p3_0},
  834. {0,0,&_44c6_s1_p4_0},{0,0,&_44c6_s0_p5_0},{0,0,&_44c6_s2_p6_0},
  835. {&_44c6_s3_p7_0,&_44c6_s3_p7_1},{&_44c6_s3_p8_0,&_44c6_s3_p8_1},
  836. {&_44c6_s3_p9_0,&_44c6_s3_p9_1,&_44c6_s3_p9_2}},
  837. {{0}}, /* 24dB (16.5) stereo */
  838. },
  839. { {0}, /* lossless stereo */
  840. {0,0,&_44c4_s1_p2_s0,0,&_44c4_s1_p4_s0,0,&_44c4_s1_p6_s0,&_44c4_s1_p7_s0,
  841. &_44c4_s1_p8_s0,&_44c4_s1_p9_s0}, /* (2.5) stereo */
  842. {0,0,0,0,0,0,&_44c4_s2_p6_s0,&_44c4_s2_p7_s0,&_44c4_s2_p8_s0,
  843. &_44c4_s2_p9_s0}, /* (4.5) stereo */
  844. {0,0,0,0,0,0,0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0,&_44c4_s3_p9_s0}, /* (8.5) stereo */
  845. {0},
  846. },
  847. {
  848. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  849. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  850. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  851. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  852. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  853. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  854. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  855. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  856. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  857. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* lossless stereo */
  858. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  859. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  860. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  861. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  862. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  863. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  864. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  865. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  866. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  867. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 6dB stereo */
  868. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  869. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  870. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  871. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  872. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  873. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  874. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  875. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  876. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  877. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 12dB stereo */
  878. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  879. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  880. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  881. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  882. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  883. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  884. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  885. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  886. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  887. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 18dB stereo */
  888. {{&_44c4_s0_p0_r0,&_44c4_s0_p0_r1},
  889. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  890. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  891. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  892. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  893. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  894. {&_44c4_s1_pS_r0,&_44c4_s1_pS_r1},
  895. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  896. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1},
  897. {&_44c4_s0_pN_r0,&_44c4_s0_pN_r1}}, /* 24dB stereo */
  898. },
  899. },
  900. /* mode 7; 224-ish */
  901. {{&_residue_44_high, &_residue_44_high},
  902. {&_huff_book__44c7_short,&_huff_book__44c7_long},
  903. { {{0},{&_44c7_s0_p1_0,&_44c7_s0_p1_1},
  904. {&_44c7_s0_p2_0,&_44c7_s0_p2_1},
  905. {0,0,&_44c7_s0_p3_0},{0,0,&_44c7_s0_p4_0},{0,0,&_44c7_s0_p5_0},
  906. {&_44c7_s0_p6_0,&_44c7_s0_p6_1},
  907. {&_44c7_s0_p7_0,&_44c7_s0_p7_1},
  908. {&_44c7_s0_p8_0,&_44c7_s0_p8_1},
  909. {&_44c7_s0_p9_0,&_44c7_s0_p9_1,&_44c7_s0_p9_2}},
  910. {{0}}, /* 6dB (2.5) stereo */
  911. {{0}}, /* 12dB (4.5) stereo */
  912. {{0}}, /* 18dB (8.5) stereo */
  913. {{0}}, /* 24dB (16.5) stereo */
  914. },
  915. { {0}, /* lossless stereo */
  916. {0}, /* 6dB (2.5) stereo */
  917. {0}, /* 12dB (4.5) stereo */
  918. {0}, /* 18dB (8.5) stereo */
  919. {0},
  920. //{0,0,0,0,0,0,0,0,&44c0_s4_s8,&44c0_s4_s9},/* 24dB (16.5) stereo */
  921. },
  922. {
  923. {{&_44c7_s0_p0_r0,&_44c7_s0_p0_r1},
  924. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  925. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  926. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  927. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  928. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  929. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  930. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  931. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  932. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1}}, /* lossless stereo */
  933. {{0}}, /* 6dB (2.5) stereo */
  934. {{0}}, /* 12dB (4.5) stereo */
  935. {{0}}, /* 18dB (8.5) stereo */
  936. //{{&44c0_s0_r0_0,&44c0_s0_r0_1},{&44c0_s0_r1_0,&44c0_s0_r1_1},
  937. // {&44c0_s0_r2_0,&44c0_s0_r2_1},{&44c0_s0_r3_0,&44c0_s0_r3_1},
  938. // {&44c0_s0_r4_0,&44c0_s0_r4_1},{&44c0_s1_r5_0,&44c0_s1_r5_1},
  939. // {&44c0_s1_r6_0,&44c0_s1_r6_1},{&44c0_s2_r7_0,&44c0_s2_r7_1},
  940. // {&44c0_s4_r8_0,&44c0_s3_r8_1},{&44c0_s4_r9_0,&44c0_s3_r9_1}}, /* 18dB (8.5) stereo */
  941. {{0}}, /* 24dB (16.5) stereo */
  942. },
  943. },
  944. /* mode 8; 256-ish */
  945. {{&_residue_44_high, &_residue_44_high},
  946. {&_huff_book__44c8_short,&_huff_book__44c8_long},
  947. { {{0},{&_44c8_s0_p1_0,&_44c8_s0_p1_1},
  948. {&_44c8_s0_p2_0,&_44c8_s0_p2_1},
  949. {0,0,&_44c8_s0_p3_0},{0,0,&_44c8_s0_p4_0},{0,0,&_44c8_s0_p5_0},
  950. {&_44c8_s0_p6_0,&_44c8_s0_p6_1},
  951. {&_44c8_s0_p7_0,&_44c8_s0_p7_1},
  952. {&_44c8_s0_p8_0,&_44c8_s0_p8_1},
  953. {&_44c8_s0_p9_0,&_44c8_s0_p9_1,&_44c8_s0_p9_2}},
  954. {{0}}, /* 6dB (2.5) stereo */
  955. {{0}}, /* 12dB (4.5) stereo */
  956. {{0}}, /* 18dB (8.5) stereo */
  957. {{0}}, /* 24dB (16.5) stereo */
  958. },
  959. { {0}, /* lossless stereo */
  960. {0}, /* 6dB (2.5) stereo */
  961. {0}, /* 12dB (4.5) stereo */
  962. {0}, /* 18dB (8.5) stereo */
  963. {0},
  964. //{0,0,0,0,0,0,0,0,&44c0_s4_s8,&44c0_s4_s9},/* 24dB (16.5) stereo */
  965. },
  966. {
  967. {{&_44c7_s0_p0_r0,&_44c7_s0_p0_r1},
  968. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  969. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  970. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  971. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  972. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  973. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  974. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  975. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  976. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1}}, /* lossless stereo */
  977. {{0}}, /* 6dB (2.5) stereo */
  978. {{0}}, /* 12dB (4.5) stereo */
  979. {{0}}, /* 18dB (8.5) stereo */
  980. //{{&44c0_s0_r0_0,&44c0_s0_r0_1},{&44c0_s0_r1_0,&44c0_s0_r1_1},
  981. // {&44c0_s0_r2_0,&44c0_s0_r2_1},{&44c0_s0_r3_0,&44c0_s0_r3_1},
  982. // {&44c0_s0_r4_0,&44c0_s0_r4_1},{&44c0_s1_r5_0,&44c0_s1_r5_1},
  983. // {&44c0_s1_r6_0,&44c0_s1_r6_1},{&44c0_s2_r7_0,&44c0_s2_r7_1},
  984. // {&44c0_s4_r8_0,&44c0_s3_r8_1},{&44c0_s4_r9_0,&44c0_s3_r9_1}}, /* 18dB (8.5) stereo */
  985. {{0}}, /* 24dB (16.5) stereo */
  986. },
  987. },
  988. /* mode 9; 320-ish */
  989. {{&_residue_44_high, &_residue_44_high},
  990. {&_huff_book__44c9_short,&_huff_book__44c9_long},
  991. { {{0},{&_44c9_s0_p1_0,&_44c9_s0_p1_1},
  992. {&_44c9_s0_p2_0,&_44c9_s0_p2_1},
  993. {0,0,&_44c9_s0_p3_0},{0,0,&_44c9_s0_p4_0},{0,0,&_44c9_s0_p5_0},
  994. {&_44c9_s0_p6_0,&_44c9_s0_p6_1},
  995. {&_44c9_s0_p7_0,&_44c9_s0_p7_1},
  996. {&_44c9_s0_p8_0,&_44c9_s0_p8_1},
  997. {&_44c9_s0_p9_0,&_44c9_s0_p9_1,&_44c9_s0_p9_2}},
  998. {{0}}, /* 6dB (2.5) stereo */
  999. {{0}}, /* 12dB (4.5) stereo */
  1000. {{0}}, /* 18dB (8.5) stereo */
  1001. {{0}}, /* 24dB (16.5) stereo */
  1002. },
  1003. { {0}, /* lossless stereo */
  1004. {0}, /* 6dB (2.5) stereo */
  1005. {0}, /* 12dB (4.5) stereo */
  1006. {0}, /* 18dB (8.5) stereo */
  1007. {0},
  1008. //{0,0,0,0,0,0,0,0,&44c0_s4_s8,&44c0_s4_s9},/* 24dB (16.5) stereo */
  1009. },
  1010. {
  1011. {{&_44c7_s0_p0_r0,&_44c7_s0_p0_r1},
  1012. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1013. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1014. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1015. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1016. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1017. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1018. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1019. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1},
  1020. {&_44c7_s0_pN_r0,&_44c7_s0_pN_r1}}, /* lossless stereo */
  1021. {{0}}, /* 6dB (2.5) stereo */
  1022. {{0}}, /* 12dB (4.5) stereo */
  1023. {{0}}, /* 18dB (8.5) stereo */
  1024. //{{&44c0_s0_r0_0,&44c0_s0_r0_1},{&44c0_s0_r1_0,&44c0_s0_r1_1},
  1025. // {&44c0_s0_r2_0,&44c0_s0_r2_1},{&44c0_s0_r3_0,&44c0_s0_r3_1},
  1026. // {&44c0_s0_r4_0,&44c0_s0_r4_1},{&44c0_s1_r5_0,&44c0_s1_r5_1},
  1027. // {&44c0_s1_r6_0,&44c0_s1_r6_1},{&44c0_s2_r7_0,&44c0_s2_r7_1},
  1028. // {&44c0_s4_r8_0,&44c0_s3_r8_1},{&44c0_s4_r9_0,&44c0_s3_r9_1}}, /* 18dB (8.5) stereo */
  1029. {{0}}, /* 24dB (16.5) stereo */
  1030. },
  1031. }
  1032. };
  1033. #include "books/uncoupled/_44u0_p1_0.vqh"
  1034. #include "books/uncoupled/_44u0_p2_0.vqh"
  1035. #include "books/uncoupled/_44u0_p3_0.vqh"
  1036. #include "books/uncoupled/_44u0_p4_0.vqh"
  1037. #include "books/uncoupled/_44u0_p4_1.vqh"
  1038. #include "books/uncoupled/_44u0_p5_0.vqh"
  1039. #include "books/uncoupled/_44u0_p6_0.vqh"
  1040. #include "books/uncoupled/_44u0_p7_0.vqh"
  1041. #include "books/uncoupled/_44u0_p7_1.vqh"
  1042. #include "books/uncoupled/_44u0_p7_2.vqh"
  1043. #include "books/uncoupled/_44u0_p0_r0.vqh"
  1044. #include "books/uncoupled/_44u0_p1_r0.vqh"
  1045. #include "books/uncoupled/_44u0_p0_r1.vqh"
  1046. #include "books/uncoupled/_44u0_p1_r1.vqh"
  1047. #include "books/uncoupled/_44u4_p1_0.vqh"
  1048. #include "books/uncoupled/_44u4_p2_0.vqh"
  1049. #include "books/uncoupled/_44u4_p3_0.vqh"
  1050. #include "books/uncoupled/_44u4_p4_0.vqh"
  1051. #include "books/uncoupled/_44u4_p5_0.vqh"
  1052. #include "books/uncoupled/_44u4_p6_0.vqh"
  1053. #include "books/uncoupled/_44u4_p7_0.vqh"
  1054. #include "books/uncoupled/_44u4_p7_1.vqh"
  1055. #include "books/uncoupled/_44u4_p8_0.vqh"
  1056. #include "books/uncoupled/_44u4_p8_1.vqh"
  1057. #include "books/uncoupled/_44u4_p9_0.vqh"
  1058. #include "books/uncoupled/_44u4_p9_1.vqh"
  1059. #include "books/uncoupled/_44u4_p9_2.vqh"
  1060. #include "books/uncoupled/_44u4_p0_r0.vqh"
  1061. #include "books/uncoupled/_44u4_p1_r0.vqh"
  1062. #include "books/uncoupled/_44u4_p0_r1.vqh"
  1063. #include "books/uncoupled/_44u4_p1_r1.vqh"
  1064. #include "books/uncoupled/_44u7_p1_0.vqh"
  1065. #include "books/uncoupled/_44u7_p2_0.vqh"
  1066. #include "books/uncoupled/_44u7_p2_1.vqh"
  1067. #include "books/uncoupled/_44u7_p3_0.vqh"
  1068. #include "books/uncoupled/_44u7_p4_0.vqh"
  1069. #include "books/uncoupled/_44u7_p5_0.vqh"
  1070. #include "books/uncoupled/_44u7_p6_0.vqh"
  1071. #include "books/uncoupled/_44u7_p7_0.vqh"
  1072. #include "books/uncoupled/_44u7_p7_1.vqh"
  1073. #include "books/uncoupled/_44u7_p8_0.vqh"
  1074. #include "books/uncoupled/_44u7_p8_1.vqh"
  1075. #include "books/uncoupled/_44u7_p9_0.vqh"
  1076. #include "books/uncoupled/_44u7_p9_1.vqh"
  1077. #include "books/uncoupled/_44u7_p9_2.vqh"
  1078. #include "books/uncoupled/_44u7_p0_r0.vqh"
  1079. #include "books/uncoupled/_44u7_p1_r0.vqh"
  1080. #include "books/uncoupled/_44u7_p0_r1.vqh"
  1081. #include "books/uncoupled/_44u7_p1_r1.vqh"
  1082. static vorbis_residue_template _residue_template_44_uncoupled[11]={
  1083. /* mode 0; 40/c-ish */
  1084. {{&_residue_44_low_un, &_residue_44_low_un},
  1085. {&_huff_book__44c0_short,&_huff_book__44c0_long},
  1086. { {{0},
  1087. {0,0,&_44u0_p1_0},
  1088. {0,0,&_44u0_p2_0},
  1089. {0,0,&_44u0_p3_0},
  1090. {&_44u0_p4_0,&_44u0_p4_1},
  1091. {0,0,&_44u0_p5_0},
  1092. {0,0,&_44u0_p6_0},
  1093. {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}},
  1094. },
  1095. { {0} }, /* no stereo backfill in uncoupled modes */
  1096. { {{&_44u0_p0_r0,&_44u0_p0_r1},
  1097. {&_44u0_p1_r0,&_44u0_p1_r1},
  1098. {&_44u0_p1_r0,&_44u0_p1_r1},
  1099. {&_44u0_p1_r0,&_44u0_p1_r1},
  1100. {&_44u0_p1_r0,&_44u0_p1_r1},
  1101. {&_44u0_p1_r0,&_44u0_p1_r1},
  1102. {&_44u0_p1_r0,&_44u0_p1_r1},
  1103. {&_44u0_p1_r0,&_44u0_p1_r1}},
  1104. }
  1105. },
  1106. /* mode 1; 50-ish */
  1107. {{&_residue_44_low_un, &_residue_44_low_un},
  1108. {&_huff_book__44c1_short,&_huff_book__44c1_long},
  1109. { {{0},
  1110. {0,0,&_44u0_p1_0},
  1111. {0,0,&_44u0_p2_0},
  1112. {0,0,&_44u0_p3_0},
  1113. {&_44u0_p4_0,&_44u0_p4_1},
  1114. {0,0,&_44u0_p5_0},
  1115. {0,0,&_44u0_p6_0},
  1116. {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}},
  1117. },
  1118. { {0} }, /* no stereo backfill in uncoupled modes */
  1119. { {{&_44u0_p0_r0,&_44u0_p0_r1},
  1120. {&_44u0_p1_r0,&_44u0_p1_r1},
  1121. {&_44u0_p1_r0,&_44u0_p1_r1},
  1122. {&_44u0_p1_r0,&_44u0_p1_r1},
  1123. {&_44u0_p1_r0,&_44u0_p1_r1},
  1124. {&_44u0_p1_r0,&_44u0_p1_r1},
  1125. {&_44u0_p1_r0,&_44u0_p1_r1},
  1126. {&_44u0_p1_r0,&_44u0_p1_r1}},
  1127. }
  1128. },
  1129. /* mode 2; 60-ish */
  1130. {{&_residue_44_low_un, &_residue_44_low_un},
  1131. {&_huff_book__44c2_short,&_huff_book__44c2_long},
  1132. { {{0},
  1133. {0,0,&_44u0_p1_0},
  1134. {0,0,&_44u0_p2_0},
  1135. {0,0,&_44u0_p3_0},
  1136. {&_44u0_p4_0,&_44u0_p4_1},
  1137. {0,0,&_44u0_p5_0},
  1138. {0,0,&_44u0_p6_0},
  1139. {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}},
  1140. },
  1141. { {0} }, /* no stereo backfill in uncoupled modes */
  1142. { {{&_44u0_p0_r0,&_44u0_p0_r1},
  1143. {&_44u0_p1_r0,&_44u0_p1_r1},
  1144. {&_44u0_p1_r0,&_44u0_p1_r1},
  1145. {&_44u0_p1_r0,&_44u0_p1_r1},
  1146. {&_44u0_p1_r0,&_44u0_p1_r1},
  1147. {&_44u0_p1_r0,&_44u0_p1_r1},
  1148. {&_44u0_p1_r0,&_44u0_p1_r1},
  1149. {&_44u0_p1_r0,&_44u0_p1_r1}},
  1150. }
  1151. },
  1152. /* mode 3; 70-ish */
  1153. {{&_residue_44_low_un, &_residue_44_low_un},
  1154. {&_huff_book__44c3_short,&_huff_book__44c3_long},
  1155. { {{0},
  1156. {0,0,&_44u0_p1_0},
  1157. {0,0,&_44u0_p2_0},
  1158. {0,0,&_44u0_p3_0},
  1159. {&_44u0_p4_0,&_44u0_p4_1},
  1160. {0,0,&_44u0_p5_0},
  1161. {0,0,&_44u0_p6_0},
  1162. {&_44u0_p7_0,&_44u0_p7_1,&_44u0_p7_2}},
  1163. },
  1164. { {0} }, /* no stereo backfill in uncoupled modes */
  1165. { {{&_44u0_p0_r0,&_44u0_p0_r1},
  1166. {&_44u0_p1_r0,&_44u0_p1_r1},
  1167. {&_44u0_p1_r0,&_44u0_p1_r1},
  1168. {&_44u0_p1_r0,&_44u0_p1_r1},
  1169. {&_44u0_p1_r0,&_44u0_p1_r1},
  1170. {&_44u0_p1_r0,&_44u0_p1_r1},
  1171. {&_44u0_p1_r0,&_44u0_p1_r1},
  1172. {&_44u0_p1_r0,&_44u0_p1_r1}},
  1173. }
  1174. },
  1175. /* mode 4; 80-ish */
  1176. {{&_residue_44_mid, &_residue_44_mid},
  1177. {&_huff_book__44c4_short,&_huff_book__44c4_long},
  1178. { {{0},
  1179. {0,0,&_44u4_p1_0},
  1180. {0,0,&_44u4_p2_0},
  1181. {0,0,&_44u4_p3_0},
  1182. {0,0,&_44u4_p4_0},
  1183. {0,0,&_44u4_p5_0},
  1184. {0,0,&_44u4_p6_0},
  1185. {&_44u4_p7_0,&_44u4_p7_1},
  1186. {&_44u4_p8_0,&_44u4_p8_1},
  1187. {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}},
  1188. },
  1189. { {0} }, /* no stereo backfill in uncoupled modes */
  1190. { {{&_44u4_p0_r0,&_44u4_p0_r1},
  1191. {&_44u4_p1_r0,&_44u4_p1_r1},
  1192. {&_44u4_p1_r0,&_44u4_p1_r1},
  1193. {&_44u4_p1_r0,&_44u4_p1_r1},
  1194. {&_44u4_p1_r0,&_44u4_p1_r1},
  1195. {&_44u4_p1_r0,&_44u4_p1_r1},
  1196. {&_44u4_p1_r0,&_44u4_p1_r1},
  1197. {&_44u4_p1_r0,&_44u4_p1_r1},
  1198. {&_44u4_p1_r0,&_44u4_p1_r1},
  1199. {&_44u4_p1_r0,&_44u4_p1_r1}},
  1200. }
  1201. },
  1202. /* mode 5; 90-ish */
  1203. {{&_residue_44_mid, &_residue_44_mid},
  1204. {&_huff_book__44c5_short,&_huff_book__44c5_long},
  1205. { {{0},
  1206. {0,0,&_44u4_p1_0},
  1207. {0,0,&_44u4_p2_0},
  1208. {0,0,&_44u4_p3_0},
  1209. {0,0,&_44u4_p4_0},
  1210. {0,0,&_44u4_p5_0},
  1211. {0,0,&_44u4_p6_0},
  1212. {&_44u4_p7_0,&_44u4_p7_1},
  1213. {&_44u4_p8_0,&_44u4_p8_1},
  1214. {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}},
  1215. },
  1216. { {0} }, /* no stereo backfill in uncoupled modes */
  1217. { {{&_44u4_p0_r0,&_44u4_p0_r1},
  1218. {&_44u4_p1_r0,&_44u4_p1_r1},
  1219. {&_44u4_p1_r0,&_44u4_p1_r1},
  1220. {&_44u4_p1_r0,&_44u4_p1_r1},
  1221. {&_44u4_p1_r0,&_44u4_p1_r1},
  1222. {&_44u4_p1_r0,&_44u4_p1_r1},
  1223. {&_44u4_p1_r0,&_44u4_p1_r1},
  1224. {&_44u4_p1_r0,&_44u4_p1_r1},
  1225. {&_44u4_p1_r0,&_44u4_p1_r1},
  1226. {&_44u4_p1_r0,&_44u4_p1_r1}},
  1227. }
  1228. },
  1229. /* mode 6; 100-ish */
  1230. {{&_residue_44_mid, &_residue_44_mid},
  1231. {&_huff_book__44c6_short,&_huff_book__44c6_long},
  1232. { {{0},
  1233. {0,0,&_44u4_p1_0},
  1234. {0,0,&_44u4_p2_0},
  1235. {0,0,&_44u4_p3_0},
  1236. {0,0,&_44u4_p4_0},
  1237. {0,0,&_44u4_p5_0},
  1238. {0,0,&_44u4_p6_0},
  1239. {&_44u4_p7_0,&_44u4_p7_1},
  1240. {&_44u4_p8_0,&_44u4_p8_1},
  1241. {&_44u4_p9_0,&_44u4_p9_1,&_44u4_p9_2}},
  1242. },
  1243. { {0} }, /* no stereo backfill in uncoupled modes */
  1244. { {{&_44u4_p0_r0,&_44u4_p0_r1},
  1245. {&_44u4_p1_r0,&_44u4_p1_r1},
  1246. {&_44u4_p1_r0,&_44u4_p1_r1},
  1247. {&_44u4_p1_r0,&_44u4_p1_r1},
  1248. {&_44u4_p1_r0,&_44u4_p1_r1},
  1249. {&_44u4_p1_r0,&_44u4_p1_r1},
  1250. {&_44u4_p1_r0,&_44u4_p1_r1},
  1251. {&_44u4_p1_r0,&_44u4_p1_r1},
  1252. {&_44u4_p1_r0,&_44u4_p1_r1},
  1253. {&_44u4_p1_r0,&_44u4_p1_r1}},
  1254. }
  1255. },
  1256. /* mode 7 */
  1257. {{&_residue_44_high_un, &_residue_44_high_un},
  1258. {&_huff_book__44c7_short,&_huff_book__44c7_long},
  1259. { {{0},
  1260. {0,0,&_44u7_p1_0},
  1261. {&_44u7_p2_0,&_44u7_p2_1},
  1262. {0,0,&_44u7_p3_0},
  1263. {0,0,&_44u7_p4_0},
  1264. {0,0,&_44u7_p5_0},
  1265. {0,0,&_44u7_p6_0},
  1266. {&_44u7_p7_0,&_44u7_p7_1},
  1267. {&_44u7_p8_0,&_44u7_p8_1},
  1268. {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}},
  1269. },
  1270. { {0} }, /* no stereo backfill in uncoupled modes */
  1271. { {{&_44u7_p0_r0,&_44u7_p0_r1},
  1272. {&_44u7_p1_r0,&_44u7_p1_r1},
  1273. {&_44u7_p1_r0,&_44u7_p1_r1},
  1274. {&_44u7_p1_r0,&_44u7_p1_r1},
  1275. {&_44u7_p1_r0,&_44u7_p1_r1},
  1276. {&_44u7_p1_r0,&_44u7_p1_r1},
  1277. {&_44u7_p1_r0,&_44u7_p1_r1},
  1278. {&_44u7_p1_r0,&_44u7_p1_r1},
  1279. {&_44u7_p1_r0,&_44u7_p1_r1},
  1280. {&_44u7_p1_r0,&_44u7_p1_r1}},
  1281. }
  1282. },
  1283. /* mode 8 */
  1284. {{&_residue_44_high_un, &_residue_44_high_un},
  1285. {&_huff_book__44c8_short,&_huff_book__44c8_long},
  1286. { {{0},
  1287. {0,0,&_44u7_p1_0},
  1288. {&_44u7_p2_0,&_44u7_p2_1},
  1289. {0,0,&_44u7_p3_0},
  1290. {0,0,&_44u7_p4_0},
  1291. {0,0,&_44u7_p5_0},
  1292. {0,0,&_44u7_p6_0},
  1293. {&_44u7_p7_0,&_44u7_p7_1},
  1294. {&_44u7_p8_0,&_44u7_p8_1},
  1295. {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}},
  1296. },
  1297. { {0} }, /* no stereo backfill in uncoupled modes */
  1298. { {{&_44u7_p0_r0,&_44u7_p0_r1},
  1299. {&_44u7_p1_r0,&_44u7_p1_r1},
  1300. {&_44u7_p1_r0,&_44u7_p1_r1},
  1301. {&_44u7_p1_r0,&_44u7_p1_r1},
  1302. {&_44u7_p1_r0,&_44u7_p1_r1},
  1303. {&_44u7_p1_r0,&_44u7_p1_r1},
  1304. {&_44u7_p1_r0,&_44u7_p1_r1},
  1305. {&_44u7_p1_r0,&_44u7_p1_r1},
  1306. {&_44u7_p1_r0,&_44u7_p1_r1},
  1307. {&_44u7_p1_r0,&_44u7_p1_r1}},
  1308. }
  1309. },
  1310. /* mode 9 */
  1311. {{&_residue_44_high_un, &_residue_44_high_un},
  1312. {&_huff_book__44c9_short,&_huff_book__44c9_long},
  1313. { {{0},
  1314. {0,0,&_44u7_p1_0},
  1315. {&_44u7_p2_0,&_44u7_p2_1},
  1316. {0,0,&_44u7_p3_0},
  1317. {0,0,&_44u7_p4_0},
  1318. {0,0,&_44u7_p5_0},
  1319. {0,0,&_44u7_p6_0},
  1320. {&_44u7_p7_0,&_44u7_p7_1},
  1321. {&_44u7_p8_0,&_44u7_p8_1},
  1322. {&_44u7_p9_0,&_44u7_p9_1,&_44u7_p9_2}},
  1323. },
  1324. { {0} }, /* no stereo backfill in uncoupled modes */
  1325. { {{&_44u7_p0_r0,&_44u7_p0_r1},
  1326. {&_44u7_p1_r0,&_44u7_p1_r1},
  1327. {&_44u7_p1_r0,&_44u7_p1_r1},
  1328. {&_44u7_p1_r0,&_44u7_p1_r1},
  1329. {&_44u7_p1_r0,&_44u7_p1_r1},
  1330. {&_44u7_p1_r0,&_44u7_p1_r1},
  1331. {&_44u7_p1_r0,&_44u7_p1_r1},
  1332. {&_44u7_p1_r0,&_44u7_p1_r1},
  1333. {&_44u7_p1_r0,&_44u7_p1_r1},
  1334. {&_44u7_p1_r0,&_44u7_p1_r1}},
  1335. }
  1336. },
  1337. };