Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /******************************************************************** |
michael@0 | 2 | * * |
michael@0 | 3 | * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * |
michael@0 | 4 | * * |
michael@0 | 5 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
michael@0 | 6 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
michael@0 | 7 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
michael@0 | 8 | * * |
michael@0 | 9 | * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * |
michael@0 | 10 | * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * |
michael@0 | 11 | * * |
michael@0 | 12 | ******************************************************************** |
michael@0 | 13 | |
michael@0 | 14 | function: registry for floor, res backends and channel mappings |
michael@0 | 15 | |
michael@0 | 16 | ********************************************************************/ |
michael@0 | 17 | |
michael@0 | 18 | #include "ivorbiscodec.h" |
michael@0 | 19 | #include "codec_internal.h" |
michael@0 | 20 | #include "registry.h" |
michael@0 | 21 | #include "misc.h" |
michael@0 | 22 | |
michael@0 | 23 | |
michael@0 | 24 | /* seems like major overkill now; the backend numbers will grow into |
michael@0 | 25 | the infrastructure soon enough */ |
michael@0 | 26 | |
michael@0 | 27 | extern vorbis_func_floor floor0_exportbundle; |
michael@0 | 28 | extern vorbis_func_floor floor1_exportbundle; |
michael@0 | 29 | extern vorbis_func_residue residue0_exportbundle; |
michael@0 | 30 | extern vorbis_func_residue residue1_exportbundle; |
michael@0 | 31 | extern vorbis_func_residue residue2_exportbundle; |
michael@0 | 32 | extern vorbis_func_mapping mapping0_exportbundle; |
michael@0 | 33 | |
michael@0 | 34 | vorbis_func_floor *_floor_P[]={ |
michael@0 | 35 | &floor0_exportbundle, |
michael@0 | 36 | &floor1_exportbundle, |
michael@0 | 37 | }; |
michael@0 | 38 | |
michael@0 | 39 | vorbis_func_residue *_residue_P[]={ |
michael@0 | 40 | &residue0_exportbundle, |
michael@0 | 41 | &residue1_exportbundle, |
michael@0 | 42 | &residue2_exportbundle, |
michael@0 | 43 | }; |
michael@0 | 44 | |
michael@0 | 45 | vorbis_func_mapping *_mapping_P[]={ |
michael@0 | 46 | &mapping0_exportbundle, |
michael@0 | 47 | }; |
michael@0 | 48 | |
michael@0 | 49 | |
michael@0 | 50 |