annotate src/libvorbis-1.3.3/lib/registry.c @ 83:ae30d91d2ffe

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