cannam@86: /******************************************************************** cannam@86: * * cannam@86: * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * cannam@86: * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * cannam@86: * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * cannam@86: * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * cannam@86: * * cannam@86: * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * cannam@86: * by the Xiph.Org Foundation http://www.xiph.org/ * cannam@86: * * cannam@86: ******************************************************************** cannam@86: cannam@86: function: registry for time, floor, res backends and channel mappings cannam@86: last mod: $Id: registry.c 16227 2009-07-08 06:58:46Z xiphmont $ cannam@86: cannam@86: ********************************************************************/ cannam@86: cannam@86: #include "vorbis/codec.h" cannam@86: #include "codec_internal.h" cannam@86: #include "registry.h" cannam@86: #include "misc.h" cannam@86: /* seems like major overkill now; the backend numbers will grow into cannam@86: the infrastructure soon enough */ cannam@86: cannam@86: extern const vorbis_func_floor floor0_exportbundle; cannam@86: extern const vorbis_func_floor floor1_exportbundle; cannam@86: extern const vorbis_func_residue residue0_exportbundle; cannam@86: extern const vorbis_func_residue residue1_exportbundle; cannam@86: extern const vorbis_func_residue residue2_exportbundle; cannam@86: extern const vorbis_func_mapping mapping0_exportbundle; cannam@86: cannam@86: const vorbis_func_floor *const _floor_P[]={ cannam@86: &floor0_exportbundle, cannam@86: &floor1_exportbundle, cannam@86: }; cannam@86: cannam@86: const vorbis_func_residue *const _residue_P[]={ cannam@86: &residue0_exportbundle, cannam@86: &residue1_exportbundle, cannam@86: &residue2_exportbundle, cannam@86: }; cannam@86: cannam@86: const vorbis_func_mapping *const _mapping_P[]={ cannam@86: &mapping0_exportbundle, cannam@86: };