1 /********************************************************************
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. *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
13 function: registry for time, floor, res backends and channel mappings
14 last mod: $Id: registry.c 13293 2007-07-24 00:09:47Z xiphmont $
16 ********************************************************************/
18 #include "vorbis/codec.h"
19 #include "codec_internal.h"
22 /* seems like major overkill now; the backend numbers will grow into
23 the infrastructure soon enough */
25 extern vorbis_func_floor floor0_exportbundle
;
26 extern vorbis_func_floor floor1_exportbundle
;
27 extern vorbis_func_residue residue0_exportbundle
;
28 extern vorbis_func_residue residue1_exportbundle
;
29 extern vorbis_func_residue residue2_exportbundle
;
30 extern vorbis_func_mapping mapping0_exportbundle
;
32 vorbis_func_floor
*_floor_P
[]={
37 vorbis_func_residue
*_residue_P
[]={
38 &residue0_exportbundle
,
39 &residue1_exportbundle
,
40 &residue2_exportbundle
,
43 vorbis_func_mapping
*_mapping_P
[]={
44 &mapping0_exportbundle
,