media/libtremor/lib/tremor_registry.c

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /********************************************************************
     2  *                                                                  *
     3  * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE.   *
     4  *                                                                  *
     5  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     6  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     7  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
     8  *                                                                  *
     9  * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002    *
    10  * BY THE Xiph.Org FOUNDATION http://www.xiph.org/                  *
    11  *                                                                  *
    12  ********************************************************************
    14  function: registry for floor, res backends and channel mappings
    16  ********************************************************************/
    18 #include "ivorbiscodec.h"
    19 #include "codec_internal.h"
    20 #include "registry.h"
    21 #include "misc.h"
    24 /* seems like major overkill now; the backend numbers will grow into
    25    the infrastructure soon enough */
    27 extern vorbis_func_floor     floor0_exportbundle;
    28 extern vorbis_func_floor     floor1_exportbundle;
    29 extern vorbis_func_residue   residue0_exportbundle;
    30 extern vorbis_func_residue   residue1_exportbundle;
    31 extern vorbis_func_residue   residue2_exportbundle;
    32 extern vorbis_func_mapping   mapping0_exportbundle;
    34 vorbis_func_floor     *_floor_P[]={
    35   &floor0_exportbundle,
    36   &floor1_exportbundle,
    37 };
    39 vorbis_func_residue   *_residue_P[]={
    40   &residue0_exportbundle,
    41   &residue1_exportbundle,
    42   &residue2_exportbundle,
    43 };
    45 vorbis_func_mapping   *_mapping_P[]={
    46   &mapping0_exportbundle,
    47 };

mercurial