vrshoot

annotate libs/vorbis/registry.c @ 1:e7ca128b8713

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