1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libtremor/lib/tremor_registry.c Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,50 @@ 1.4 +/******************************************************************** 1.5 + * * 1.6 + * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * 1.7 + * * 1.8 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 1.9 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 1.10 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 1.11 + * * 1.12 + * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 1.13 + * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * 1.14 + * * 1.15 + ******************************************************************** 1.16 + 1.17 + function: registry for floor, res backends and channel mappings 1.18 + 1.19 + ********************************************************************/ 1.20 + 1.21 +#include "ivorbiscodec.h" 1.22 +#include "codec_internal.h" 1.23 +#include "registry.h" 1.24 +#include "misc.h" 1.25 + 1.26 + 1.27 +/* seems like major overkill now; the backend numbers will grow into 1.28 + the infrastructure soon enough */ 1.29 + 1.30 +extern vorbis_func_floor floor0_exportbundle; 1.31 +extern vorbis_func_floor floor1_exportbundle; 1.32 +extern vorbis_func_residue residue0_exportbundle; 1.33 +extern vorbis_func_residue residue1_exportbundle; 1.34 +extern vorbis_func_residue residue2_exportbundle; 1.35 +extern vorbis_func_mapping mapping0_exportbundle; 1.36 + 1.37 +vorbis_func_floor *_floor_P[]={ 1.38 + &floor0_exportbundle, 1.39 + &floor1_exportbundle, 1.40 +}; 1.41 + 1.42 +vorbis_func_residue *_residue_P[]={ 1.43 + &residue0_exportbundle, 1.44 + &residue1_exportbundle, 1.45 + &residue2_exportbundle, 1.46 +}; 1.47 + 1.48 +vorbis_func_mapping *_mapping_P[]={ 1.49 + &mapping0_exportbundle, 1.50 +}; 1.51 + 1.52 + 1.53 +