ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mpeg_encode/src/readframe.h
Revision: 22
Committed: Mon Jul 7 22:16:37 2008 UTC (11 years, 4 months ago) by wdelano
File size: 2685 byte(s)
Log Message:
initial checkin of mpeg_encode source
Line File contents
1 /*===========================================================================*
2 * readframe.h *
3 * *
4 * stuff dealing with reading frames *
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: /n/charlie-brown/project/mm/mpeg/mpeg_dist/mpeg_encode/headers/RCS/readframe.h,v 1.6 1995/01/19 23:55:17 eyhung Exp $
31 * $Log: readframe.h,v $
32 * Revision 1.6 1995/01/19 23:55:17 eyhung
33 * Changed copyrights
34 *
35 * Revision 1.5 1995/01/14 00:05:54 smoot
36 * *** empty log message ***
37 *
38 * Revision 1.4 1995/01/13 23:44:54 smoot
39 * added B&W (Y files)
40 *
41 * Revision 1.3 1994/11/12 02:12:57 keving
42 * nothing
43 *
44 * Revision 1.2 1993/07/22 22:24:23 keving
45 * nothing
46 *
47 * Revision 1.1 1993/07/09 00:17:23 keving
48 * nothing
49 *
50 */
51
52
53 /*===========*
54 * CONSTANTS *
55 *===========*/
56
57 #define PPM_FILE_TYPE 0
58 #define YUV_FILE_TYPE 2
59 #define ANY_FILE_TYPE 3
60 #define BASE_FILE_TYPE 4
61 #define PNM_FILE_TYPE 5
62 #define SUB4_FILE_TYPE 6
63 #define JPEG_FILE_TYPE 7
64 #define JMOVIE_FILE_TYPE 8
65 #define Y_FILE_TYPE 9
66
67 /*===============================*
68 * EXTERNAL PROCEDURE prototypes *
69 *===============================*/
70
71 extern void ReadFrame _ANSI_ARGS_((MpegFrame *frame, char *fileName,
72 char *conversion, boolean addPath));
73 extern void SetFileType _ANSI_ARGS_((char *conversion));
74 extern void SetFileFormat _ANSI_ARGS_((char *format));
75 extern FILE *ReadIOConvert _ANSI_ARGS_((char *fileName));
76 extern void SetResize _ANSI_ARGS_((boolean set));
77
78
79 extern int baseFormat;