Mercurial > mplayer.hg
annotate tremor/os_types.h @ 21167:e3d1a0ca75f1
r21078: add a link to Michael's de-interlacing filters, and replace the crappy
pp=fd video filter with yadif as it's soooo much better
r21079: Add a new MPEG encoding example using lavf
r21152: typo: Bitrate is printed in kb/s, not Mb/s on the status line.
r21153: Miscellaneous updates for the introduction and the requirements section.
r21154: Remove outdated and superfluous sound card section.
r21155: Remove outdated and superfluous video cards section.
r21168: x264 supports interlaced encoding for some time
author | kraymer |
---|---|
date | Thu, 23 Nov 2006 22:51:42 +0000 |
parents | adaba898053d |
children | 691c8dd10460 |
rev | line source |
---|---|
14280 | 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 ******************************************************************** | |
13 | |
14 function: #ifdef jail to whip a few platforms into the UNIX ideal. | |
15 | |
16 ********************************************************************/ | |
17 #ifndef _OS_TYPES_H | |
18 #define _OS_TYPES_H | |
19 | |
20 #ifdef _LOW_ACCURACY_ | |
21 # define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9)) | |
22 # define LOOKUP_T const unsigned char | |
23 #else | |
24 # define X(n) (n) | |
25 # define LOOKUP_T const ogg_int32_t | |
26 #endif | |
27 | |
28 /* make it easy on the folks that want to compile the libs with a | |
29 different malloc than stdlib */ | |
30 #define _ogg_malloc malloc | |
31 #define _ogg_calloc calloc | |
32 #define _ogg_realloc realloc | |
33 #define _ogg_free free | |
34 | |
14299
40600d007493
Mingw compile fix, hm doesn't the inttypes solution always work?
faust3
parents:
14280
diff
changeset
|
35 #include <inttypes.h> |
40600d007493
Mingw compile fix, hm doesn't the inttypes solution always work?
faust3
parents:
14280
diff
changeset
|
36 typedef int64_t ogg_int64_t; |
40600d007493
Mingw compile fix, hm doesn't the inttypes solution always work?
faust3
parents:
14280
diff
changeset
|
37 typedef int32_t ogg_int32_t; |
40600d007493
Mingw compile fix, hm doesn't the inttypes solution always work?
faust3
parents:
14280
diff
changeset
|
38 typedef uint32_t ogg_uint32_t; |
15247 | 39 typedef uint16_t ogg_uint16_t; |
14299
40600d007493
Mingw compile fix, hm doesn't the inttypes solution always work?
faust3
parents:
14280
diff
changeset
|
40 typedef int16_t ogg_int16_t; |
14280 | 41 |
42 #endif /* _OS_TYPES_H */ |