1 /*===========================================================================*
2 * nojpeg.c *
3 * *
4 * procedures to deal with JPEG files *
5 * *
6 * EXPORTED PROCEDURES: *
7 * JMovie2JPEG *
8 * ReadJPEG *
9 * *
10 *===========================================================================*/
11
12 /*
13 * Copyright (c) 1995 The Regents of the University of California.
14 * All rights reserved.
15 *
16 * Permission to use, copy, modify, and distribute this software and its
17 * documentation for any purpose, without fee, and without written agreement is
18 * hereby granted, provided that the above copyright notice and the following
19 * two paragraphs appear in all copies of this software.
20 *
21 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
22 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
23 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
24 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
27 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
28 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
29 * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
30 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
31 */
32
33 #include "all.h"
34 #include "mtypes.h"
35 #include "frames.h"
36 #include "prototypes.h"
37 #include "param.h"
38 #include "readframe.h"
39 #include "fsize.h"
40 #include "rgbtoycc.h"
41 #include "jpeg.h"
42
43
44 void
JMovie2JPEG(const char * const infilename,const char * const obase,int const start,int const end)45 JMovie2JPEG(const char * const infilename,
46 const char * const obase,
47 int const start,
48 int const end) {
49
50 pm_error("This program has not been built with the "
51 "ability to handle JPEG input files");
52 }
53
54
55 void
ReadJPEG(MpegFrame * const mf,FILE * const fp)56 ReadJPEG(MpegFrame * const mf,
57 FILE * const fp) {
58
59 pm_error("This program has not been built with the "
60 "ability to handle JPEG input files");
61 }
62