14280
|
1 /********************************************************************
|
|
2 * *
|
|
3 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
|
|
4 * *
|
|
5 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
|
|
6 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ *
|
|
7 * ALL REDISTRIBUTION RIGHTS RESERVED. *
|
|
8 * *
|
|
9 ********************************************************************
|
|
10
|
|
11 function: registry for floor, res backends and channel mappings
|
|
12
|
|
13 ********************************************************************/
|
|
14
|
|
15 #include "ivorbiscodec.h"
|
|
16 #include "codec_internal.h"
|
|
17 #include "registry.h"
|
|
18 #include "misc.h"
|
|
19
|
|
20
|
|
21 /* seems like major overkill now; the backend numbers will grow into
|
|
22 the infrastructure soon enough */
|
|
23
|
|
24 extern vorbis_func_floor floor0_exportbundle;
|
|
25 extern vorbis_func_floor floor1_exportbundle;
|
|
26 extern vorbis_func_residue residue0_exportbundle;
|
|
27 extern vorbis_func_residue residue1_exportbundle;
|
|
28 extern vorbis_func_residue residue2_exportbundle;
|
|
29 extern vorbis_func_mapping mapping0_exportbundle;
|
|
30
|
|
31 vorbis_func_floor *_floor_P[]={
|
|
32 &floor0_exportbundle,
|
|
33 &floor1_exportbundle,
|
|
34 };
|
|
35
|
|
36 vorbis_func_residue *_residue_P[]={
|
|
37 &residue0_exportbundle,
|
|
38 &residue1_exportbundle,
|
|
39 &residue2_exportbundle,
|
|
40 };
|
|
41
|
|
42 vorbis_func_mapping *_mapping_P[]={
|
|
43 &mapping0_exportbundle,
|
|
44 };
|
|
45
|
|
46
|
|
47
|