1 |
/*===========================================================================* |
2 |
* all.h * |
3 |
* * |
4 |
* stuff included from ALL source files * |
5 |
* * |
6 |
*===========================================================================*/ |
7 |
|
8 |
/* |
9 |
* Copyright (c) 1995 The Regents of the University of California. |
10 |
* All rights reserved. |
11 |
* |
12 |
* Permission to use, copy, modify, and distribute this software and its |
13 |
* documentation for any purpose, without fee, and without written agreement is |
14 |
* hereby granted, provided that the above copyright notice and the following |
15 |
* two paragraphs appear in all copies of this software. |
16 |
* |
17 |
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR |
18 |
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT |
19 |
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF |
20 |
* CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
21 |
* |
22 |
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, |
23 |
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
24 |
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
25 |
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO |
26 |
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
27 |
*/ |
28 |
|
29 |
/* |
30 |
* $Header: /u/smoot/md/mpeg_encode/headers/RCS/all.h,v 1.9 1995/06/05 21:11:06 smoot Exp $ |
31 |
* $Log: all.h,v $ |
32 |
* Revision 1.9 1995/06/05 21:11:06 smoot |
33 |
* added little_endian force for irizx |
34 |
* |
35 |
* Revision 1.8 1995/02/02 22:02:18 smoot |
36 |
* added ifdefs for compatability on stranger and stranger architectures... |
37 |
* |
38 |
* Revision 1.7 1995/02/02 07:26:45 eyhung |
39 |
* added parens to all.h to remove compiler warning |
40 |
* |
41 |
* Revision 1.6 1995/02/02 01:47:11 eyhung |
42 |
* added MAXINT |
43 |
* |
44 |
* Revision 1.5 1995/01/19 23:54:33 eyhung |
45 |
* Changed copyrights |
46 |
* |
47 |
* Revision 1.4 1994/11/14 22:52:04 smoot |
48 |
* Added linux #include for time.h |
49 |
* |
50 |
* Revision 1.3 1994/11/12 02:12:13 keving |
51 |
* nothing |
52 |
* |
53 |
* Revision 1.2 1993/07/22 22:24:23 keving |
54 |
* nothing |
55 |
* |
56 |
* Revision 1.1 1993/07/09 00:17:23 keving |
57 |
* nothing |
58 |
* |
59 |
*/ |
60 |
|
61 |
|
62 |
#ifndef ENCODE_ALL_INCLUDED |
63 |
#define ENCODE_ALL_INCLUDED |
64 |
|
65 |
#include <stdio.h> |
66 |
#include <stdlib.h> |
67 |
#include <math.h> |
68 |
#include <memory.h> |
69 |
#include <limits.h> |
70 |
|
71 |
/* There's got to be a better way.... */ |
72 |
#ifdef LINUX |
73 |
#include <time.h> |
74 |
#endif |
75 |
#ifdef MIPS |
76 |
#include <time.h> |
77 |
#endif |
78 |
#ifdef IRIX |
79 |
#define FORCE_LITTLE_ENDIAN |
80 |
#include <time.h> |
81 |
#endif |
82 |
|
83 |
#include "libpnmrw.h" |
84 |
#include "ansi.h" |
85 |
#include "general.h" |
86 |
|
87 |
/* some machines have #define index strchr; get rid of this nonsense */ |
88 |
#ifdef index |
89 |
#undef index |
90 |
#endif /* index */ |
91 |
|
92 |
#ifndef MAXINT |
93 |
#define MAXINT 0x7fffffff |
94 |
#endif |
95 |
|
96 |
#endif /* ENCODE_ALL_INCLUDED */ |