Mercurial > mplayer.hg
annotate tremor/registry.h @ 33040:a6be6a134ac0
Fix XVMC decoding (avcodec_open would fail if thread_count is set)
and simplify code a bit in the process.
author | reimar |
---|---|
date | Sun, 27 Mar 2011 13:09:27 +0000 |
parents | cd6b211be811 |
children |
rev | line source |
---|---|
14280 | 1 /******************************************************************** |
2 * * | |
3 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * | |
4 * * | |
19251
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
5 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
6 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
7 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
8 * * |
14280 | 9 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * |
10 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * | |
11 * * | |
12 ******************************************************************** | |
13 | |
14 function: registry for time, floor, res backends and channel mappings | |
15 | |
16 ********************************************************************/ | |
17 | |
18 #ifndef _V_REG_H_ | |
19 #define _V_REG_H_ | |
20 | |
21 #define VI_TRANSFORMB 1 | |
22 #define VI_WINDOWB 1 | |
23 #define VI_TIMEB 1 | |
24 #define VI_FLOORB 2 | |
25 #define VI_RESB 3 | |
26 #define VI_MAPB 1 | |
27 | |
28 #include "backends.h" | |
29 | |
30 #if defined(_WIN32) && defined(VORBISDLL_IMPORT) | |
31 # define EXTERN __declspec(dllimport) extern | |
32 #else | |
33 # define EXTERN extern | |
34 #endif | |
35 | |
36 EXTERN vorbis_func_floor *_floor_P[]; | |
37 EXTERN vorbis_func_residue *_residue_P[]; | |
38 EXTERN vorbis_func_mapping *_mapping_P[]; | |
39 | |
40 #endif |