Fix shift by negative value when reading blocksize.
[platform/upstream/libvorbis.git] / lib / registry.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
9  * by the Xiph.Org Foundation http://www.xiph.org/                  *
10  *                                                                  *
11  ********************************************************************
12
13  function: registry for time, floor, res backends and channel mappings
14
15  ********************************************************************/
16
17 #ifndef _V_REG_H_
18 #define _V_REG_H_
19
20 #define VI_TRANSFORMB 1
21 #define VI_WINDOWB 1
22 #define VI_TIMEB 1
23 #define VI_FLOORB 2
24 #define VI_RESB 3
25 #define VI_MAPB 1
26
27 extern const vorbis_func_floor     *const _floor_P[];
28 extern const vorbis_func_residue   *const _residue_P[];
29 extern const vorbis_func_mapping   *const _mapping_P[];
30
31 #endif