@scrypted/libav 1.0.166 → 1.0.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/opus/.gitattributes +10 -0
  2. package/opus/.gitlab-ci.yml +122 -0
  3. package/opus/AUTHORS +6 -0
  4. package/opus/CMakeLists.txt +755 -0
  5. package/opus/COPYING +44 -0
  6. package/opus/ChangeLog +0 -0
  7. package/opus/LICENSE_PLEASE_READ.txt +22 -0
  8. package/opus/Makefile.am +497 -0
  9. package/opus/Makefile.mips +169 -0
  10. package/opus/Makefile.unix +167 -0
  11. package/opus/NEWS +0 -0
  12. package/opus/README +189 -0
  13. package/opus/README.draft +54 -0
  14. package/opus/autogen.bat +13 -0
  15. package/opus/autogen.sh +16 -0
  16. package/opus/celt/_kiss_fft_guts.h +188 -0
  17. package/opus/celt/arch.h +390 -0
  18. package/opus/celt/arm/arm2gnu.pl +353 -0
  19. package/opus/celt/arm/arm_celt_map.c +171 -0
  20. package/opus/celt/arm/armcpu.c +291 -0
  21. package/opus/celt/arm/armcpu.h +90 -0
  22. package/opus/celt/arm/armopts.s.in +37 -0
  23. package/opus/celt/arm/celt_fft_ne10.c +173 -0
  24. package/opus/celt/arm/celt_mdct_ne10.c +258 -0
  25. package/opus/celt/arm/celt_neon_intr.c +272 -0
  26. package/opus/celt/arm/celt_pitch_xcorr_arm.s +551 -0
  27. package/opus/celt/arm/fft_arm.h +71 -0
  28. package/opus/celt/arm/fixed_arm64.h +35 -0
  29. package/opus/celt/arm/fixed_armv4.h +80 -0
  30. package/opus/celt/arm/fixed_armv5e.h +151 -0
  31. package/opus/celt/arm/kiss_fft_armv4.h +121 -0
  32. package/opus/celt/arm/kiss_fft_armv5e.h +118 -0
  33. package/opus/celt/arm/mdct_arm.h +59 -0
  34. package/opus/celt/arm/meson.build +12 -0
  35. package/opus/celt/arm/pitch_arm.h +160 -0
  36. package/opus/celt/arm/pitch_neon_intr.c +288 -0
  37. package/opus/celt/bands.c +1686 -0
  38. package/opus/celt/bands.h +123 -0
  39. package/opus/celt/celt.c +317 -0
  40. package/opus/celt/celt.h +255 -0
  41. package/opus/celt/celt_decoder.c +1616 -0
  42. package/opus/celt/celt_encoder.c +2854 -0
  43. package/opus/celt/celt_lpc.c +364 -0
  44. package/opus/celt/celt_lpc.h +66 -0
  45. package/opus/celt/cpu_support.h +72 -0
  46. package/opus/celt/cwrs.c +715 -0
  47. package/opus/celt/cwrs.h +48 -0
  48. package/opus/celt/dump_modes/dump_modes.c +400 -0
  49. package/opus/celt/dump_modes/dump_modes_arch.h +45 -0
  50. package/opus/celt/dump_modes/dump_modes_arm_ne10.c +152 -0
  51. package/opus/celt/ecintrin.h +91 -0
  52. package/opus/celt/entcode.c +153 -0
  53. package/opus/celt/entcode.h +152 -0
  54. package/opus/celt/entdec.c +266 -0
  55. package/opus/celt/entdec.h +110 -0
  56. package/opus/celt/entenc.c +305 -0
  57. package/opus/celt/entenc.h +119 -0
  58. package/opus/celt/fixed_c5x.h +79 -0
  59. package/opus/celt/fixed_c6x.h +70 -0
  60. package/opus/celt/fixed_debug.h +839 -0
  61. package/opus/celt/fixed_generic.h +201 -0
  62. package/opus/celt/float_cast.h +152 -0
  63. package/opus/celt/kiss_fft.c +648 -0
  64. package/opus/celt/kiss_fft.h +217 -0
  65. package/opus/celt/laplace.c +235 -0
  66. package/opus/celt/laplace.h +57 -0
  67. package/opus/celt/mathops.c +217 -0
  68. package/opus/celt/mathops.h +479 -0
  69. package/opus/celt/mdct.c +372 -0
  70. package/opus/celt/mdct.h +115 -0
  71. package/opus/celt/meson.build +64 -0
  72. package/opus/celt/mfrngcod.h +48 -0
  73. package/opus/celt/mips/celt_mipsr1.h +152 -0
  74. package/opus/celt/mips/fixed_generic_mipsr1.h +126 -0
  75. package/opus/celt/mips/kiss_fft_mipsr1.h +167 -0
  76. package/opus/celt/mips/mdct_mipsr1.h +288 -0
  77. package/opus/celt/mips/pitch_mipsr1.h +161 -0
  78. package/opus/celt/mips/vq_mipsr1.h +116 -0
  79. package/opus/celt/modes.c +450 -0
  80. package/opus/celt/modes.h +75 -0
  81. package/opus/celt/opus_custom_demo.c +451 -0
  82. package/opus/celt/os_support.h +99 -0
  83. package/opus/celt/pitch.c +555 -0
  84. package/opus/celt/pitch.h +203 -0
  85. package/opus/celt/quant_bands.c +562 -0
  86. package/opus/celt/quant_bands.h +66 -0
  87. package/opus/celt/rate.c +646 -0
  88. package/opus/celt/rate.h +101 -0
  89. package/opus/celt/stack_alloc.h +185 -0
  90. package/opus/celt/static_modes_fixed.h +1541 -0
  91. package/opus/celt/static_modes_fixed_arm_ne10.h +388 -0
  92. package/opus/celt/static_modes_float.h +888 -0
  93. package/opus/celt/static_modes_float_arm_ne10.h +404 -0
  94. package/opus/celt/tests/meson.build +19 -0
  95. package/opus/celt/tests/test_unit_cwrs32.c +162 -0
  96. package/opus/celt/tests/test_unit_dft.c +181 -0
  97. package/opus/celt/tests/test_unit_entropy.c +383 -0
  98. package/opus/celt/tests/test_unit_laplace.c +94 -0
  99. package/opus/celt/tests/test_unit_mathops.c +369 -0
  100. package/opus/celt/tests/test_unit_mdct.c +233 -0
  101. package/opus/celt/tests/test_unit_rotation.c +87 -0
  102. package/opus/celt/tests/test_unit_types.c +50 -0
  103. package/opus/celt/vq.c +442 -0
  104. package/opus/celt/vq.h +79 -0
  105. package/opus/celt/x86/celt_lpc_sse.h +67 -0
  106. package/opus/celt/x86/celt_lpc_sse4_1.c +96 -0
  107. package/opus/celt/x86/pitch_avx.c +101 -0
  108. package/opus/celt/x86/pitch_sse.c +185 -0
  109. package/opus/celt/x86/pitch_sse.h +216 -0
  110. package/opus/celt/x86/pitch_sse2.c +95 -0
  111. package/opus/celt/x86/pitch_sse4_1.c +240 -0
  112. package/opus/celt/x86/vq_sse.h +52 -0
  113. package/opus/celt/x86/vq_sse2.c +217 -0
  114. package/opus/celt/x86/x86_arch_macros.h +47 -0
  115. package/opus/celt/x86/x86_celt_map.c +187 -0
  116. package/opus/celt/x86/x86cpu.c +184 -0
  117. package/opus/celt/x86/x86cpu.h +112 -0
  118. package/opus/celt_headers.mk +54 -0
  119. package/opus/celt_sources.mk +55 -0
  120. package/opus/cmake/CFeatureCheck.cmake +39 -0
  121. package/opus/cmake/OpusBuildtype.cmake +27 -0
  122. package/opus/cmake/OpusConfig.cmake +118 -0
  123. package/opus/cmake/OpusConfig.cmake.in +20 -0
  124. package/opus/cmake/OpusFunctions.cmake +231 -0
  125. package/opus/cmake/OpusPackageVersion.cmake +70 -0
  126. package/opus/cmake/OpusSources.cmake +71 -0
  127. package/opus/cmake/README.md +132 -0
  128. package/opus/cmake/RunTest.cmake +61 -0
  129. package/opus/cmake/config.h.cmake.in +1 -0
  130. package/opus/cmake/cpu_info_by_asm.c +31 -0
  131. package/opus/cmake/cpu_info_by_c.c +9 -0
  132. package/opus/cmake/vla.c +7 -0
  133. package/opus/configure.ac +1091 -0
  134. package/opus/dnn/LPCNet.yml +24 -0
  135. package/opus/dnn/README +1 -0
  136. package/opus/dnn/README.md +126 -0
  137. package/opus/dnn/adaconvtest.c +449 -0
  138. package/opus/dnn/arm/arm_dnn_map.c +88 -0
  139. package/opus/dnn/arm/dnn_arm.h +104 -0
  140. package/opus/dnn/arm/nnet_dotprod.c +38 -0
  141. package/opus/dnn/arm/nnet_neon.c +38 -0
  142. package/opus/dnn/burg.c +246 -0
  143. package/opus/dnn/burg.h +41 -0
  144. package/opus/dnn/common.h +56 -0
  145. package/opus/dnn/datasets.txt +163 -0
  146. package/opus/dnn/download_model.bat +9 -0
  147. package/opus/dnn/download_model.sh +30 -0
  148. package/opus/dnn/dred_coding.c +44 -0
  149. package/opus/dnn/dred_coding.h +36 -0
  150. package/opus/dnn/dred_config.h +54 -0
  151. package/opus/dnn/dred_decoder.c +129 -0
  152. package/opus/dnn/dred_decoder.h +49 -0
  153. package/opus/dnn/dred_encoder.c +363 -0
  154. package/opus/dnn/dred_encoder.h +71 -0
  155. package/opus/dnn/dred_rdovae.h +42 -0
  156. package/opus/dnn/dred_rdovae_dec.c +139 -0
  157. package/opus/dnn/dred_rdovae_dec.h +53 -0
  158. package/opus/dnn/dred_rdovae_enc.c +110 -0
  159. package/opus/dnn/dred_rdovae_enc.h +52 -0
  160. package/opus/dnn/dump_data.c +238 -0
  161. package/opus/dnn/dump_lpcnet_tables.c +104 -0
  162. package/opus/dnn/fargan.c +225 -0
  163. package/opus/dnn/fargan.h +68 -0
  164. package/opus/dnn/fargan_demo.c +217 -0
  165. package/opus/dnn/freq.c +328 -0
  166. package/opus/dnn/freq.h +61 -0
  167. package/opus/dnn/fwgan.c +322 -0
  168. package/opus/dnn/fwgan.h +83 -0
  169. package/opus/dnn/kiss99.c +81 -0
  170. package/opus/dnn/kiss99.h +46 -0
  171. package/opus/dnn/lossgen.c +192 -0
  172. package/opus/dnn/lossgen.h +55 -0
  173. package/opus/dnn/lossgen_demo.c +22 -0
  174. package/opus/dnn/lpcnet.c +283 -0
  175. package/opus/dnn/lpcnet.h +183 -0
  176. package/opus/dnn/lpcnet_enc.c +230 -0
  177. package/opus/dnn/lpcnet_plc.c +211 -0
  178. package/opus/dnn/lpcnet_private.h +90 -0
  179. package/opus/dnn/lpcnet_tables.c +307 -0
  180. package/opus/dnn/meson.build +64 -0
  181. package/opus/dnn/nndsp.c +416 -0
  182. package/opus/dnn/nndsp.h +143 -0
  183. package/opus/dnn/nnet.c +149 -0
  184. package/opus/dnn/nnet.h +163 -0
  185. package/opus/dnn/nnet_arch.h +247 -0
  186. package/opus/dnn/nnet_default.c +35 -0
  187. package/opus/dnn/osce.c +1419 -0
  188. package/opus/dnn/osce.h +84 -0
  189. package/opus/dnn/osce_config.h +60 -0
  190. package/opus/dnn/osce_features.c +454 -0
  191. package/opus/dnn/osce_features.h +50 -0
  192. package/opus/dnn/osce_structs.h +125 -0
  193. package/opus/dnn/parse_lpcnet_weights.c +238 -0
  194. package/opus/dnn/pitchdnn.c +79 -0
  195. package/opus/dnn/pitchdnn.h +34 -0
  196. package/opus/dnn/tansig_table.h +50 -0
  197. package/opus/dnn/test_vec.c +128 -0
  198. package/opus/dnn/torch/dnntools/dnntools/__init__.py +2 -0
  199. package/opus/dnn/torch/dnntools/dnntools/quantization/__init__.py +1 -0
  200. package/opus/dnn/torch/dnntools/dnntools/quantization/softquant.py +113 -0
  201. package/opus/dnn/torch/dnntools/dnntools/relegance/__init__.py +2 -0
  202. package/opus/dnn/torch/dnntools/dnntools/relegance/meta_critic.py +85 -0
  203. package/opus/dnn/torch/dnntools/dnntools/relegance/relegance.py +449 -0
  204. package/opus/dnn/torch/dnntools/dnntools/sparsification/__init__.py +6 -0
  205. package/opus/dnn/torch/dnntools/dnntools/sparsification/base_sparsifier.py +58 -0
  206. package/opus/dnn/torch/dnntools/dnntools/sparsification/common.py +123 -0
  207. package/opus/dnn/torch/dnntools/dnntools/sparsification/conv1d_sparsifier.py +133 -0
  208. package/opus/dnn/torch/dnntools/dnntools/sparsification/conv_transpose1d_sparsifier.py +134 -0
  209. package/opus/dnn/torch/dnntools/dnntools/sparsification/gru_sparsifier.py +178 -0
  210. package/opus/dnn/torch/dnntools/dnntools/sparsification/linear_sparsifier.py +128 -0
  211. package/opus/dnn/torch/dnntools/dnntools/sparsification/utils.py +64 -0
  212. package/opus/dnn/torch/dnntools/requirements.txt +1 -0
  213. package/opus/dnn/torch/dnntools/setup.py +48 -0
  214. package/opus/dnn/torch/fargan/README.md +54 -0
  215. package/opus/dnn/torch/fargan/adv_train_fargan.py +277 -0
  216. package/opus/dnn/torch/fargan/dataset.py +61 -0
  217. package/opus/dnn/torch/fargan/dump_fargan_weights.py +112 -0
  218. package/opus/dnn/torch/fargan/fargan.py +322 -0
  219. package/opus/dnn/torch/fargan/filters.py +46 -0
  220. package/opus/dnn/torch/fargan/rc.py +29 -0
  221. package/opus/dnn/torch/fargan/stft_loss.py +186 -0
  222. package/opus/dnn/torch/fargan/test_fargan.py +128 -0
  223. package/opus/dnn/torch/fargan/train_fargan.py +168 -0
  224. package/opus/dnn/torch/fwgan/dump_model_weights.py +88 -0
  225. package/opus/dnn/torch/fwgan/inference.py +141 -0
  226. package/opus/dnn/torch/fwgan/models/__init__.py +7 -0
  227. package/opus/dnn/torch/fwgan/models/fwgan400.py +308 -0
  228. package/opus/dnn/torch/fwgan/models/fwgan500.py +260 -0
  229. package/opus/dnn/torch/lossgen/README.md +27 -0
  230. package/opus/dnn/torch/lossgen/export_lossgen.py +101 -0
  231. package/opus/dnn/torch/lossgen/lossgen.py +29 -0
  232. package/opus/dnn/torch/lossgen/process_data.sh +17 -0
  233. package/opus/dnn/torch/lossgen/test_lossgen.py +42 -0
  234. package/opus/dnn/torch/lossgen/train_lossgen.py +99 -0
  235. package/opus/dnn/torch/lpcnet/README.md +27 -0
  236. package/opus/dnn/torch/lpcnet/add_dataset_config.py +77 -0
  237. package/opus/dnn/torch/lpcnet/data/__init__.py +1 -0
  238. package/opus/dnn/torch/lpcnet/data/lpcnet_dataset.py +227 -0
  239. package/opus/dnn/torch/lpcnet/engine/lpcnet_engine.py +141 -0
  240. package/opus/dnn/torch/lpcnet/make_default_setup.py +56 -0
  241. package/opus/dnn/torch/lpcnet/make_test_config.py +78 -0
  242. package/opus/dnn/torch/lpcnet/models/__init__.py +8 -0
  243. package/opus/dnn/torch/lpcnet/models/lpcnet.py +303 -0
  244. package/opus/dnn/torch/lpcnet/models/multi_rate_lpcnet.py +437 -0
  245. package/opus/dnn/torch/lpcnet/print_lpcnet_complexity.py +64 -0
  246. package/opus/dnn/torch/lpcnet/scripts/collect_multi_run_results.py +190 -0
  247. package/opus/dnn/torch/lpcnet/scripts/loop_run.sh +52 -0
  248. package/opus/dnn/torch/lpcnet/scripts/make_animation.py +67 -0
  249. package/opus/dnn/torch/lpcnet/scripts/modify_dataset_target.py +17 -0
  250. package/opus/dnn/torch/lpcnet/scripts/multi_run.sh +17 -0
  251. package/opus/dnn/torch/lpcnet/scripts/run_inference_test.sh +22 -0
  252. package/opus/dnn/torch/lpcnet/scripts/update_checkpoints.py +54 -0
  253. package/opus/dnn/torch/lpcnet/scripts/update_output_folder.sh +22 -0
  254. package/opus/dnn/torch/lpcnet/scripts/update_setups.py +57 -0
  255. package/opus/dnn/torch/lpcnet/test_lpcnet.py +89 -0
  256. package/opus/dnn/torch/lpcnet/train_lpcnet.py +272 -0
  257. package/opus/dnn/torch/lpcnet/utils/__init__.py +4 -0
  258. package/opus/dnn/torch/lpcnet/utils/data.py +141 -0
  259. package/opus/dnn/torch/lpcnet/utils/endoscopy.py +234 -0
  260. package/opus/dnn/torch/lpcnet/utils/layers/__init__.py +3 -0
  261. package/opus/dnn/torch/lpcnet/utils/layers/dual_fc.py +44 -0
  262. package/opus/dnn/torch/lpcnet/utils/layers/pcm_embeddings.py +71 -0
  263. package/opus/dnn/torch/lpcnet/utils/layers/subconditioner.py +497 -0
  264. package/opus/dnn/torch/lpcnet/utils/misc.py +65 -0
  265. package/opus/dnn/torch/lpcnet/utils/pcm.py +35 -0
  266. package/opus/dnn/torch/lpcnet/utils/sample.py +44 -0
  267. package/opus/dnn/torch/lpcnet/utils/sparsification/__init__.py +2 -0
  268. package/opus/dnn/torch/lpcnet/utils/sparsification/common.py +121 -0
  269. package/opus/dnn/torch/lpcnet/utils/sparsification/gru_sparsifier.py +187 -0
  270. package/opus/dnn/torch/lpcnet/utils/templates.py +157 -0
  271. package/opus/dnn/torch/lpcnet/utils/ulaw.py +58 -0
  272. package/opus/dnn/torch/lpcnet/utils/wav.py +43 -0
  273. package/opus/dnn/torch/neural-pitch/README.md +18 -0
  274. package/opus/dnn/torch/neural-pitch/data_augmentation.py +149 -0
  275. package/opus/dnn/torch/neural-pitch/download_demand.sh +43 -0
  276. package/opus/dnn/torch/neural-pitch/evaluation.py +349 -0
  277. package/opus/dnn/torch/neural-pitch/experiments.py +38 -0
  278. package/opus/dnn/torch/neural-pitch/export_neuralpitch_weights.py +109 -0
  279. package/opus/dnn/torch/neural-pitch/models.py +178 -0
  280. package/opus/dnn/torch/neural-pitch/neural_pitch_update.py +179 -0
  281. package/opus/dnn/torch/neural-pitch/ptdb_process.sh +34 -0
  282. package/opus/dnn/torch/neural-pitch/run_crepe.py +72 -0
  283. package/opus/dnn/torch/neural-pitch/training.py +162 -0
  284. package/opus/dnn/torch/neural-pitch/utils.py +59 -0
  285. package/opus/dnn/torch/osce/README.md +66 -0
  286. package/opus/dnn/torch/osce/adv_train_model.py +462 -0
  287. package/opus/dnn/torch/osce/adv_train_vocoder.py +451 -0
  288. package/opus/dnn/torch/osce/create_testvectors.py +165 -0
  289. package/opus/dnn/torch/osce/data/__init__.py +2 -0
  290. package/opus/dnn/torch/osce/data/lpcnet_vocoding_dataset.py +225 -0
  291. package/opus/dnn/torch/osce/data/silk_conversion_set.py +132 -0
  292. package/opus/dnn/torch/osce/data/silk_enhancement_set.py +140 -0
  293. package/opus/dnn/torch/osce/engine/engine.py +103 -0
  294. package/opus/dnn/torch/osce/engine/vocoder_engine.py +101 -0
  295. package/opus/dnn/torch/osce/export_model_weights.py +174 -0
  296. package/opus/dnn/torch/osce/losses/stft_loss.py +277 -0
  297. package/opus/dnn/torch/osce/losses/td_lowpass.py +34 -0
  298. package/opus/dnn/torch/osce/make_default_setup.py +93 -0
  299. package/opus/dnn/torch/osce/models/__init__.py +42 -0
  300. package/opus/dnn/torch/osce/models/fd_discriminator.py +974 -0
  301. package/opus/dnn/torch/osce/models/lace.py +190 -0
  302. package/opus/dnn/torch/osce/models/lavoce.py +274 -0
  303. package/opus/dnn/torch/osce/models/lavoce_400.py +254 -0
  304. package/opus/dnn/torch/osce/models/lpcnet_feature_net.py +91 -0
  305. package/opus/dnn/torch/osce/models/nns_base.py +69 -0
  306. package/opus/dnn/torch/osce/models/no_lace.py +218 -0
  307. package/opus/dnn/torch/osce/models/scale_embedding.py +68 -0
  308. package/opus/dnn/torch/osce/models/shape_up_48.py +179 -0
  309. package/opus/dnn/torch/osce/models/silk_feature_net.py +86 -0
  310. package/opus/dnn/torch/osce/models/silk_feature_net_pl.py +127 -0
  311. package/opus/dnn/torch/osce/requirements.txt +9 -0
  312. package/opus/dnn/torch/osce/resources/training_files.txt +107716 -0
  313. package/opus/dnn/torch/osce/resources/validation_files.txt +26929 -0
  314. package/opus/dnn/torch/osce/scripts/concatenator.py +85 -0
  315. package/opus/dnn/torch/osce/silk_16_to_48.py +28 -0
  316. package/opus/dnn/torch/osce/stndrd/evaluation/commonvoice_clip_selection.py +123 -0
  317. package/opus/dnn/torch/osce/stndrd/evaluation/create_input_data.sh +25 -0
  318. package/opus/dnn/torch/osce/stndrd/evaluation/env.rc +7 -0
  319. package/opus/dnn/torch/osce/stndrd/evaluation/evaluate.py +113 -0
  320. package/opus/dnn/torch/osce/stndrd/evaluation/lace_loss_metric.py +330 -0
  321. package/opus/dnn/torch/osce/stndrd/evaluation/make_boxplots.py +116 -0
  322. package/opus/dnn/torch/osce/stndrd/evaluation/make_boxplots_moctest.py +109 -0
  323. package/opus/dnn/torch/osce/stndrd/evaluation/make_tables.py +124 -0
  324. package/opus/dnn/torch/osce/stndrd/evaluation/make_tables_moctest.py +121 -0
  325. package/opus/dnn/torch/osce/stndrd/evaluation/moc.py +182 -0
  326. package/opus/dnn/torch/osce/stndrd/evaluation/moc2.py +190 -0
  327. package/opus/dnn/torch/osce/stndrd/evaluation/process_dataset.sh +98 -0
  328. package/opus/dnn/torch/osce/stndrd/evaluation/run_nomad.py +138 -0
  329. package/opus/dnn/torch/osce/stndrd/evaluation/run_osce_test.py +196 -0
  330. package/opus/dnn/torch/osce/stndrd/presentation/endoscopy.py +205 -0
  331. package/opus/dnn/torch/osce/stndrd/presentation/lace_demo.ipynb +313 -0
  332. package/opus/dnn/torch/osce/stndrd/presentation/linear_prediction.ipynb +320 -0
  333. package/opus/dnn/torch/osce/stndrd/presentation/playback.py +25 -0
  334. package/opus/dnn/torch/osce/stndrd/presentation/postfilter.ipynb +275 -0
  335. package/opus/dnn/torch/osce/stndrd/presentation/spectrogram.ipynb +173 -0
  336. package/opus/dnn/torch/osce/test_model.py +96 -0
  337. package/opus/dnn/torch/osce/test_vocoder.py +103 -0
  338. package/opus/dnn/torch/osce/train_model.py +307 -0
  339. package/opus/dnn/torch/osce/train_vocoder.py +287 -0
  340. package/opus/dnn/torch/osce/utils/ada_conv.py +71 -0
  341. package/opus/dnn/torch/osce/utils/complexity.py +8 -0
  342. package/opus/dnn/torch/osce/utils/endoscopy.py +205 -0
  343. package/opus/dnn/torch/osce/utils/layers/fir.py +27 -0
  344. package/opus/dnn/torch/osce/utils/layers/limited_adaptive_comb1d.py +230 -0
  345. package/opus/dnn/torch/osce/utils/layers/limited_adaptive_conv1d.py +200 -0
  346. package/opus/dnn/torch/osce/utils/layers/noise_shaper.py +100 -0
  347. package/opus/dnn/torch/osce/utils/layers/pitch_auto_correlator.py +84 -0
  348. package/opus/dnn/torch/osce/utils/layers/silk_upsampler.py +167 -0
  349. package/opus/dnn/torch/osce/utils/layers/td_shaper.py +145 -0
  350. package/opus/dnn/torch/osce/utils/lpcnet_features.py +112 -0
  351. package/opus/dnn/torch/osce/utils/misc.py +95 -0
  352. package/opus/dnn/torch/osce/utils/moc.py +153 -0
  353. package/opus/dnn/torch/osce/utils/pitch.py +122 -0
  354. package/opus/dnn/torch/osce/utils/silk_features.py +144 -0
  355. package/opus/dnn/torch/osce/utils/softquant.py +110 -0
  356. package/opus/dnn/torch/osce/utils/spec.py +210 -0
  357. package/opus/dnn/torch/osce/utils/templates.py +347 -0
  358. package/opus/dnn/torch/plc/export_plc.py +100 -0
  359. package/opus/dnn/torch/plc/plc.py +144 -0
  360. package/opus/dnn/torch/plc/plc_dataset.py +60 -0
  361. package/opus/dnn/torch/plc/train_plc.py +145 -0
  362. package/opus/dnn/torch/rdovae/README.md +55 -0
  363. package/opus/dnn/torch/rdovae/download_datasets.sh +6 -0
  364. package/opus/dnn/torch/rdovae/export_rdovae_weights.py +365 -0
  365. package/opus/dnn/torch/rdovae/fec_encoder.py +212 -0
  366. package/opus/dnn/torch/rdovae/import_rdovae_weights.py +143 -0
  367. package/opus/dnn/torch/rdovae/packets/__init__.py +1 -0
  368. package/opus/dnn/torch/rdovae/packets/fec_packets.c +142 -0
  369. package/opus/dnn/torch/rdovae/packets/fec_packets.h +34 -0
  370. package/opus/dnn/torch/rdovae/packets/fec_packets.py +108 -0
  371. package/opus/dnn/torch/rdovae/process_speech.sh +7 -0
  372. package/opus/dnn/torch/rdovae/rdovae/__init__.py +2 -0
  373. package/opus/dnn/torch/rdovae/rdovae/dataset.py +67 -0
  374. package/opus/dnn/torch/rdovae/rdovae/rdovae.py +719 -0
  375. package/opus/dnn/torch/rdovae/requirements.txt +4 -0
  376. package/opus/dnn/torch/rdovae/train_rdovae.py +278 -0
  377. package/opus/dnn/torch/testsuite/README.md +46 -0
  378. package/opus/dnn/torch/testsuite/examples/lpcnet_c_example.yml +6 -0
  379. package/opus/dnn/torch/testsuite/examples/lpcnet_c_plc_example.yml +5 -0
  380. package/opus/dnn/torch/testsuite/examples/lpcnet_torch_example.yml +5 -0
  381. package/opus/dnn/torch/testsuite/requirements.txt +12 -0
  382. package/opus/dnn/torch/testsuite/run_test.py +375 -0
  383. package/opus/dnn/torch/testsuite/utils/__init__.py +0 -0
  384. package/opus/dnn/torch/testsuite/utils/files.py +54 -0
  385. package/opus/dnn/torch/testsuite/utils/pesq.py +43 -0
  386. package/opus/dnn/torch/testsuite/utils/pitch.py +61 -0
  387. package/opus/dnn/torch/weight-exchange/README.md +21 -0
  388. package/opus/dnn/torch/weight-exchange/requirements.txt +1 -0
  389. package/opus/dnn/torch/weight-exchange/setup.py +48 -0
  390. package/opus/dnn/torch/weight-exchange/wexchange/__init__.py +30 -0
  391. package/opus/dnn/torch/weight-exchange/wexchange/c_export/__init__.py +31 -0
  392. package/opus/dnn/torch/weight-exchange/wexchange/c_export/c_writer.py +181 -0
  393. package/opus/dnn/torch/weight-exchange/wexchange/c_export/common.py +386 -0
  394. package/opus/dnn/torch/weight-exchange/wexchange/tf/__init__.py +5 -0
  395. package/opus/dnn/torch/weight-exchange/wexchange/tf/tf.py +188 -0
  396. package/opus/dnn/torch/weight-exchange/wexchange/torch/__init__.py +37 -0
  397. package/opus/dnn/torch/weight-exchange/wexchange/torch/torch.py +433 -0
  398. package/opus/dnn/training_tf2/dataloader.py +49 -0
  399. package/opus/dnn/training_tf2/decode_rdovae.py +111 -0
  400. package/opus/dnn/training_tf2/diffembed.py +49 -0
  401. package/opus/dnn/training_tf2/dump_lpcnet.py +388 -0
  402. package/opus/dnn/training_tf2/dump_plc.py +296 -0
  403. package/opus/dnn/training_tf2/dump_rdovae.py +306 -0
  404. package/opus/dnn/training_tf2/encode_rdovae.py +125 -0
  405. package/opus/dnn/training_tf2/fec_encoder.py +256 -0
  406. package/opus/dnn/training_tf2/fec_packets.c +142 -0
  407. package/opus/dnn/training_tf2/fec_packets.h +34 -0
  408. package/opus/dnn/training_tf2/fec_packets.py +108 -0
  409. package/opus/dnn/training_tf2/keraslayerdump.py +189 -0
  410. package/opus/dnn/training_tf2/lossfuncs.py +99 -0
  411. package/opus/dnn/training_tf2/lpcnet.py +339 -0
  412. package/opus/dnn/training_tf2/lpcnet_plc.py +101 -0
  413. package/opus/dnn/training_tf2/mdense.py +95 -0
  414. package/opus/dnn/training_tf2/pade.py +70 -0
  415. package/opus/dnn/training_tf2/parameters.py +29 -0
  416. package/opus/dnn/training_tf2/plc_loader.py +73 -0
  417. package/opus/dnn/training_tf2/rdovae.py +372 -0
  418. package/opus/dnn/training_tf2/rdovae_exchange.py +138 -0
  419. package/opus/dnn/training_tf2/rdovae_import.py +123 -0
  420. package/opus/dnn/training_tf2/test_lpcnet.py +120 -0
  421. package/opus/dnn/training_tf2/test_plc.py +92 -0
  422. package/opus/dnn/training_tf2/tf_funcs.py +70 -0
  423. package/opus/dnn/training_tf2/train_lpcnet.py +214 -0
  424. package/opus/dnn/training_tf2/train_plc.py +197 -0
  425. package/opus/dnn/training_tf2/train_rdovae.py +151 -0
  426. package/opus/dnn/training_tf2/ulaw.py +19 -0
  427. package/opus/dnn/training_tf2/uniform_noise.py +78 -0
  428. package/opus/dnn/vec.h +389 -0
  429. package/opus/dnn/vec_avx.h +884 -0
  430. package/opus/dnn/vec_neon.h +473 -0
  431. package/opus/dnn/write_lpcnet_weights.c +97 -0
  432. package/opus/dnn/x86/dnn_x86.h +121 -0
  433. package/opus/dnn/x86/nnet_avx2.c +40 -0
  434. package/opus/dnn/x86/nnet_sse2.c +40 -0
  435. package/opus/dnn/x86/nnet_sse4_1.c +40 -0
  436. package/opus/dnn/x86/x86_dnn_map.c +83 -0
  437. package/opus/doc/Doxyfile.in +340 -0
  438. package/opus/doc/Makefile.am +45 -0
  439. package/opus/doc/build_draft.sh +113 -0
  440. package/opus/doc/build_isobmff.sh +50 -0
  441. package/opus/doc/build_oggdraft.sh +52 -0
  442. package/opus/doc/customdoxygen.css +1011 -0
  443. package/opus/doc/draft-ietf-codec-oggopus.xml +1873 -0
  444. package/opus/doc/draft-ietf-codec-opus-update.xml +513 -0
  445. package/opus/doc/draft-ietf-codec-opus.xml +8276 -0
  446. package/opus/doc/draft-ietf-payload-rtp-opus.xml +960 -0
  447. package/opus/doc/footer.html +32 -0
  448. package/opus/doc/header.html +61 -0
  449. package/opus/doc/meson.build +33 -0
  450. package/opus/doc/opus_in_isobmff.css +60 -0
  451. package/opus/doc/opus_in_isobmff.html +692 -0
  452. package/opus/doc/opus_logo.svg +157 -0
  453. package/opus/doc/opus_update.patch +244 -0
  454. package/opus/doc/release.txt +43 -0
  455. package/opus/doc/trivial_example.c +171 -0
  456. package/opus/include/meson.build +13 -0
  457. package/opus/include/opus.h +1172 -0
  458. package/opus/include/opus_custom.h +381 -0
  459. package/opus/include/opus_defines.h +830 -0
  460. package/opus/include/opus_multistream.h +736 -0
  461. package/opus/include/opus_projection.h +643 -0
  462. package/opus/include/opus_types.h +166 -0
  463. package/opus/lpcnet_headers.mk +44 -0
  464. package/opus/lpcnet_sources.mk +44 -0
  465. package/opus/m4/as-gcc-inline-assembly.m4 +98 -0
  466. package/opus/m4/ax_add_fortify_source.m4 +53 -0
  467. package/opus/m4/opus-intrinsics.m4 +29 -0
  468. package/opus/meson/README.md +88 -0
  469. package/opus/meson/get-version.py +86 -0
  470. package/opus/meson/read-sources-list.py +28 -0
  471. package/opus/meson.build +745 -0
  472. package/opus/meson_options.txt +27 -0
  473. package/opus/opus-uninstalled.pc.in +12 -0
  474. package/opus/opus.m4 +117 -0
  475. package/opus/opus.pc.in +16 -0
  476. package/opus/opus_headers.mk +8 -0
  477. package/opus/opus_sources.mk +17 -0
  478. package/opus/releases.sha2 +85 -0
  479. package/opus/scripts/dump_rnn.py +57 -0
  480. package/opus/scripts/local_build.py +220 -0
  481. package/opus/scripts/rnn_train.py +67 -0
  482. package/opus/scripts/shrink_model.sh +7 -0
  483. package/opus/silk/A2NLSF.c +267 -0
  484. package/opus/silk/API.h +156 -0
  485. package/opus/silk/CNG.c +188 -0
  486. package/opus/silk/HP_variable_cutoff.c +77 -0
  487. package/opus/silk/Inlines.h +188 -0
  488. package/opus/silk/LPC_analysis_filter.c +111 -0
  489. package/opus/silk/LPC_fit.c +82 -0
  490. package/opus/silk/LPC_inv_pred_gain.c +141 -0
  491. package/opus/silk/LP_variable_cutoff.c +135 -0
  492. package/opus/silk/MacroCount.h +710 -0
  493. package/opus/silk/MacroDebug.h +945 -0
  494. package/opus/silk/NLSF2A.c +141 -0
  495. package/opus/silk/NLSF_VQ.c +76 -0
  496. package/opus/silk/NLSF_VQ_weights_laroia.c +80 -0
  497. package/opus/silk/NLSF_decode.c +93 -0
  498. package/opus/silk/NLSF_del_dec_quant.c +215 -0
  499. package/opus/silk/NLSF_encode.c +124 -0
  500. package/opus/silk/NLSF_stabilize.c +142 -0
  501. package/opus/silk/NLSF_unpack.c +55 -0
  502. package/opus/silk/NSQ.c +437 -0
  503. package/opus/silk/NSQ.h +101 -0
  504. package/opus/silk/NSQ_del_dec.c +733 -0
  505. package/opus/silk/PLC.c +493 -0
  506. package/opus/silk/PLC.h +65 -0
  507. package/opus/silk/SigProc_FIX.h +643 -0
  508. package/opus/silk/VAD.c +360 -0
  509. package/opus/silk/VQ_WMat_EC.c +131 -0
  510. package/opus/silk/ana_filt_bank_1.c +74 -0
  511. package/opus/silk/arm/LPC_inv_pred_gain_arm.h +57 -0
  512. package/opus/silk/arm/LPC_inv_pred_gain_neon_intr.c +288 -0
  513. package/opus/silk/arm/NSQ_del_dec_arm.h +100 -0
  514. package/opus/silk/arm/NSQ_del_dec_neon_intr.c +1138 -0
  515. package/opus/silk/arm/NSQ_neon.c +112 -0
  516. package/opus/silk/arm/NSQ_neon.h +114 -0
  517. package/opus/silk/arm/SigProc_FIX_armv4.h +47 -0
  518. package/opus/silk/arm/SigProc_FIX_armv5e.h +61 -0
  519. package/opus/silk/arm/arm_silk_map.c +128 -0
  520. package/opus/silk/arm/biquad_alt_arm.h +68 -0
  521. package/opus/silk/arm/biquad_alt_neon_intr.c +156 -0
  522. package/opus/silk/arm/macros_arm64.h +39 -0
  523. package/opus/silk/arm/macros_armv4.h +110 -0
  524. package/opus/silk/arm/macros_armv5e.h +220 -0
  525. package/opus/silk/biquad_alt.c +121 -0
  526. package/opus/silk/bwexpander.c +51 -0
  527. package/opus/silk/bwexpander_32.c +51 -0
  528. package/opus/silk/check_control_input.c +106 -0
  529. package/opus/silk/code_signs.c +115 -0
  530. package/opus/silk/control.h +161 -0
  531. package/opus/silk/control_SNR.c +113 -0
  532. package/opus/silk/control_audio_bandwidth.c +132 -0
  533. package/opus/silk/control_codec.c +423 -0
  534. package/opus/silk/debug.c +174 -0
  535. package/opus/silk/debug.h +267 -0
  536. package/opus/silk/dec_API.c +465 -0
  537. package/opus/silk/decode_core.c +243 -0
  538. package/opus/silk/decode_frame.c +169 -0
  539. package/opus/silk/decode_indices.c +151 -0
  540. package/opus/silk/decode_parameters.c +115 -0
  541. package/opus/silk/decode_pitch.c +77 -0
  542. package/opus/silk/decode_pulses.c +115 -0
  543. package/opus/silk/decoder_set_fs.c +108 -0
  544. package/opus/silk/define.h +235 -0
  545. package/opus/silk/enc_API.c +593 -0
  546. package/opus/silk/encode_indices.c +181 -0
  547. package/opus/silk/encode_pulses.c +206 -0
  548. package/opus/silk/errors.h +98 -0
  549. package/opus/silk/fixed/LTP_analysis_filter_FIX.c +90 -0
  550. package/opus/silk/fixed/LTP_scale_ctrl_FIX.c +58 -0
  551. package/opus/silk/fixed/apply_sine_window_FIX.c +101 -0
  552. package/opus/silk/fixed/arm/warped_autocorrelation_FIX_arm.h +68 -0
  553. package/opus/silk/fixed/arm/warped_autocorrelation_FIX_neon_intr.c +265 -0
  554. package/opus/silk/fixed/autocorr_FIX.c +48 -0
  555. package/opus/silk/fixed/burg_modified_FIX.c +280 -0
  556. package/opus/silk/fixed/corrMatrix_FIX.c +150 -0
  557. package/opus/silk/fixed/encode_frame_FIX.c +444 -0
  558. package/opus/silk/fixed/find_LPC_FIX.c +151 -0
  559. package/opus/silk/fixed/find_LTP_FIX.c +99 -0
  560. package/opus/silk/fixed/find_pitch_lags_FIX.c +143 -0
  561. package/opus/silk/fixed/find_pred_coefs_FIX.c +146 -0
  562. package/opus/silk/fixed/k2a_FIX.c +54 -0
  563. package/opus/silk/fixed/k2a_Q16_FIX.c +54 -0
  564. package/opus/silk/fixed/main_FIX.h +244 -0
  565. package/opus/silk/fixed/mips/noise_shape_analysis_FIX_mipsr1.h +336 -0
  566. package/opus/silk/fixed/mips/prefilter_FIX_mipsr1.h +184 -0
  567. package/opus/silk/fixed/mips/warped_autocorrelation_FIX_mipsr1.h +165 -0
  568. package/opus/silk/fixed/noise_shape_analysis_FIX.c +407 -0
  569. package/opus/silk/fixed/pitch_analysis_core_FIX.c +721 -0
  570. package/opus/silk/fixed/process_gains_FIX.c +117 -0
  571. package/opus/silk/fixed/regularize_correlations_FIX.c +47 -0
  572. package/opus/silk/fixed/residual_energy16_FIX.c +103 -0
  573. package/opus/silk/fixed/residual_energy_FIX.c +98 -0
  574. package/opus/silk/fixed/schur64_FIX.c +93 -0
  575. package/opus/silk/fixed/schur_FIX.c +107 -0
  576. package/opus/silk/fixed/structs_FIX.h +116 -0
  577. package/opus/silk/fixed/vector_ops_FIX.c +102 -0
  578. package/opus/silk/fixed/warped_autocorrelation_FIX.c +92 -0
  579. package/opus/silk/fixed/x86/burg_modified_FIX_sse4_1.c +400 -0
  580. package/opus/silk/fixed/x86/vector_ops_FIX_sse4_1.c +93 -0
  581. package/opus/silk/float/LPC_analysis_filter_FLP.c +249 -0
  582. package/opus/silk/float/LPC_inv_pred_gain_FLP.c +73 -0
  583. package/opus/silk/float/LTP_analysis_filter_FLP.c +75 -0
  584. package/opus/silk/float/LTP_scale_ctrl_FLP.c +58 -0
  585. package/opus/silk/float/SigProc_FLP.h +205 -0
  586. package/opus/silk/float/apply_sine_window_FLP.c +81 -0
  587. package/opus/silk/float/autocorrelation_FLP.c +53 -0
  588. package/opus/silk/float/burg_modified_FLP.c +187 -0
  589. package/opus/silk/float/bwexpander_FLP.c +49 -0
  590. package/opus/silk/float/corrMatrix_FLP.c +95 -0
  591. package/opus/silk/float/encode_frame_FLP.c +432 -0
  592. package/opus/silk/float/energy_FLP.c +59 -0
  593. package/opus/silk/float/find_LPC_FLP.c +105 -0
  594. package/opus/silk/float/find_LTP_FLP.c +65 -0
  595. package/opus/silk/float/find_pitch_lags_FLP.c +132 -0
  596. package/opus/silk/float/find_pred_coefs_FLP.c +117 -0
  597. package/opus/silk/float/inner_product_FLP.c +59 -0
  598. package/opus/silk/float/k2a_FLP.c +54 -0
  599. package/opus/silk/float/main_FLP.h +290 -0
  600. package/opus/silk/float/noise_shape_analysis_FLP.c +350 -0
  601. package/opus/silk/float/pitch_analysis_core_FLP.c +630 -0
  602. package/opus/silk/float/process_gains_FLP.c +103 -0
  603. package/opus/silk/float/regularize_correlations_FLP.c +48 -0
  604. package/opus/silk/float/residual_energy_FLP.c +117 -0
  605. package/opus/silk/float/scale_copy_vector_FLP.c +57 -0
  606. package/opus/silk/float/scale_vector_FLP.c +56 -0
  607. package/opus/silk/float/schur_FLP.c +70 -0
  608. package/opus/silk/float/sort_FLP.c +83 -0
  609. package/opus/silk/float/structs_FLP.h +112 -0
  610. package/opus/silk/float/warped_autocorrelation_FLP.c +75 -0
  611. package/opus/silk/float/wrappers_FLP.c +209 -0
  612. package/opus/silk/float/x86/inner_product_FLP_avx2.c +85 -0
  613. package/opus/silk/gain_quant.c +142 -0
  614. package/opus/silk/init_decoder.c +84 -0
  615. package/opus/silk/init_encoder.c +68 -0
  616. package/opus/silk/inner_prod_aligned.c +47 -0
  617. package/opus/silk/interpolate.c +51 -0
  618. package/opus/silk/lin2log.c +46 -0
  619. package/opus/silk/log2lin.c +58 -0
  620. package/opus/silk/macros.h +151 -0
  621. package/opus/silk/main.h +486 -0
  622. package/opus/silk/meson.build +69 -0
  623. package/opus/silk/mips/NSQ_del_dec_mipsr1.h +410 -0
  624. package/opus/silk/mips/macros_mipsr1.h +92 -0
  625. package/opus/silk/mips/sigproc_fix_mipsr1.h +60 -0
  626. package/opus/silk/pitch_est_defines.h +88 -0
  627. package/opus/silk/pitch_est_tables.c +99 -0
  628. package/opus/silk/process_NLSFs.c +107 -0
  629. package/opus/silk/quant_LTP_gains.c +132 -0
  630. package/opus/silk/resampler.c +215 -0
  631. package/opus/silk/resampler_down2.c +74 -0
  632. package/opus/silk/resampler_down2_3.c +103 -0
  633. package/opus/silk/resampler_private.h +88 -0
  634. package/opus/silk/resampler_private_AR2.c +55 -0
  635. package/opus/silk/resampler_private_IIR_FIR.c +107 -0
  636. package/opus/silk/resampler_private_down_FIR.c +194 -0
  637. package/opus/silk/resampler_private_up2_HQ.c +113 -0
  638. package/opus/silk/resampler_rom.c +96 -0
  639. package/opus/silk/resampler_rom.h +68 -0
  640. package/opus/silk/resampler_structs.h +60 -0
  641. package/opus/silk/shell_coder.c +151 -0
  642. package/opus/silk/sigm_Q15.c +76 -0
  643. package/opus/silk/sort.c +154 -0
  644. package/opus/silk/stereo_LR_to_MS.c +229 -0
  645. package/opus/silk/stereo_MS_to_LR.c +85 -0
  646. package/opus/silk/stereo_decode_pred.c +73 -0
  647. package/opus/silk/stereo_encode_pred.c +62 -0
  648. package/opus/silk/stereo_find_predictor.c +79 -0
  649. package/opus/silk/stereo_quant_pred.c +73 -0
  650. package/opus/silk/structs.h +357 -0
  651. package/opus/silk/sum_sqr_shift.c +83 -0
  652. package/opus/silk/table_LSF_cos.c +70 -0
  653. package/opus/silk/tables.h +114 -0
  654. package/opus/silk/tables_LTP.c +294 -0
  655. package/opus/silk/tables_NLSF_CB_NB_MB.c +195 -0
  656. package/opus/silk/tables_NLSF_CB_WB.c +234 -0
  657. package/opus/silk/tables_gain.c +63 -0
  658. package/opus/silk/tables_other.c +124 -0
  659. package/opus/silk/tables_pitch_lag.c +69 -0
  660. package/opus/silk/tables_pulses_per_block.c +264 -0
  661. package/opus/silk/tests/meson.build +8 -0
  662. package/opus/silk/tests/test_unit_LPC_inv_pred_gain.c +130 -0
  663. package/opus/silk/tuning_parameters.h +155 -0
  664. package/opus/silk/typedef.h +81 -0
  665. package/opus/silk/x86/NSQ_del_dec_avx2.c +1075 -0
  666. package/opus/silk/x86/NSQ_del_dec_sse4_1.c +915 -0
  667. package/opus/silk/x86/NSQ_sse4_1.c +772 -0
  668. package/opus/silk/x86/SigProc_FIX_sse.h +99 -0
  669. package/opus/silk/x86/VAD_sse4_1.c +289 -0
  670. package/opus/silk/x86/VQ_WMat_EC_sse4_1.c +173 -0
  671. package/opus/silk/x86/main_sse.h +299 -0
  672. package/opus/silk/x86/x86_silk_map.c +179 -0
  673. package/opus/silk_headers.mk +44 -0
  674. package/opus/silk_sources.mk +164 -0
  675. package/opus/src/analysis.c +979 -0
  676. package/opus/src/analysis.h +103 -0
  677. package/opus/src/extensions.c +663 -0
  678. package/opus/src/mapping_matrix.c +993 -0
  679. package/opus/src/mapping_matrix.h +165 -0
  680. package/opus/src/meson.build +45 -0
  681. package/opus/src/mlp.c +132 -0
  682. package/opus/src/mlp.h +60 -0
  683. package/opus/src/mlp_data.c +672 -0
  684. package/opus/src/opus.c +362 -0
  685. package/opus/src/opus_compare.c +382 -0
  686. package/opus/src/opus_decoder.c +1579 -0
  687. package/opus/src/opus_demo.c +1194 -0
  688. package/opus/src/opus_encoder.c +3180 -0
  689. package/opus/src/opus_multistream.c +92 -0
  690. package/opus/src/opus_multistream_decoder.c +563 -0
  691. package/opus/src/opus_multistream_encoder.c +1321 -0
  692. package/opus/src/opus_private.h +263 -0
  693. package/opus/src/opus_projection_decoder.c +283 -0
  694. package/opus/src/opus_projection_encoder.c +522 -0
  695. package/opus/src/repacketizer.c +469 -0
  696. package/opus/src/repacketizer_demo.c +247 -0
  697. package/opus/src/tansig_table.h +45 -0
  698. package/opus/tar_list.txt +28 -0
  699. package/opus/tests/meson.build +39 -0
  700. package/opus/tests/opus_build_test.sh +29 -0
  701. package/opus/tests/opus_decode_fuzzer.c +124 -0
  702. package/opus/tests/opus_decode_fuzzer.options +2 -0
  703. package/opus/tests/opus_encode_regressions.c +1034 -0
  704. package/opus/tests/random_config.sh +126 -0
  705. package/opus/tests/run_vectors.sh +143 -0
  706. package/opus/tests/test_opus_api.c +1904 -0
  707. package/opus/tests/test_opus_common.h +86 -0
  708. package/opus/tests/test_opus_custom.c +694 -0
  709. package/opus/tests/test_opus_decode.c +481 -0
  710. package/opus/tests/test_opus_dred.c +107 -0
  711. package/opus/tests/test_opus_encode.c +738 -0
  712. package/opus/tests/test_opus_extensions.c +750 -0
  713. package/opus/tests/test_opus_padding.c +94 -0
  714. package/opus/tests/test_opus_projection.c +384 -0
  715. package/opus/training/rnn_dump.py +66 -0
  716. package/opus/training/rnn_train.py +177 -0
  717. package/opus/training/txt2hdf5.py +12 -0
  718. package/opus/update_version +65 -0
  719. package/package.json +2 -2
  720. package/src/build-ffmpeg-msys.sh +8 -2
@@ -0,0 +1,993 @@
1
+ /* Copyright (c) 2017 Google Inc.
2
+ Written by Andrew Allen */
3
+ /*
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions
6
+ are met:
7
+
8
+ - Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ - Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
19
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+
28
+ #ifdef HAVE_CONFIG_H
29
+ #include "config.h"
30
+ #endif
31
+
32
+ #include "arch.h"
33
+ #include "float_cast.h"
34
+ #include "opus_private.h"
35
+ #include "opus_defines.h"
36
+ #include "mapping_matrix.h"
37
+
38
+ #define MATRIX_INDEX(nb_rows, row, col) (nb_rows * col + row)
39
+
40
+ opus_int32 mapping_matrix_get_size(int rows, int cols)
41
+ {
42
+ opus_int32 size;
43
+
44
+ /* Mapping Matrix must only support up to 255 channels in or out.
45
+ * Additionally, the total cell count must be <= 65004 octets in order
46
+ * for the matrix to be stored in an OGG header.
47
+ */
48
+ if (rows > 255 || cols > 255)
49
+ return 0;
50
+ size = rows * (opus_int32)cols * sizeof(opus_int16);
51
+ if (size > 65004)
52
+ return 0;
53
+
54
+ return align(sizeof(MappingMatrix)) + align(size);
55
+ }
56
+
57
+ opus_int16 *mapping_matrix_get_data(const MappingMatrix *matrix)
58
+ {
59
+ /* void* cast avoids clang -Wcast-align warning */
60
+ return (opus_int16*)(void*)((char*)matrix + align(sizeof(MappingMatrix)));
61
+ }
62
+
63
+ void mapping_matrix_init(MappingMatrix * const matrix,
64
+ int rows, int cols, int gain, const opus_int16 *data, opus_int32 data_size)
65
+ {
66
+ int i;
67
+ opus_int16 *ptr;
68
+
69
+ #if !defined(ENABLE_ASSERTIONS)
70
+ (void)data_size;
71
+ #endif
72
+ celt_assert(align(data_size) == align(rows * cols * sizeof(opus_int16)));
73
+
74
+ matrix->rows = rows;
75
+ matrix->cols = cols;
76
+ matrix->gain = gain;
77
+ ptr = mapping_matrix_get_data(matrix);
78
+ for (i = 0; i < rows * cols; i++)
79
+ {
80
+ ptr[i] = data[i];
81
+ }
82
+ }
83
+
84
+ #ifndef DISABLE_FLOAT_API
85
+ void mapping_matrix_multiply_channel_in_float(
86
+ const MappingMatrix *matrix,
87
+ const float *input,
88
+ int input_rows,
89
+ opus_res *output,
90
+ int output_row,
91
+ int output_rows,
92
+ int frame_size)
93
+ {
94
+ /* Matrix data is ordered col-wise. */
95
+ opus_int16* matrix_data;
96
+ int i, col;
97
+
98
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
99
+
100
+ matrix_data = mapping_matrix_get_data(matrix);
101
+
102
+ for (i = 0; i < frame_size; i++)
103
+ {
104
+ float tmp = 0;
105
+ for (col = 0; col < input_rows; col++)
106
+ {
107
+ tmp +=
108
+ matrix_data[MATRIX_INDEX(matrix->rows, output_row, col)] *
109
+ input[MATRIX_INDEX(input_rows, col, i)];
110
+ }
111
+ output[output_rows * i] = FLOAT2RES((1/32768.f)*tmp);
112
+ }
113
+ }
114
+
115
+ void mapping_matrix_multiply_channel_out_float(
116
+ const MappingMatrix *matrix,
117
+ const opus_res *input,
118
+ int input_row,
119
+ int input_rows,
120
+ float *output,
121
+ int output_rows,
122
+ int frame_size
123
+ )
124
+ {
125
+ /* Matrix data is ordered col-wise. */
126
+ opus_int16* matrix_data;
127
+ int i, row;
128
+ float input_sample;
129
+
130
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
131
+
132
+ matrix_data = mapping_matrix_get_data(matrix);
133
+
134
+ for (i = 0; i < frame_size; i++)
135
+ {
136
+ input_sample = RES2FLOAT(input[input_rows * i]);
137
+ for (row = 0; row < output_rows; row++)
138
+ {
139
+ float tmp =
140
+ (1/32768.f)*matrix_data[MATRIX_INDEX(matrix->rows, row, input_row)] *
141
+ input_sample;
142
+ output[MATRIX_INDEX(output_rows, row, i)] += tmp;
143
+ }
144
+ }
145
+ }
146
+ #endif /* DISABLE_FLOAT_API */
147
+
148
+ void mapping_matrix_multiply_channel_in_short(
149
+ const MappingMatrix *matrix,
150
+ const opus_int16 *input,
151
+ int input_rows,
152
+ opus_res *output,
153
+ int output_row,
154
+ int output_rows,
155
+ int frame_size)
156
+ {
157
+ /* Matrix data is ordered col-wise. */
158
+ opus_int16* matrix_data;
159
+ int i, col;
160
+
161
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
162
+
163
+ matrix_data = mapping_matrix_get_data(matrix);
164
+
165
+ for (i = 0; i < frame_size; i++)
166
+ {
167
+ opus_val32 tmp = 0;
168
+ for (col = 0; col < input_rows; col++)
169
+ {
170
+ #if defined(FIXED_POINT)
171
+ tmp +=
172
+ ((opus_int32)matrix_data[MATRIX_INDEX(matrix->rows, output_row, col)] *
173
+ (opus_int32)input[MATRIX_INDEX(input_rows, col, i)]) >> 8;
174
+ #else
175
+ tmp +=
176
+ matrix_data[MATRIX_INDEX(matrix->rows, output_row, col)] *
177
+ input[MATRIX_INDEX(input_rows, col, i)];
178
+ #endif
179
+ }
180
+ #if defined(FIXED_POINT)
181
+ output[output_rows * i] = INT16TORES((tmp + 64) >> 7);
182
+ #else
183
+ output[output_rows * i] = (1/(32768.f*32768.f))*tmp;
184
+ #endif
185
+ }
186
+ }
187
+
188
+ void mapping_matrix_multiply_channel_out_short(
189
+ const MappingMatrix *matrix,
190
+ const opus_res *input,
191
+ int input_row,
192
+ int input_rows,
193
+ opus_int16 *output,
194
+ int output_rows,
195
+ int frame_size)
196
+ {
197
+ /* Matrix data is ordered col-wise. */
198
+ opus_int16* matrix_data;
199
+ int i, row;
200
+ opus_int32 input_sample;
201
+
202
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
203
+
204
+ matrix_data = mapping_matrix_get_data(matrix);
205
+
206
+ for (i = 0; i < frame_size; i++)
207
+ {
208
+ input_sample = RES2INT16(input[input_rows * i]);
209
+ for (row = 0; row < output_rows; row++)
210
+ {
211
+ opus_int32 tmp =
212
+ (opus_int32)matrix_data[MATRIX_INDEX(matrix->rows, row, input_row)] *
213
+ input_sample;
214
+ output[MATRIX_INDEX(output_rows, row, i)] += (tmp + 16384) >> 15;
215
+ }
216
+ }
217
+ }
218
+
219
+ void mapping_matrix_multiply_channel_in_int24(
220
+ const MappingMatrix *matrix,
221
+ const opus_int32 *input,
222
+ int input_rows,
223
+ opus_res *output,
224
+ int output_row,
225
+ int output_rows,
226
+ int frame_size)
227
+ {
228
+ /* Matrix data is ordered col-wise. */
229
+ opus_int16* matrix_data;
230
+ int i, col;
231
+
232
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
233
+
234
+ matrix_data = mapping_matrix_get_data(matrix);
235
+
236
+ for (i = 0; i < frame_size; i++)
237
+ {
238
+ opus_val64 tmp = 0;
239
+ for (col = 0; col < input_rows; col++)
240
+ {
241
+ tmp +=
242
+ matrix_data[MATRIX_INDEX(matrix->rows, output_row, col)] *
243
+ (opus_val64)input[MATRIX_INDEX(input_rows, col, i)];
244
+ }
245
+ #if defined(FIXED_POINT)
246
+ output[output_rows * i] = INT24TORES((tmp + 16384) >> 15);
247
+ #else
248
+ output[output_rows * i] = INT24TORES((1/(32768.f))*tmp);
249
+ #endif
250
+ }
251
+ }
252
+
253
+ void mapping_matrix_multiply_channel_out_int24(
254
+ const MappingMatrix *matrix,
255
+ const opus_res *input,
256
+ int input_row,
257
+ int input_rows,
258
+ opus_int32 *output,
259
+ int output_rows,
260
+ int frame_size)
261
+ {
262
+ /* Matrix data is ordered col-wise. */
263
+ opus_int16* matrix_data;
264
+ int i, row;
265
+ opus_int32 input_sample;
266
+
267
+ celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows);
268
+
269
+ matrix_data = mapping_matrix_get_data(matrix);
270
+
271
+ for (i = 0; i < frame_size; i++)
272
+ {
273
+ input_sample = RES2INT24(input[input_rows * i]);
274
+ for (row = 0; row < output_rows; row++)
275
+ {
276
+ opus_int64 tmp =
277
+ (opus_int64)matrix_data[MATRIX_INDEX(matrix->rows, row, input_row)] *
278
+ input_sample;
279
+ output[MATRIX_INDEX(output_rows, row, i)] += (tmp + 16384) >> 15;
280
+ }
281
+ }
282
+ }
283
+
284
+
285
+ const MappingMatrix mapping_matrix_foa_mixing = { 6, 6, 0 };
286
+ const opus_int16 mapping_matrix_foa_mixing_data[36] = {
287
+ 16384, 0, -16384, 23170, 0, 0, 16384, 23170,
288
+ 16384, 0, 0, 0, 16384, 0, -16384, -23170,
289
+ 0, 0, 16384, -23170, 16384, 0, 0, 0,
290
+ 0, 0, 0, 0, 32767, 0, 0, 0,
291
+ 0, 0, 0, 32767
292
+ };
293
+
294
+ const MappingMatrix mapping_matrix_soa_mixing = { 11, 11, 0 };
295
+ const opus_int16 mapping_matrix_soa_mixing_data[121] = {
296
+ 10923, 7723, 13377, -13377, 11585, 9459, 7723, -16384,
297
+ -6689, 0, 0, 10923, 7723, 13377, 13377, -11585,
298
+ 9459, 7723, 16384, -6689, 0, 0, 10923, -15447,
299
+ 13377, 0, 0, -18919, 7723, 0, 13377, 0,
300
+ 0, 10923, 7723, -13377, -13377, 11585, -9459, 7723,
301
+ 16384, -6689, 0, 0, 10923, -7723, 0, 13377,
302
+ -16384, 0, -15447, 0, 9459, 0, 0, 10923,
303
+ -7723, 0, -13377, 16384, 0, -15447, 0, 9459,
304
+ 0, 0, 10923, 15447, 0, 0, 0, 0,
305
+ -15447, 0, -18919, 0, 0, 10923, 7723, -13377,
306
+ 13377, -11585, -9459, 7723, -16384, -6689, 0, 0,
307
+ 10923, -15447, -13377, 0, 0, 18919, 7723, 0,
308
+ 13377, 0, 0, 0, 0, 0, 0, 0,
309
+ 0, 0, 0, 0, 32767, 0, 0, 0,
310
+ 0, 0, 0, 0, 0, 0, 0, 0,
311
+ 32767
312
+ };
313
+
314
+ const MappingMatrix mapping_matrix_toa_mixing = { 18, 18, 0 };
315
+ const opus_int16 mapping_matrix_toa_mixing_data[324] = {
316
+ 8208, 0, -881, 14369, 0, 0, -8192, -4163,
317
+ 13218, 0, 0, 0, 11095, -8836, -6218, 14833,
318
+ 0, 0, 8208, -10161, 881, 10161, -13218, -2944,
319
+ -8192, 2944, 0, -10488, -6218, 6248, -11095, -6248,
320
+ 0, -10488, 0, 0, 8208, 10161, 881, -10161,
321
+ -13218, 2944, -8192, -2944, 0, 10488, -6218, -6248,
322
+ -11095, 6248, 0, 10488, 0, 0, 8176, 5566,
323
+ -11552, 5566, 9681, -11205, 8192, -11205, 0, 4920,
324
+ -15158, 9756, -3334, 9756, 0, -4920, 0, 0,
325
+ 8176, 7871, 11552, 0, 0, 15846, 8192, 0,
326
+ -9681, -6958, 0, 13797, 3334, 0, -15158, 0,
327
+ 0, 0, 8176, 0, 11552, 7871, 0, 0,
328
+ 8192, 15846, 9681, 0, 0, 0, 3334, 13797,
329
+ 15158, 6958, 0, 0, 8176, 5566, -11552, -5566,
330
+ -9681, -11205, 8192, 11205, 0, 4920, 15158, 9756,
331
+ -3334, -9756, 0, 4920, 0, 0, 8208, 14369,
332
+ -881, 0, 0, -4163, -8192, 0, -13218, -14833,
333
+ 0, -8836, 11095, 0, 6218, 0, 0, 0,
334
+ 8208, 10161, 881, 10161, 13218, 2944, -8192, 2944,
335
+ 0, 10488, 6218, -6248, -11095, -6248, 0, -10488,
336
+ 0, 0, 8208, -14369, -881, 0, 0, 4163,
337
+ -8192, 0, -13218, 14833, 0, 8836, 11095, 0,
338
+ 6218, 0, 0, 0, 8208, 0, -881, -14369,
339
+ 0, 0, -8192, 4163, 13218, 0, 0, 0,
340
+ 11095, 8836, -6218, -14833, 0, 0, 8176, -5566,
341
+ -11552, 5566, -9681, 11205, 8192, -11205, 0, -4920,
342
+ 15158, -9756, -3334, 9756, 0, -4920, 0, 0,
343
+ 8176, 0, 11552, -7871, 0, 0, 8192, -15846,
344
+ 9681, 0, 0, 0, 3334, -13797, 15158, -6958,
345
+ 0, 0, 8176, -7871, 11552, 0, 0, -15846,
346
+ 8192, 0, -9681, 6958, 0, -13797, 3334, 0,
347
+ -15158, 0, 0, 0, 8176, -5566, -11552, -5566,
348
+ 9681, 11205, 8192, 11205, 0, -4920, -15158, -9756,
349
+ -3334, -9756, 0, 4920, 0, 0, 8208, -10161,
350
+ 881, -10161, 13218, -2944, -8192, -2944, 0, -10488,
351
+ 6218, 6248, -11095, 6248, 0, 10488, 0, 0,
352
+ 0, 0, 0, 0, 0, 0, 0, 0,
353
+ 0, 0, 0, 0, 0, 0, 0, 0,
354
+ 32767, 0, 0, 0, 0, 0, 0, 0,
355
+ 0, 0, 0, 0, 0, 0, 0, 0,
356
+ 0, 0, 0, 32767
357
+ };
358
+
359
+ const MappingMatrix mapping_matrix_fourthoa_mixing = { 27, 27, 0 };
360
+ const opus_int16 mapping_matrix_fourthoa_mixing_data[729] = {
361
+ 9243, 0, 16010, 0, 0, 0, 20669, 0,
362
+ 0, 0, 0, 0, 24456, 0, 0, 0,
363
+ 0, 0, 0, 0, 27731, 0, 0, 0,
364
+ 0, 0, 0, 9243, 0, 10884, 11741, 0,
365
+ 0, 3995, 17849, 9626, 0, 0, 0, -5727,
366
+ 14399, 17315, 7625, 0, 0, 0, 0, -11747,
367
+ 2574, 18637, 15552, 5930, 0, 0, 9243, -14302,
368
+ -2682, -6677, 13337, 5357, -9464, 2501, -11170, 4770,
369
+ -5911, 11501, 5858, 5369, 4951, 17901, -19071, -2397,
370
+ -9281, -9198, 7576, -4294, 7773, -8997, -3399, 0,
371
+ 0, 9243, 9940, 11991, -3705, -5144, 16647, 7057,
372
+ -6206, -5941, -2698, -10194, 16781, -1788, -6256, -11772,
373
+ 4935, 3912, -6062, -13039, 9446, -9758, -3521, -15058,
374
+ 11089, 565, 0, 0, 9243, -15376, 3720, 2461,
375
+ -5285, -7989, -8660, 1278, -16087, 15811, -3249, 10500,
376
+ -7757, -1680, -9890, -8153, 10884, 11022, 2847, 12828,
377
+ 5137, -2053, 8666, -5684, 14776, 0, 0, 9243,
378
+ -10577, 10304, -6186, 9139, -15222, 2507, -8902, -5140,
379
+ -145, 15562, -10596, -7311, -6197, -8753, 8667, -6014,
380
+ -281, 15033, 938, -11859, 548, -8456, 16735, -3654,
381
+ 0, 0, 9243, 8974, 4839, -12343, -15472, 6066,
382
+ -7501, -8343, 5015, 15920, -12374, -4559, -9400, 6271,
383
+ 4011, 5191, -9932, 14438, 4828, -8768, 1909, 12059,
384
+ -1565, 4707, -13711, 0, 0, 9243, 15799, 2085,
385
+ -1534, -3386, 4602, -9808, -447, -17267, -18054, -1167,
386
+ -13525, -4644, 1313, -5951, 5397, 7485, -7056, 2584,
387
+ -8120, 8669, 788, 13177, 2109, 18349, 0, 0,
388
+ 9243, 12371, -10036, 1597, 2760, -17341, 1848, -2239,
389
+ -10509, -8474, -4577, 11164, 7935, 1441, 17430, -3436,
390
+ -3713, 15936, 4184, 2647, -11730, 341, -15934, 6462,
391
+ 6581, 0, 0, 9243, -8963, 2184, 13084, -16381,
392
+ -2734, -9757, 3991, 6345, -18297, -5912, 7604, -4849,
393
+ -11100, 2290, -4304, -13305, -7488, 12338, 4805, 8505,
394
+ -7014, -4779, -1761, -14597, 0, 0, 9243, 1301,
395
+ -15498, 3799, 690, -2816, 18718, -8223, 889, 255,
396
+ -1768, 4485, -19951, 13097, -2278, 167, 78, -740,
397
+ 3324, -6139, 19488, -17925, 4283, -486, 20, 0,
398
+ 0, 9243, -13470, -6719, 5452, -10257, 12641, -4873,
399
+ -5116, -10595, 5856, 11389, 1502, 10876, -608, 11765,
400
+ -13218, 13911, -7373, -2070, -13679, -4154, 5536, -2138,
401
+ 16643, 451, 0, 0, 9243, 2455, -3679, -15387,
402
+ -5277, -1261, -8697, 7906, 16112, 8147, 3208, -1690,
403
+ 7687, 10593, -9796, -15852, -10884, -5616, 2881, 2032,
404
+ 5246, -12735, -8796, 10928, 14833, 0, 0, 9243,
405
+ -6849, 2775, -14202, 13586, -2655, -9402, -5505, 10809,
406
+ -18013, 6231, 5444, -6041, 11288, 4958, -4078, 18799,
407
+ -9368, -9291, 4535, 7383, 9405, -7391, -2121, -4336,
408
+ 0, 0, 9243, 6423, -9040, 11548, 10359, -8109,
409
+ -450, -14580, 6431, 10857, -15475, 3569, 9707, 6416,
410
+ -9607, 521, 8528, -18391, 11049, 3815, -10423, 6860,
411
+ 6860, -883, -4221, 0, 0, 9243, 11932, -5968,
412
+ -8850, -14749, -9946, -6026, 7377, -4472, 5206, 14547,
413
+ -3406, 10508, 2526, 4411, 14543, 8444, -5822, 347,
414
+ 12347, -1709, -9158, 105, -16265, -12642, 0, 0,
415
+ 9243, 13044, -150, 9282, 16910, -274, -10332, -194,
416
+ -5864, 5428, -420, -12196, 344, -8679, 145, -18554,
417
+ -12695, -152, -14635, 503, 10389, 358, 5076, 522,
418
+ -16100, 0, 0, 9243, -8374, -13590, -1221, 1428,
419
+ 15896, 12005, 2318, -4793, 2590, -3209, -20390, -6256,
420
+ -2974, 10766, 1202, -876, -6597, 5004, 19896, -1541,
421
+ 2902, -16788, -3062, 1340, 0, 0, 9243, 9879,
422
+ 10267, 7300, 10073, 14167, 2416, 10469, -3094, 2899,
423
+ 17092, 9762, -7400, 7214, -5250, -8238, -3989, 5578,
424
+ 16392, -1050, -11848, -776, -5034, -15850, -5882, 0,
425
+ 0, 9243, -4974, -9068, 12221, -8490, 6299, -388,
426
+ -15478, 8702, -9920, 12723, -2810, 9668, 6905, -13040,
427
+ 4325, -9456, 16856, -9159, -2909, -10476, 7149, 9387,
428
+ -7350, 233, 0, 0, 9243, 3627, -13823, -7218,
429
+ -3656, -7002, 12776, 13935, 2719, 2446, 8352, 9252,
430
+ -7676, -18413, -6212, -429, -1272, -6335, -13356, -9510,
431
+ 295, 18926, 9934, 1112, -382, 0, 0, 9243,
432
+ -6383, -9343, -11326, 10097, 8329, 223, 14780, 6114,
433
+ -10348, -15590, -4195, 9257, -7445, -9439, -323, 7902,
434
+ 18117, 12101, -3142, -10944, -5577, 7327, 566, -4133,
435
+ 0, 0, 9243, 2626, 865, 15769, 5783, 317,
436
+ -10244, 1905, 16884, 9144, 826, -2420, -1972, -14536,
437
+ 2413, 16939, 12500, 1482, -4906, -578, 10096, -3476,
438
+ -14323, 2745, 16105, 0, 0, 9243, -8975, 12086,
439
+ 5450, -6832, -15149, 7333, 9200, -3550, -362, -13645,
440
+ -15525, -1391, 9428, -7091, -5442, 3105, -820, -17685,
441
+ -9175, -9462, 5572, -9191, -12325, -2180, 0, 0,
442
+ 9243, -114, 11576, -11058, 177, -185, 5875, -17880,
443
+ 8539, -198, 339, -173, -3411, -16698, 16336, -6369,
444
+ 193, -430, 408, -75, -10806, -7225, 19670, -13817,
445
+ 4665, 0, 0, 0, 0, 0, 0, 0,
446
+ 0, 0, 0, 0, 0, 0, 0, 0,
447
+ 0, 0, 0, 0, 0, 0, 0, 0,
448
+ 0, 0, 0, 0, 32767, 0, 0, 0,
449
+ 0, 0, 0, 0, 0, 0, 0, 0,
450
+ 0, 0, 0, 0, 0, 0, 0, 0,
451
+ 0, 0, 0, 0, 0, 0, 0, 0,
452
+ 32767
453
+ };
454
+
455
+ const MappingMatrix mapping_matrix_fifthoa_mixing = { 38, 38, 0 };
456
+ const opus_int16 mapping_matrix_fifthoa_mixing_data[1444] = {
457
+ 9243, 0, 16010, 0, 0, 0, 20669, 0,
458
+ 0, 0, 0, 0, 24456, 0, 0, 0,
459
+ 0, 0, 0, 0, 27731, 0, 0, 0,
460
+ 0, 0, 0, 0, 0, 0, 30657, 0,
461
+ 0, 0, 0, 0, 0, 0, 9243, 0,
462
+ -7023, 14387, 0, 0, -4369, -14112, 14455, 0,
463
+ 0, 0, 10931, -510, -16777, 14031, 0, 0,
464
+ 0, 0, -5118, 14286, 4343, -18465, 13374, 0,
465
+ 0, 0, 0, 0, -6494, -12221, 11761, 8513,
466
+ -19458, 12605, 0, 0, 9243, -14128, 5093, 5547,
467
+ -10946, -10050, -7197, 3945, -11790, 7142, -9213, 6529,
468
+ -9701, -2563, -9923, -14846, 16521, 6816, 2764, 14103,
469
+ 1118, -5537, 2977, -14168, 1228, 4866, 17430, -528,
470
+ 10639, 2641, 10437, -1037, 11460, 1098, 1296, 15737,
471
+ 0, 0, 9243, 1128, -14775, 6062, 955, -2329,
472
+ 16069, -12511, 2477, 579, -2333, 3440, -14197, 18478,
473
+ -6050, 940, 303, -1604, 4106, -4223, 9829, -22688,
474
+ 10647, -2604, 334, 145, -927, 3203, -6017, 4507,
475
+ -3812, 24212, -15600, 5198, -1023, 110, 0, 0,
476
+ 9243, 1158, 12997, 9277, 1501, 2103, 10097, 16840,
477
+ 5916, 1402, 3225, 2488, 2929, 19916, 12706, 3585,
478
+ 1137, 3415, 4698, 2078, -5442, 16634, 18511, 8731,
479
+ 2095, 850, 3061, 5733, 5225, 960, -11728, 7689,
480
+ 20588, 14659, 5642, 1187, 0, 0, 9243, -4663,
481
+ -3081, -15003, 9771, 2007, -9185, 6457, 14199, -14357,
482
+ -4976, 3554, 6625, 11434, -7231, -11297, 17760, 8291,
483
+ -6267, -3368, 6712, -10837, -9107, 6524, 6793, -19531,
484
+ -11338, 7934, 7335, -2205, -9215, -7094, 10659, 6243,
485
+ -4337, -1250, 0, 0, 9243, -13515, 7679, -3831,
486
+ 7232, -14496, -3201, -4109, -11731, 8828, 9178, -1901,
487
+ -10848, -539, -14888, 9626, -10860, 12703, 3824, 12334,
488
+ -7104, 3496, -6203, 13852, 5461, -2109, -17277, 7837,
489
+ -4714, 13901, 4097, 3940, 7647, 8546, 8688, -10986,
490
+ 0, 0, 9243, 8113, -9860, 9657, 10943, -11174,
491
+ 1426, -13300, 1915, 8178, -17833, 6805, 8309, 8100,
492
+ -3121, -4742, 2683, -15111, 15688, 2358, -11590, 2807,
493
+ 2746, 8762, -7430, -2251, -5481, 16370, -4081, -9694,
494
+ 5872, -11539, -714, -9492, 15177, -6126, 0, 0,
495
+ 9243, 9933, -9215, -8528, -11831, -12785, -62, 10976,
496
+ -1811, 5593, 18018, 6100, 9455, -5237, 2758, 8971,
497
+ 2743, -9659, -13517, 5330, -10737, -4576, -2069, -15491,
498
+ -8749, -7226, -5237, 9191, -181, -12277, 2815, 10540,
499
+ -27, 14741, 16703, 3103, 0, 0, 9243, -10067,
500
+ -8881, -8723, 12265, 12487, -793, 10821, -1762, -6021,
501
+ -18002, -5072, 9912, -4395, 2587, 9368, -2767, 10021,
502
+ 12259, -6468, -10113, -5605, -1761, -15590, -9430, 7800,
503
+ 5092, -8835, 2293, 12314, 1222, 10671, -329, 13745,
504
+ 17349, 3563, 0, 0, 9243, -6485, 12991, -6743,
505
+ 6108, -11768, 10080, -12236, 238, -2883, 13115, -13907,
506
+ 2900, -14460, 511, 2564, 186, -7019, 19094, -11597,
507
+ -5472, -12058, 744, 6243, -2384, 930, 501, -11778,
508
+ 21214, -5330, -11746, -5542, 827, 10475, -6418, 1132,
509
+ 0, 0, 9243, 3862, 5238, -14627, -7891, 2826,
510
+ -7015, -10701, 13900, 11410, -6831, -1679, -9861, 6359,
511
+ 12032, -11660, -14041, 11199, 1713, -3895, 657, 14749,
512
+ -3017, -11445, 8380, 15575, -15236, -346, 7690, -923,
513
+ 10317, 3498, -13545, 354, 9093, -4476, 0, 0,
514
+ 9243, -8417, 13183, 3418, -4018, -15498, 10685, 6294,
515
+ -4132, 1419, -8755, -18818, 3926, 7642, -9001, -3235,
516
+ 2125, 3506, -13037, -16570, -4337, 6729, -13404, -7991,
517
+ 59, 443, 5804, 6005, -15011, -9060, -11044, 3679,
518
+ -15434, -13685, 161, 1185, 0, 0, 9243, -5288,
519
+ 6773, -13508, 9977, -5002, -4784, -12780, 10790, -12942,
520
+ 11168, 519, -10890, 1326, 12078, -6274, 13780, -16427,
521
+ 2186, 5352, -4328, 13671, 2364, -7963, 1080, -12568,
522
+ 19336, -6557, -8574, 4084, 7277, 10433, -9273, -3178,
523
+ 1516, 3817, 0, 0, 9243, 9660, 7817, 10093,
524
+ 13619, 10548, -2942, 11021, 597, 9663, 17594, 1736,
525
+ -10794, 1814, 771, -8469, 1041, 14155, 7891, -8597,
526
+ -7498, -8982, 346, -12407, -11848, -6809, 1686, 9181,
527
+ -8306, -10247, 3538, -10706, -364, -8047, -19188, -8493,
528
+ 0, 0, 9243, -7163, -1020, 14282, -14289, 1021,
529
+ -10208, -2036, 10660, -18919, 2410, 6564, 2323, -13088,
530
+ -1798, 3365, -19498, 3619, 12022, -1858, 9978, 3705,
531
+ -8969, -643, -5794, -15523, 4123, 15113, -3949, -6265,
532
+ -3596, 12490, 2946, -2688, 1225, -14570, 0, 0,
533
+ 9243, -12187, 772, -10354, 17623, -1314, -10262, -1117,
534
+ -2885, -9937, 2249, 11267, -1763, 9572, -368, 16506,
535
+ -6510, -1438, -15014, 2402, 10157, 2041, 2458, 2389,
536
+ -19346, 19860, -1041, 8067, -3704, -10931, 2743, -9286,
537
+ 606, -13399, -3095, 7924, 0, 0, 9243, 15545,
538
+ -2367, -3011, -6538, -5139, -9657, 995, -16242, -15706,
539
+ 2557, -12952, 5226, 2508, 6353, 10156, 13593, 6966,
540
+ 4795, 8960, 8183, -1735, 11914, -4504, 14149, 11727,
541
+ -6665, 10460, -3962, 10145, -7648, -1965, -9845, -6764,
542
+ -6938, -16633, 0, 0, 9243, 3098, 12983, -8841,
543
+ -3826, 5618, 10053, -16031, 4787, 3283, -8209, 6632,
544
+ 2856, -18922, 10272, -2055, -2344, 7987, -11939, 5516,
545
+ -5520, -15739, 14940, -5001, 530, 1465, -6306, 13388,
546
+ -13243, 2513, -11772, -7170, 16572, -8384, 1426, 168,
547
+ 0, 0, 9243, -15767, -2008, -1916, 4220, 4422,
548
+ -9846, 537, -17105, 17650, -1400, 13589, 4481, 1651,
549
+ 5677, 6701, -9241, -6642, -3252, -7827, 8792, -951,
550
+ 13182, -2522, 17586, -17005, 3845, -12562, 2213, -11472,
551
+ -6688, -1394, -8970, -4769, -7316, -11753, 0, 0,
552
+ 9243, -13344, -3829, 7975, -14863, 7136, -8561, -4265,
553
+ -7992, -801, 9405, 8912, 7937, -5326, 5057, -17681,
554
+ 15207, 575, 7717, -11360, 4847, 6789, 4150, 12686,
555
+ -10050, 16730, -12063, 322, -12920, -3313, -10267, 1980,
556
+ -6948, 7112, 7972, 8042, 0, 0, 9243, 7791,
557
+ -1021, 13949, 15180, -1111, -10208, -1989, 9348, 19199,
558
+ -2561, -7140, 2323, -12782, -1577, 817, 18164, -3673,
559
+ -12771, 2022, 9978, 3620, -7865, -156, -9155, 11924,
560
+ -3842, -15336, 4196, 6814, -3596, 12199, 2583, -652,
561
+ 1936, -17637, 0, 0, 9243, -4810, -15144, -1958,
562
+ 1315, 10175, 17406, 4142, -1348, 263, -3292, -15632,
563
+ -17046, -6363, 3374, 605, -227, -748, 5997, 20334,
564
+ 14481, 8277, -6146, -1717, 5, 27, 712, 1542,
565
+ -9197, -23572, -10163, -9595, 9425, 3539, -17, -72,
566
+ 0, 0, 9243, -7366, 8261, 11568, -11901, -8499,
567
+ -2079, 13347, 5556, -12049, -16247, -2282, -10529, 3584,
568
+ 7585, -1577, -8464, -18652, -8902, 5913, -8688, -9287,
569
+ 4156, -2442, -7089, -2993, -14485, -13949, 5422, 8459,
570
+ 1638, -13285, -2531, -1826, -12132, -9456, 0, 0,
571
+ 9243, 11716, 698, -10889, -17818, 1143, -10275, -1062,
572
+ -1305, 12057, -2057, -10855, -1595, 10088, -150, 15043,
573
+ 2978, 1578, 15225, -2090, 10201, 1943, 1115, 1969,
574
+ -20211, -17636, 430, -9826, 3391, 10572, 2485, -9826,
575
+ 248, -12259, -2924, 12131, 0, 0, 9243, 4361,
576
+ -4594, -14703, -8956, -2798, -7781, 9434, 13769, 12936,
577
+ 6800, -2400, 9082, 8091, -10453, -11023, -15786, -11136,
578
+ 3285, 4153, 2658, -14002, -5051, 9489, 7000, 17206,
579
+ 15024, -2777, -8491, -42, -10626, 141, 13053, 2366,
580
+ -6662, -2231, 0, 0, 9243, -752, -11933, -10646,
581
+ 1119, 1254, 6890, 17745, 7875, -1203, -2207, -1251,
582
+ 2024, -17706, -15532, -5600, 1128, 2691, 2800, 683,
583
+ -9927, 9661, 19706, 12522, 3889, -978, -2789, -3992,
584
+ -2440, 206, 12695, 2921, -17173, -18575, -9616, -2657,
585
+ 0, 0, 9243, 4791, -15001, -2887, -1931, -10037,
586
+ 16885, 6048, -1020, 46, 4789, 15191, -15922, -9154,
587
+ 2530, 823, 252, -130, -8608, -19335, 12613, 11651,
588
+ -4549, -2314, -172, -101, -784, 265, 12975, 21741,
589
+ -7551, -13101, 6856, 4710, 535, -46, 0, 0,
590
+ 9243, -12153, -10395, 754, -1281, 17644, 2735, -1095,
591
+ -10274, 8359, 2200, -12593, 7083, 782, 17650, -1573,
592
+ 1685, -16282, -2164, -530, -11878, 32, -17359, 3065,
593
+ 6651, -5212, -3628, 19365, 965, 13180, 8243, -818,
594
+ 7746, -3645, -14323, 1670, 0, 0, 9243, -6961,
595
+ -11198, 9081, -8829, 10887, 4833, -14202, 2374, -6524,
596
+ 16339, -9417, 4737, 12284, -4394, -2691, -2683, 13690,
597
+ -18539, 2830, -11438, -3692, 4985, 5648, -4628, 514,
598
+ 6225, -18409, 12672, 5311, 11170, -6928, -3407, -7595,
599
+ 10737, -3977, 0, 0, 9243, 12099, -10405, 1294,
600
+ 2187, -17582, 2760, -1880, -10105, -8058, -3760, 12583,
601
+ 7058, 1346, 17376, -2667, -2829, 15710, 3705, 468,
602
+ -11880, 50, -17123, 5201, 6230, 4698, 6098, -18716,
603
+ -1665, -13088, 8285, -1400, 7696, -6196, -13429, 2770,
604
+ 0, 0, 9243, 8602, 13392, 1722, 2070, 16090,
605
+ 11359, 3222, -4960, -2638, 4581, 20106, 5099, 4026,
606
+ -10978, -1778, -1314, -6620, 6988, 18701, -2965, 3745,
607
+ -16745, -4461, 1300, 584, -3646, -11588, 8350, 11847,
608
+ -10050, 2372, -20010, -7809, 3608, 887, 0, 0,
609
+ 9243, 14252, -1958, 7026, 13986, -3899, -9870, -1922,
610
+ -10736, -3693, -4527, -12333, 4376, -6080, 3475, -18537,
611
+ -19222, 1355, -10843, 6913, 8869, 3408, 8323, 6804,
612
+ -5141, -13648, 7800, 2649, 7171, 10505, -6548, 5179,
613
+ -5505, 13299, 2086, 15579, 0, 0, 9243, 11323,
614
+ 9021, -6835, -10810, 14267, -489, -8613, -5689, 639,
615
+ -16117, 6224, -9731, -3757, -8482, 10882, 7873, 1080,
616
+ -11447, -6791, -10388, 4099, -6025, 18396, -5407, -7536,
617
+ 14714, 984, 1267, -13940, -1889, 8416, 666, 16762,
618
+ -10106, -3418, 0, 0, 9243, 871, 4833, 15238,
619
+ 1855, 588, -7508, 10287, 16162, 2857, 1481, -443,
620
+ -9392, -7758, 12910, 16506, 3837, 2588, -581, -851,
621
+ 1928, -14879, -5066, 14950, 16498, 4773, 3842, -425,
622
+ -1785, -82, 10578, -1435, -15554, -2459, 16520, 16250,
623
+ 0, 0, 9243, 14762, 5967, 1673, 3450, 12303,
624
+ -6027, 1394, -15022, -14571, 3402, -4217, -10507, -478,
625
+ -14813, -5131, -6634, -16293, -82, -15276, -1705, -1731,
626
+ 358, -5738, 13681, 12503, -8200, -3023, -3290, -7384,
627
+ 9272, -837, 14328, -1064, 16913, 7915, 0, 0,
628
+ 0, 0, 0, 0, 0, 0, 0, 0,
629
+ 0, 0, 0, 0, 0, 0, 0, 0,
630
+ 0, 0, 0, 0, 0, 0, 0, 0,
631
+ 0, 0, 0, 0, 0, 0, 0, 0,
632
+ 0, 0, 0, 0, 32767, 0, 0, 0,
633
+ 0, 0, 0, 0, 0, 0, 0, 0,
634
+ 0, 0, 0, 0, 0, 0, 0, 0,
635
+ 0, 0, 0, 0, 0, 0, 0, 0,
636
+ 0, 0, 0, 0, 0, 0, 0, 0,
637
+ 0, 0, 0, 32767
638
+ };
639
+
640
+ const MappingMatrix mapping_matrix_foa_demixing = { 6, 6, 0 };
641
+ const opus_int16 mapping_matrix_foa_demixing_data[36] = {
642
+ 16384, 16384, 16384, 16384, 0, 0, 0, 23170,
643
+ 0, -23170, 0, 0, -16384, 16384, -16384, 16384,
644
+ 0, 0, 23170, 0, -23170, 0, 0, 0,
645
+ 0, 0, 0, 0, 32767, 0, 0, 0,
646
+ 0, 0, 0, 32767
647
+ };
648
+
649
+ const MappingMatrix mapping_matrix_soa_demixing = { 11, 11, 3050 };
650
+ const opus_int16 mapping_matrix_soa_demixing_data[121] = {
651
+ 2771, 2771, 2771, 2771, 2771, 2771, 2771, 2771,
652
+ 2771, 0, 0, 10033, 10033, -20066, 10033, 14189,
653
+ 14189, -28378, 10033, -20066, 0, 0, 3393, 3393,
654
+ 3393, -3393, 0, 0, 0, -3393, -3393, 0,
655
+ 0, -17378, 17378, 0, -17378, -24576, 24576, 0,
656
+ 17378, 0, 0, 0, -14189, 14189, 0, -14189,
657
+ -28378, 28378, 0, 14189, 0, 0, 0, 2399,
658
+ 2399, -4799, -2399, 0, 0, 0, -2399, 4799,
659
+ 0, 0, 1959, 1959, 1959, 1959, -3918, -3918,
660
+ -3918, 1959, 1959, 0, 0, -4156, 4156, 0,
661
+ 4156, 0, 0, 0, -4156, 0, 0, 0,
662
+ 8192, 8192, -16384, 8192, 16384, 16384, -32768, 8192,
663
+ -16384, 0, 0, 0, 0, 0, 0, 0,
664
+ 0, 0, 0, 0, 8312, 0, 0, 0,
665
+ 0, 0, 0, 0, 0, 0, 0, 0,
666
+ 8312
667
+ };
668
+
669
+ const MappingMatrix mapping_matrix_toa_demixing = { 18, 18, 0 };
670
+ const opus_int16 mapping_matrix_toa_demixing_data[324] = {
671
+ 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
672
+ 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
673
+ 0, 0, 0, -9779, 9779, 6263, 8857, 0,
674
+ 6263, 13829, 9779, -13829, 0, -6263, 0, -8857,
675
+ -6263, -9779, 0, 0, -3413, 3413, 3413, -11359,
676
+ 11359, 11359, -11359, -3413, 3413, -3413, -3413, -11359,
677
+ 11359, 11359, -11359, 3413, 0, 0, 13829, 9779,
678
+ -9779, 6263, 0, 8857, -6263, 0, 9779, 0,
679
+ -13829, 6263, -8857, 0, -6263, -9779, 0, 0,
680
+ 0, -15617, -15617, 6406, 0, 0, -6406, 0,
681
+ 15617, 0, 0, -6406, 0, 0, 6406, 15617,
682
+ 0, 0, 0, -5003, 5003, -10664, 15081, 0,
683
+ -10664, -7075, 5003, 7075, 0, 10664, 0, -15081,
684
+ 10664, -5003, 0, 0, -8176, -8176, -8176, 8208,
685
+ 8208, 8208, 8208, -8176, -8176, -8176, -8176, 8208,
686
+ 8208, 8208, 8208, -8176, 0, 0, -7075, 5003,
687
+ -5003, -10664, 0, 15081, 10664, 0, 5003, 0,
688
+ 7075, -10664, -15081, 0, 10664, -5003, 0, 0,
689
+ 15617, 0, 0, 0, -6406, 6406, 0, -15617,
690
+ 0, -15617, 15617, 0, 6406, -6406, 0, 0,
691
+ 0, 0, 0, -11393, 11393, 2993, -4233, 0,
692
+ 2993, -16112, 11393, 16112, 0, -2993, 0, 4233,
693
+ -2993, -11393, 0, 0, 0, -9974, -9974, -13617,
694
+ 0, 0, 13617, 0, 9974, 0, 0, 13617,
695
+ 0, 0, -13617, 9974, 0, 0, 0, 5579,
696
+ -5579, 10185, 14403, 0, 10185, -7890, -5579, 7890,
697
+ 0, -10185, 0, -14403, -10185, 5579, 0, 0,
698
+ 11826, -11826, -11826, -901, 901, 901, -901, 11826,
699
+ -11826, 11826, 11826, -901, 901, 901, -901, -11826,
700
+ 0, 0, -7890, -5579, 5579, 10185, 0, 14403,
701
+ -10185, 0, -5579, 0, 7890, 10185, -14403, 0,
702
+ -10185, 5579, 0, 0, -9974, 0, 0, 0,
703
+ -13617, 13617, 0, 9974, 0, 9974, -9974, 0,
704
+ 13617, -13617, 0, 0, 0, 0, 16112, -11393,
705
+ 11393, -2993, 0, 4233, 2993, 0, -11393, 0,
706
+ -16112, -2993, -4233, 0, 2993, 11393, 0, 0,
707
+ 0, 0, 0, 0, 0, 0, 0, 0,
708
+ 0, 0, 0, 0, 0, 0, 0, 0,
709
+ 32767, 0, 0, 0, 0, 0, 0, 0,
710
+ 0, 0, 0, 0, 0, 0, 0, 0,
711
+ 0, 0, 0, 32767
712
+ };
713
+
714
+ const MappingMatrix mapping_matrix_fourthoa_demixing = { 27, 27, 0 };
715
+ const opus_int16 mapping_matrix_fourthoa_demixing_data[729] = {
716
+ 4870, 4484, 4870, 4347, 4440, 4726, 4683, 4821,
717
+ 4883, 4842, 4603, 4484, 4683, 4698, 4234, 4368,
718
+ 4603, 4783, 4783, 4820, 4821, 4347, 4820, 4440,
719
+ 4698, 0, 0, 101, 84, -7818, 4640, -7178,
720
+ -5492, 4629, 8384, 6547, -4966, 617, -6345, 1061,
721
+ -3241, 2939, 5549, 6390, -4434, 4994, -2610, 1993,
722
+ -2873, 1547, -4356, -164, 0, 0, 8797, 5074,
723
+ -1553, 5383, 1906, 5297, 2722, 1158, -5226, 1311,
724
+ -7760, -3327, -1940, 1586, -4093, -2951, -214, -6873,
725
+ 5450, -4875, -7193, -4438, 558, 5593, 5607, 0,
726
+ 0, -26, 5761, -3723, -1460, 1195, -3065, -6357,
727
+ -1175, 608, 6965, 2310, 2759, -8023, -7138, 5162,
728
+ -3624, 5006, -809, 3592, 6209, -4159, -4968, 8150,
729
+ 2513, -5702, 0, 0, 301, 109, 7161, -2462,
730
+ -2443, 5044, -7125, -2256, 1967, -9107, 259, -4928,
731
+ -2592, 6514, 4111, -7236, 8695, 635, 5009, -4025,
732
+ -1937, 4794, 3420, -3507, -400, 0, 0, -134,
733
+ 85, 2771, 7842, -3649, -8225, 2866, 2586, -9200,
734
+ -1945, -1563, 6155, -720, -1061, -3494, -4513, -487,
735
+ 8389, 7317, 3348, -3721, 3806, 371, -6896, 70,
736
+ 0, 0, 10919, 2072, -4867, 3472, -4429, 1721,
737
+ -4066, -5193, 1032, -5253, 9501, -2017, -3971, -5261,
738
+ -306, -2737, -5137, 5713, 1237, -8, 6387, 364,
739
+ -5423, 3364, 2888, 0, 0, -48, 8946, 1048,
740
+ -2691, 602, -4332, -4302, -514, -1730, 2459, -4328,
741
+ -2156, 3335, -2748, -6029, 4023, 155, 897, 5268,
742
+ -8380, 7625, 7395, 508, 3945, -8951, 0, 0,
743
+ 39, 4151, -5965, -3398, -7006, -3534, 2697, -8989,
744
+ -5237, 2913, 46, -5540, 8196, 5766, 2711, -2520,
745
+ -3043, -2146, -948, 4965, 1806, 2472, 8988, -1266,
746
+ 4840, 0, 0, -407, -189, 2179, -1627, 6516,
747
+ 259, 7196, -9449, -4905, -9766, 561, 4021, 3371,
748
+ -8650, 5032, 3329, 2534, 641, 2224, -5747, 1047,
749
+ -4074, 5252, -24, 674, 0, 0, 664, 237,
750
+ -2837, -4072, -1205, 8252, -5875, -1670, -2743, -3984,
751
+ 381, 5059, 1765, 2666, -8295, 7403, 1154, -2086,
752
+ 7622, 7105, 3677, -6943, 1050, -6632, -694, 0,
753
+ 0, 382, -133, 5699, 7650, 5154, -5713, -1645,
754
+ -6902, 6181, 4450, 1151, 410, -993, 3829, 2444,
755
+ -2405, -6618, -9514, 5366, -1896, 5844, -2886, -1524,
756
+ -7321, -1007, 0, 0, 12767, -2530, 3183, -1409,
757
+ -4015, -2894, -5155, -1710, 3841, -2107, -10274, 5119,
758
+ 3979, -4010, 5550, 4822, -746, -2507, -3080, 4289,
759
+ -3675, 4333, -1416, -1230, -1122, 0, 0, 17,
760
+ 8048, 2398, -2167, -73, -3606, 3125, 398, 731,
761
+ -5973, 5705, -1032, 4679, 7305, 3134, 1301, -3858,
762
+ -89, 2938, 4359, -9155, -4805, -8407, 3673, -8645,
763
+ 0, 0, 187, 7355, 3145, -6719, -4432, -5939,
764
+ 2541, -2810, 9723, 778, -1105, 5687, -4174, 2534,
765
+ -4461, 1017, -244, 5481, -1655, -6765, -3350, -4894,
766
+ 1592, -2318, 8827, 0, 0, 196, 3588, 9631,
767
+ 3063, -4564, 6043, 2683, 2595, -2488, -2186, 173,
768
+ -6059, -8270, -2386, 409, 7441, -8608, 376, -4364,
769
+ 2321, -280, 97, 8331, -3022, -4721, 0, 0,
770
+ 117, -748, -10833, 1533, 4200, -2875, -997, -109,
771
+ -3661, -6119, 4454, 8808, -9189, 8294, 1521, 7265,
772
+ -2348, -5094, -948, -5400, -3193, 8914, 5763, 1716,
773
+ -1070, 0, 0, 2497, 399, -5201, -2038, 7843,
774
+ -376, 7567, -5073, 7616, -5537, 2086, -3453, -5544,
775
+ -56, -11648, -1314, 3546, -3432, -117, 8694, -4245,
776
+ 9621, 3098, -2582, -2351, 0, 0, 4386, -3104,
777
+ -3132, -10512, 566, 5217, 5128, 4967, 1348, 7035,
778
+ -1470, 91, -125, -3548, 8244, -3029, -10033, 2186,
779
+ 9745, -6440, -2074, 3638, -1477, -7045, -562, 0,
780
+ 0, 2154, 8116, -6102, 6570, 12998, -712, -4126,
781
+ -4996, 30, 1571, -6393, -12794, 425, 5036, 1190,
782
+ 5763, 5653, 12933, -6671, 5197, -2964, -3316, -6354,
783
+ -10554, -2652, 0, 0, 12618, -3737, 93, -5901,
784
+ 4262, -3364, 4444, 3103, -2767, 3403, 4925, -2584,
785
+ -989, 4977, -3714, -1965, 3076, 326, -2946, -2568,
786
+ 1026, -2980, 3362, -6132, -5966, 0, 0, 6001,
787
+ 48, -1979, -7275, 3476, -2096, 10591, 3793, 2629,
788
+ -447, -14747, -3689, -5525, 8358, 6883, -9703, -4556,
789
+ 7471, 2965, 4056, 13221, -7327, -3073, -2353, -6720,
790
+ 0, 0, 621, 11034, -44, -2828, 5978, -1850,
791
+ -1772, 3894, -7471, -1397, 945, -2028, -2928, -2240,
792
+ 3172, 2222, 4544, -4243, -5645, 3745, 2573, 3511,
793
+ -8206, -7286, 5700, 0, 0, 321, 10818, -4982,
794
+ 7813, -749, 9907, 1360, -1443, 568, -1103, 2305,
795
+ 6045, 2270, -1063, -1920, -3073, 5893, -3476, -11346,
796
+ -1657, -588, 2957, -2287, -8527, -8041, 0, 0,
797
+ 119, -268, 2372, -3040, 4979, -3789, -5630, 10619,
798
+ 5900, -5109, -4585, -3862, 10467, -3527, -385, -10034,
799
+ -9991, 4860, 984, 2362, 2311, -6804, 6324, 433,
800
+ 5291, 0, 0, 0, 0, 0, 0, 0,
801
+ 0, 0, 0, 0, 0, 0, 0, 0,
802
+ 0, 0, 0, 0, 0, 0, 0, 0,
803
+ 0, 0, 0, 0, 32767, 0, 0, 0,
804
+ 0, 0, 0, 0, 0, 0, 0, 0,
805
+ 0, 0, 0, 0, 0, 0, 0, 0,
806
+ 0, 0, 0, 0, 0, 0, 0, 0,
807
+ 32767
808
+ };
809
+
810
+ const MappingMatrix mapping_matrix_fifthoa_demixing = { 38, 38, 0 };
811
+ const opus_int16 mapping_matrix_fifthoa_demixing_data[1444] = {
812
+ 3188, 3247, 3268, 3368, 3368, 3138, 3268, 3099,
813
+ 3211, 3368, 3099, 3247, 3211, 3368, 3368, 3368,
814
+ 3149, 3268, 3247, 3211, 3099, 3188, 3138, 3149,
815
+ 3099, 3188, 3368, 3149, 3188, 3247, 3268, 3138,
816
+ 3211, 3368, 3138, 3149, 0, 0, 118, -47,
817
+ -5011, 282, 333, -1497, -4584, 2908, 3388, -3647,
818
+ -2493, 1139, -2882, -1719, 3604, -2543, -4328, 5443,
819
+ 1286, -5498, -4583, 2510, -1743, -2556, 4168, 1446,
820
+ -290, 1812, -4074, -2377, 4152, 2847, 4991, 3980,
821
+ 393, 5072, 0, 0, 5489, -2235, 1507, -5326,
822
+ 4609, -1096, 2926, -3427, -3301, -3078, 4226, 1730,
823
+ 4627, 2561, 2966, -592, 143, -677, 4617, -755,
824
+ -956, -433, -5138, 3037, 157, -1394, -4498, -4984,
825
+ -3661, -4112, -3756, 4628, -570, 3356, 1605, 1803,
826
+ 0, 0, -162, 5162, 2132, 2392, 3556, -5141,
827
+ -1536, 2975, -3001, -3350, -2231, -5230, 1294, -4965,
828
+ 3494, 5230, -3292, -1359, -2945, -773, 2670, 4867,
829
+ -660, 3720, -3415, -5112, -3700, -1211, 407, 3013,
830
+ 763, 591, 2481, -2657, 5210, 784, 0, 0,
831
+ -156, 338, -4246, 510, 462, 3296, 2846, 3333,
832
+ -4292, 4574, 1940, -2986, -1275, 3701, 5022, -5250,
833
+ 5780, -2676, -1180, 1516, -4852, 4877, 342, -3923,
834
+ -5703, -2920, 379, -657, -361, -3346, 1044, 795,
835
+ 5257, -4004, 698, 1115, 0, 0, 47, -140,
836
+ -3292, -1097, 652, 855, -5260, -3691, -4470, 4521,
837
+ -3863, 1093, -5552, -2016, 3831, 334, -456, -1532,
838
+ 2068, 1788, 2054, -295, 3668, -2820, 328, -994,
839
+ 295, -3301, 5770, 4282, -6353, 5632, -1371, 5005,
840
+ 238, 4041, 0, 0, 6764, -1659, -2730, 5726,
841
+ 3715, -3216, -933, 531, -52, -345, 3022, -2818,
842
+ 4005, -1617, -1189, -3748, -3403, -3592, 4040, -3553,
843
+ -2806, -3444, 6023, -711, -3298, -2503, 2548, 5564,
844
+ 940, 1848, 1207, 4010, -3488, -358, -2511, -1966,
845
+ 0, 0, -64, -5039, 1403, -4455, 6240, 2189,
846
+ -1716, -4348, 4183, 3951, -4042, -3606, 2399, -4563,
847
+ 4050, -612, -395, 348, -5791, 391, -1440, -735,
848
+ 1398, 4359, -518, 2969, 6556, 1951, -518, -4993,
849
+ -925, 998, -569, -2934, 3460, 420, 0, 0,
850
+ 16, 5482, -4122, 770, 2082, 5020, -3961, 485,
851
+ -584, -793, 3, 5222, -1416, 3673, 78, 3549,
852
+ -937, -5723, 1673, -6162, -2540, 3082, -355, 1838,
853
+ -615, 4601, 2832, -359, -3346, 668, -3393, -1583,
854
+ -3774, -2206, 5754, -4961, 0, 0, -328, 299,
855
+ 2470, 317, 525, -4494, 2805, 2617, 2383, -2363,
856
+ -1037, 4085, 895, -4622, 3218, -6607, -3381, -5933,
857
+ 1397, 6394, -446, 5694, 14, -4510, 4329, 3690,
858
+ -334, 0, 2932, -2478, -2944, -577, -599, -230,
859
+ 1553, -4736, 0, 0, -324, 142, -3252, -867,
860
+ 1111, -1882, 3378, -6055, 6502, -6840, 4280, -2694,
861
+ -2876, 4190, 6454, 655, 1061, 626, -2669, -798,
862
+ 3192, -985, -898, -5482, -548, 2315, -558, 1302,
863
+ 900, 5747, -1325, 1599, -1384, -5749, 624, 1110,
864
+ 0, 0, 321, 312, 2188, 1322, 237, 708,
865
+ -304, 2463, 1500, -1094, -5112, -1010, -6799, 646,
866
+ 992, 1969, 3423, -3996, 2628, 4451, 3432, -2833,
867
+ -6101, -330, -3768, -3, -707, 5961, -4037, -3736,
868
+ 4080, 7254, -4113, 2151, 54, -2150, 0, 0,
869
+ 7735, 4064, -3884, -5240, 577, 2229, -3947, 2914,
870
+ 3555, 4011, 774, -3519, 1985, -3701, -3824, 330,
871
+ -905, 2085, 1155, 2176, 3006, 340, -5533, -3264,
872
+ -902, 3114, 344, -5060, 1524, 1805, 1926, 2350,
873
+ 1905, -3203, -2762, -4162, 0, 0, 193, -151,
874
+ -1434, 6289, 7354, 4234, 169, 2868, -1977, -1375,
875
+ -4987, 2345, 2742, 599, 939, -4837, 2688, 991,
876
+ -6907, 716, -1542, -4346, -1833, 1493, 3134, 2903,
877
+ -7019, -2835, 93, 4395, 621, 870, -2357, -975,
878
+ -2933, -127, 0, 0, -616, -5968, -3479, -1651,
879
+ 4932, -2445, -5512, -1451, 691, 739, 479, 4227,
880
+ -2886, 3853, 8, -501, 188, 1990, 3842, 2270,
881
+ 1662, -174, 1290, 2456, 67, -3267, -5535, 483,
882
+ 5721, -1642, 6501, -3432, 1184, -3246, 4101, -4880,
883
+ 0, 0, -465, 5264, -4812, 682, 1683, -4539,
884
+ 2916, -1985, 2899, 3324, 1060, -4398, -745, -2137,
885
+ -3827, 1044, 6225, 3609, -532, 1980, -6001, 564,
886
+ -209, -1299, 5336, -3605, -1484, 37, 19, -1295,
887
+ -665, -385, -6773, 3651, 6153, -1291, 0, 0,
888
+ 193, -415, 5166, -110, 626, 6743, -2860, 1425,
889
+ 1101, -1341, 80, -4533, 249, 4231, -119, -6009,
890
+ -2970, 5170, -822, -2610, 4527, 5948, 182, -2589,
891
+ 837, -5471, 371, -43, 373, -665, -1233, -626,
892
+ -7353, 2606, 1339, -1398, 0, 0, -533, 147,
893
+ 2075, -672, 1043, 3503, 4402, -4971, -3287, 3731,
894
+ -2606, 3817, 1972, -5603, 5114, 1185, -1318, 1906,
895
+ 3018, -1999, 343, -1943, 207, -6744, 913, -4060,
896
+ 645, -349, -5667, 4766, 5575, -1733, 1116, 160,
897
+ 1534, -5690, 0, 0, -137, -36, 1556, 1325,
898
+ 1553, -2230, 1188, 5296, -5104, 4673, 6295, 498,
899
+ -4723, 933, 2994, 4067, -4700, 1758, -4116, -1252,
900
+ 2444, -4092, 1653, -2802, 5069, 1133, 790, -2355,
901
+ -934, -6304, 1642, 2045, -4259, -3873, -213, 215,
902
+ 0, 0, -364, 423, 4888, -1316, 118, -950,
903
+ 4027, 114, 2961, -3136, -3012, -883, -6192, 1340,
904
+ -3210, -1193, 1376, 3128, 1596, -2994, -3194, 533,
905
+ 8502, 2487, -1485, 1032, 301, -8007, -577, 887,
906
+ 297, 7778, 3121, -1901, -94, -6401, 0, 0,
907
+ 9260, -1845, 668, 2787, -2255, 2699, -2512, -3737,
908
+ -3675, -3601, -1803, 210, -1701, -1442, -2700, 3457,
909
+ 2868, 2079, -2113, 3178, 1277, 3578, 5240, -2482,
910
+ 3324, 1020, -4027, 3835, -3758, -3633, -3170, -1310,
911
+ 2509, -3110, 713, 174, 0, 0, -399, 4969,
912
+ -2321, -7744, 6494, -3776, 1478, 758, -1794, -2233,
913
+ -4059, 4932, 2770, 4761, -3475, 1243, 829, -651,
914
+ -5358, -436, 2381, 1360, 2561, -3118, 858, -4366,
915
+ 3933, 3646, -43, -1310, -16, 924, 1197, 1415,
916
+ -5036, -376, 0, 0, 100, 1410, 1290, 3199,
917
+ 7091, -3638, -2641, 1118, 45, -441, 794, -974,
918
+ -5033, 889, 438, -3102, 895, 3555, 4672, 4795,
919
+ 1129, -2408, -2153, 1742, 159, -2040, 7578, -2006,
920
+ -5737, 1986, -5568, -6413, 2428, -1387, -2441, 667,
921
+ 0, 0, -37, -6031, -4434, -904, 3290, 1806,
922
+ 4736, 2516, -5905, -5927, 1754, -4300, -2468, -2203,
923
+ -4836, -672, 1444, -1591, -1631, -1789, 4311, -153,
924
+ -688, -1222, 1058, 3139, 4659, -353, 1543, 1838,
925
+ 2180, -1448, 2432, 6277, 5304, -1692, 0, 0,
926
+ -280, 4506, 807, -477, 823, 3550, 1427, -1856,
927
+ -3003, -3501, -1203, 2679, 933, 778, -4954, -1977,
928
+ -7458, 4687, 435, 7045, -4053, -3130, 257, -3917,
929
+ -6165, 1889, 927, 235, 1889, -1097, 1985, 630,
930
+ -2172, -2130, 7080, 4810, 0, 0, -300, 496,
931
+ 2808, 279, 667, -7179, -2661, -526, -2832, 1751,
932
+ 2849, 4829, -906, -4151, -1124, -3062, 8166, 5361,
933
+ -1656, -6017, 3265, 2551, -864, -432, -6966, 6295,
934
+ -168, 901, 442, -582, 269, 236, -3574, 799,
935
+ 472, 565, 0, 0, 805, -2466, 6208, -4592,
936
+ -170, -6701, -5610, 3678, -4242, 4561, -724, -5534,
937
+ 2415, 7354, 2761, 2699, -349, 3822, -2372, 1756,
938
+ -5523, -3445, -588, -5749, -3986, 9804, -3871, 5375,
939
+ -2308, 5504, -2766, -1651, 1472, 6832, 2705, -5104,
940
+ 0, 0, -700, -1179, 4402, 400, 1383, 939,
941
+ -1342, 6013, 2577, -3472, 472, 2883, 1450, -3917,
942
+ 2849, 5084, 4990, 5392, 342, -4925, -3329, -5372,
943
+ -2674, -6035, -5072, -836, 179, 2506, 7987, -3647,
944
+ -8202, -1437, 1891, 2400, 1607, -3611, 0, 0,
945
+ -4706, -4003, 9928, -379, 5557, 3738, -8789, 685,
946
+ 1937, -5157, 13388, 7995, -4119, -9909, -5079, 4804,
947
+ 5586, 774, -5430, 299, -9943, 3264, -3690, -3901,
948
+ -1133, -6199, 3182, 1544, 5467, 3686, -2639, 4068,
949
+ 1163, -185, -1299, -506, 0, 0, 843, 1005,
950
+ -1059, 467, -1279, -2259, 6057, -1694, -5885, 5342,
951
+ -5160, -3748, -1382, 4420, -697, -2000, -3808, 3100,
952
+ 2685, -4073, 531, 318, -7822, 2414, 2901, 3399,
953
+ -1340, 8449, 3685, 463, -3341, 2423, 2304, -2723,
954
+ 84, -2622, 0, 0, 12088, -265, 2562, -435,
955
+ -4348, -2426, 3538, 1552, 1279, 883, -4166, 2634,
956
+ -6130, 2994, 3729, -1570, -601, -1753, -5124, -2788,
957
+ -2096, -1920, -2649, 2793, -1079, -1952, 2983, -1530,
958
+ 2499, 1769, 1492, -6757, -2108, 2841, 1466, 2597,
959
+ 0, 0, -3830, -4093, 2448, 12720, 7737, -665,
960
+ -832, -9257, 2971, -2400, 791, 1873, 1072, -587,
961
+ -7440, 8055, 1531, -4736, 616, -1782, -2982, 9663,
962
+ -5057, -5926, 1610, -4489, 7033, -8658, 6010, -5673,
963
+ 5648, 812, -271, -1802, -4500, 4392, 0, 0,
964
+ -888, -327, 3373, -1084, 7959, 2430, 1898, -2360,
965
+ -1820, -1377, -1090, -4436, -3422, -1106, -3230, 3876,
966
+ -41, -5128, 6375, -1848, -3824, 5844, 617, -1957,
967
+ 4232, 1345, -1439, -83, 3046, -214, 5458, -5566,
968
+ -4387, -3738, -5740, 8657, 0, 0, 6978, 6239,
969
+ -3686, -981, -2854, 78, 5859, -357, 4618, 7391,
970
+ -138, 971, -5799, 2135, 4478, -7004, -5949, 1668,
971
+ -6933, -1163, 7010, -5624, 2990, 6192, -8075, 3567,
972
+ -8308, 2236, -5098, -2120, -4355, -4238, 4955, 10230,
973
+ 692, -5606, 0, 0, -1348, -7069, -12, -4927,
974
+ 1211, 651, 1360, 7744, 3404, 5069, -2438, -105,
975
+ 2332, 1494, -4686, 1336, -3628, -881, 2474, 1736,
976
+ -26, -257, 2135, -4452, 446, -641, -4704, 2605,
977
+ -6436, 6662, -4939, 990, -1100, -3782, 5028, 4753,
978
+ 0, 0, -2875, 6410, 3518, 3950, 1271, 869,
979
+ -2842, -5837, 1532, -2899, 1140, -597, 1712, -1988,
980
+ -4819, -4783, 4773, -8796, 2240, -4596, 3565, -4853,
981
+ -556, -3974, 7366, -4370, 3113, -3548, 3552, -5450,
982
+ 3869, 2514, 6736, -4570, 6074, 3151, 0, 0,
983
+ 0, 0, 0, 0, 0, 0, 0, 0,
984
+ 0, 0, 0, 0, 0, 0, 0, 0,
985
+ 0, 0, 0, 0, 0, 0, 0, 0,
986
+ 0, 0, 0, 0, 0, 0, 0, 0,
987
+ 0, 0, 0, 0, 32767, 0, 0, 0,
988
+ 0, 0, 0, 0, 0, 0, 0, 0,
989
+ 0, 0, 0, 0, 0, 0, 0, 0,
990
+ 0, 0, 0, 0, 0, 0, 0, 0,
991
+ 0, 0, 0, 0, 0, 0, 0, 0,
992
+ 0, 0, 0, 32767
993
+ };