annotate src/libvorbis-1.3.3/lib/registry.c @ 86:98c1576536ae

Bring in flac, ogg, vorbis
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 19 Mar 2013 17:37:49 +0000
parents
children
rev   line source
cannam@86 1 /********************************************************************
cannam@86 2 * *
cannam@86 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
cannam@86 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
cannam@86 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
cannam@86 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
cannam@86 7 * *
cannam@86 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
cannam@86 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
cannam@86 10 * *
cannam@86 11 ********************************************************************
cannam@86 12
cannam@86 13 function: registry for time, floor, res backends and channel mappings
cannam@86 14 last mod: $Id: registry.c 16227 2009-07-08 06:58:46Z xiphmont $
cannam@86 15
cannam@86 16 ********************************************************************/
cannam@86 17
cannam@86 18 #include "vorbis/codec.h"
cannam@86 19 #include "codec_internal.h"
cannam@86 20 #include "registry.h"
cannam@86 21 #include "misc.h"
cannam@86 22 /* seems like major overkill now; the backend numbers will grow into
cannam@86 23 the infrastructure soon enough */
cannam@86 24
cannam@86 25 extern const vorbis_func_floor floor0_exportbundle;
cannam@86 26 extern const vorbis_func_floor floor1_exportbundle;
cannam@86 27 extern const vorbis_func_residue residue0_exportbundle;
cannam@86 28 extern const vorbis_func_residue residue1_exportbundle;
cannam@86 29 extern const vorbis_func_residue residue2_exportbundle;
cannam@86 30 extern const vorbis_func_mapping mapping0_exportbundle;
cannam@86 31
cannam@86 32 const vorbis_func_floor *const _floor_P[]={
cannam@86 33 &floor0_exportbundle,
cannam@86 34 &floor1_exportbundle,
cannam@86 35 };
cannam@86 36
cannam@86 37 const vorbis_func_residue *const _residue_P[]={
cannam@86 38 &residue0_exportbundle,
cannam@86 39 &residue1_exportbundle,
cannam@86 40 &residue2_exportbundle,
cannam@86 41 };
cannam@86 42
cannam@86 43 const vorbis_func_mapping *const _mapping_P[]={
cannam@86 44 &mapping0_exportbundle,
cannam@86 45 };