Blame lib/registry.c

Packit 06404a
/********************************************************************
Packit 06404a
 *                                                                  *
Packit 06404a
 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
Packit 06404a
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
Packit 06404a
 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
Packit 06404a
 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
Packit 06404a
 *                                                                  *
Packit 06404a
 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009             *
Packit 06404a
 * by the Xiph.Org Foundation http://www.xiph.org/                  *
Packit 06404a
 *                                                                  *
Packit 06404a
 ********************************************************************
Packit 06404a
Packit 06404a
 function: registry for time, floor, res backends and channel mappings
Packit 06404a
 last mod: $Id: registry.c 16227 2009-07-08 06:58:46Z xiphmont $
Packit 06404a
Packit 06404a
 ********************************************************************/
Packit 06404a
Packit 06404a
#include "vorbis/codec.h"
Packit 06404a
#include "codec_internal.h"
Packit 06404a
#include "registry.h"
Packit 06404a
#include "misc.h"
Packit 06404a
/* seems like major overkill now; the backend numbers will grow into
Packit 06404a
   the infrastructure soon enough */
Packit 06404a
Packit 06404a
extern const vorbis_func_floor     floor0_exportbundle;
Packit 06404a
extern const vorbis_func_floor     floor1_exportbundle;
Packit 06404a
extern const vorbis_func_residue   residue0_exportbundle;
Packit 06404a
extern const vorbis_func_residue   residue1_exportbundle;
Packit 06404a
extern const vorbis_func_residue   residue2_exportbundle;
Packit 06404a
extern const vorbis_func_mapping   mapping0_exportbundle;
Packit 06404a
Packit 06404a
const vorbis_func_floor     *const _floor_P[]={
Packit 06404a
  &floor0_exportbundle,
Packit 06404a
  &floor1_exportbundle,
Packit 06404a
};
Packit 06404a
Packit 06404a
const vorbis_func_residue   *const _residue_P[]={
Packit 06404a
  &residue0_exportbundle,
Packit 06404a
  &residue1_exportbundle,
Packit 06404a
  &residue2_exportbundle,
Packit 06404a
};
Packit 06404a
Packit 06404a
const vorbis_func_mapping   *const _mapping_P[]={
Packit 06404a
  &mapping0_exportbundle,
Packit 06404a
};