Final 350 project
Dependencies: uzair Camera_LS_Y201 F7_Ethernet LCD_DISCO_F746NG NetworkAPI SDFileSystem mbed
includes/jconfig.txt@0:791a779d6220, 2017-07-31 (annotated)
- Committer:
- shoaib_ahmed
- Date:
- Mon Jul 31 09:16:35 2017 +0000
- Revision:
- 0:791a779d6220
final project;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shoaib_ahmed | 0:791a779d6220 | 1 | /* |
shoaib_ahmed | 0:791a779d6220 | 2 | * jconfig.txt |
shoaib_ahmed | 0:791a779d6220 | 3 | * |
shoaib_ahmed | 0:791a779d6220 | 4 | * Copyright (C) 1991-1994, Thomas G. Lane. |
shoaib_ahmed | 0:791a779d6220 | 5 | * Modified 2009-2013 by Guido Vollbeding. |
shoaib_ahmed | 0:791a779d6220 | 6 | * This file is part of the Independent JPEG Group's software. |
shoaib_ahmed | 0:791a779d6220 | 7 | * For conditions of distribution and use, see the accompanying README file. |
shoaib_ahmed | 0:791a779d6220 | 8 | * |
shoaib_ahmed | 0:791a779d6220 | 9 | * This file documents the configuration options that are required to |
shoaib_ahmed | 0:791a779d6220 | 10 | * customize the JPEG software for a particular system. |
shoaib_ahmed | 0:791a779d6220 | 11 | * |
shoaib_ahmed | 0:791a779d6220 | 12 | * The actual configuration options for a particular installation are stored |
shoaib_ahmed | 0:791a779d6220 | 13 | * in jconfig.h. On many machines, jconfig.h can be generated automatically |
shoaib_ahmed | 0:791a779d6220 | 14 | * or copied from one of the "canned" jconfig files that we supply. But if |
shoaib_ahmed | 0:791a779d6220 | 15 | * you need to generate a jconfig.h file by hand, this file tells you how. |
shoaib_ahmed | 0:791a779d6220 | 16 | * |
shoaib_ahmed | 0:791a779d6220 | 17 | * DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING. |
shoaib_ahmed | 0:791a779d6220 | 18 | * EDIT A COPY NAMED JCONFIG.H. |
shoaib_ahmed | 0:791a779d6220 | 19 | */ |
shoaib_ahmed | 0:791a779d6220 | 20 | |
shoaib_ahmed | 0:791a779d6220 | 21 | |
shoaib_ahmed | 0:791a779d6220 | 22 | /* |
shoaib_ahmed | 0:791a779d6220 | 23 | * These symbols indicate the properties of your machine or compiler. |
shoaib_ahmed | 0:791a779d6220 | 24 | * #define the symbol if yes, #undef it if no. |
shoaib_ahmed | 0:791a779d6220 | 25 | */ |
shoaib_ahmed | 0:791a779d6220 | 26 | |
shoaib_ahmed | 0:791a779d6220 | 27 | /* Does your compiler support function prototypes? |
shoaib_ahmed | 0:791a779d6220 | 28 | * (If not, you also need to use ansi2knr, see install.txt) |
shoaib_ahmed | 0:791a779d6220 | 29 | */ |
shoaib_ahmed | 0:791a779d6220 | 30 | #define HAVE_PROTOTYPES |
shoaib_ahmed | 0:791a779d6220 | 31 | |
shoaib_ahmed | 0:791a779d6220 | 32 | /* Does your compiler support the declaration "unsigned char" ? |
shoaib_ahmed | 0:791a779d6220 | 33 | * How about "unsigned short" ? |
shoaib_ahmed | 0:791a779d6220 | 34 | */ |
shoaib_ahmed | 0:791a779d6220 | 35 | #define HAVE_UNSIGNED_CHAR |
shoaib_ahmed | 0:791a779d6220 | 36 | #define HAVE_UNSIGNED_SHORT |
shoaib_ahmed | 0:791a779d6220 | 37 | |
shoaib_ahmed | 0:791a779d6220 | 38 | /* Define "void" as "char" if your compiler doesn't know about type void. |
shoaib_ahmed | 0:791a779d6220 | 39 | * NOTE: be sure to define void such that "void *" represents the most general |
shoaib_ahmed | 0:791a779d6220 | 40 | * pointer type, e.g., that returned by malloc(). |
shoaib_ahmed | 0:791a779d6220 | 41 | */ |
shoaib_ahmed | 0:791a779d6220 | 42 | /* #define void char */ |
shoaib_ahmed | 0:791a779d6220 | 43 | |
shoaib_ahmed | 0:791a779d6220 | 44 | /* Define "const" as empty if your compiler doesn't know the "const" keyword. |
shoaib_ahmed | 0:791a779d6220 | 45 | */ |
shoaib_ahmed | 0:791a779d6220 | 46 | /* #define const */ |
shoaib_ahmed | 0:791a779d6220 | 47 | |
shoaib_ahmed | 0:791a779d6220 | 48 | /* Define this if an ordinary "char" type is unsigned. |
shoaib_ahmed | 0:791a779d6220 | 49 | * If you're not sure, leaving it undefined will work at some cost in speed. |
shoaib_ahmed | 0:791a779d6220 | 50 | * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal. |
shoaib_ahmed | 0:791a779d6220 | 51 | */ |
shoaib_ahmed | 0:791a779d6220 | 52 | #undef CHAR_IS_UNSIGNED |
shoaib_ahmed | 0:791a779d6220 | 53 | |
shoaib_ahmed | 0:791a779d6220 | 54 | /* Define this if your system has an ANSI-conforming <stddef.h> file. |
shoaib_ahmed | 0:791a779d6220 | 55 | */ |
shoaib_ahmed | 0:791a779d6220 | 56 | #define HAVE_STDDEF_H |
shoaib_ahmed | 0:791a779d6220 | 57 | |
shoaib_ahmed | 0:791a779d6220 | 58 | /* Define this if your system has an ANSI-conforming <stdlib.h> file. |
shoaib_ahmed | 0:791a779d6220 | 59 | */ |
shoaib_ahmed | 0:791a779d6220 | 60 | #define HAVE_STDLIB_H |
shoaib_ahmed | 0:791a779d6220 | 61 | |
shoaib_ahmed | 0:791a779d6220 | 62 | /* Define this if your system does not have an ANSI/SysV <string.h>, |
shoaib_ahmed | 0:791a779d6220 | 63 | * but does have a BSD-style <strings.h>. |
shoaib_ahmed | 0:791a779d6220 | 64 | */ |
shoaib_ahmed | 0:791a779d6220 | 65 | #undef NEED_BSD_STRINGS |
shoaib_ahmed | 0:791a779d6220 | 66 | |
shoaib_ahmed | 0:791a779d6220 | 67 | /* Define this if your system does not provide typedef size_t in any of the |
shoaib_ahmed | 0:791a779d6220 | 68 | * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in |
shoaib_ahmed | 0:791a779d6220 | 69 | * <sys/types.h> instead. |
shoaib_ahmed | 0:791a779d6220 | 70 | */ |
shoaib_ahmed | 0:791a779d6220 | 71 | #undef NEED_SYS_TYPES_H |
shoaib_ahmed | 0:791a779d6220 | 72 | |
shoaib_ahmed | 0:791a779d6220 | 73 | /* For 80x86 machines, you need to define NEED_FAR_POINTERS, |
shoaib_ahmed | 0:791a779d6220 | 74 | * unless you are using a large-data memory model or 80386 flat-memory mode. |
shoaib_ahmed | 0:791a779d6220 | 75 | * On less brain-damaged CPUs this symbol must not be defined. |
shoaib_ahmed | 0:791a779d6220 | 76 | * (Defining this symbol causes large data structures to be referenced through |
shoaib_ahmed | 0:791a779d6220 | 77 | * "far" pointers and to be allocated with a special version of malloc.) |
shoaib_ahmed | 0:791a779d6220 | 78 | */ |
shoaib_ahmed | 0:791a779d6220 | 79 | #undef NEED_FAR_POINTERS |
shoaib_ahmed | 0:791a779d6220 | 80 | |
shoaib_ahmed | 0:791a779d6220 | 81 | /* Define this if your linker needs global names to be unique in less |
shoaib_ahmed | 0:791a779d6220 | 82 | * than the first 15 characters. |
shoaib_ahmed | 0:791a779d6220 | 83 | */ |
shoaib_ahmed | 0:791a779d6220 | 84 | #undef NEED_SHORT_EXTERNAL_NAMES |
shoaib_ahmed | 0:791a779d6220 | 85 | |
shoaib_ahmed | 0:791a779d6220 | 86 | /* Although a real ANSI C compiler can deal perfectly well with pointers to |
shoaib_ahmed | 0:791a779d6220 | 87 | * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI |
shoaib_ahmed | 0:791a779d6220 | 88 | * and pseudo-ANSI compilers get confused. To keep one of these bozos happy, |
shoaib_ahmed | 0:791a779d6220 | 89 | * define INCOMPLETE_TYPES_BROKEN. This is not recommended unless you |
shoaib_ahmed | 0:791a779d6220 | 90 | * actually get "missing structure definition" warnings or errors while |
shoaib_ahmed | 0:791a779d6220 | 91 | * compiling the JPEG code. |
shoaib_ahmed | 0:791a779d6220 | 92 | */ |
shoaib_ahmed | 0:791a779d6220 | 93 | #undef INCOMPLETE_TYPES_BROKEN |
shoaib_ahmed | 0:791a779d6220 | 94 | |
shoaib_ahmed | 0:791a779d6220 | 95 | /* Define "boolean" as unsigned char, not enum, on Windows systems. |
shoaib_ahmed | 0:791a779d6220 | 96 | */ |
shoaib_ahmed | 0:791a779d6220 | 97 | #ifdef _WIN32 |
shoaib_ahmed | 0:791a779d6220 | 98 | #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ |
shoaib_ahmed | 0:791a779d6220 | 99 | typedef unsigned char boolean; |
shoaib_ahmed | 0:791a779d6220 | 100 | #endif |
shoaib_ahmed | 0:791a779d6220 | 101 | #ifndef FALSE /* in case these macros already exist */ |
shoaib_ahmed | 0:791a779d6220 | 102 | #define FALSE 0 /* values of boolean */ |
shoaib_ahmed | 0:791a779d6220 | 103 | #endif |
shoaib_ahmed | 0:791a779d6220 | 104 | #ifndef TRUE |
shoaib_ahmed | 0:791a779d6220 | 105 | #define TRUE 1 |
shoaib_ahmed | 0:791a779d6220 | 106 | #endif |
shoaib_ahmed | 0:791a779d6220 | 107 | #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ |
shoaib_ahmed | 0:791a779d6220 | 108 | #endif |
shoaib_ahmed | 0:791a779d6220 | 109 | |
shoaib_ahmed | 0:791a779d6220 | 110 | |
shoaib_ahmed | 0:791a779d6220 | 111 | /* |
shoaib_ahmed | 0:791a779d6220 | 112 | * The following options affect code selection within the JPEG library, |
shoaib_ahmed | 0:791a779d6220 | 113 | * but they don't need to be visible to applications using the library. |
shoaib_ahmed | 0:791a779d6220 | 114 | * To minimize application namespace pollution, the symbols won't be |
shoaib_ahmed | 0:791a779d6220 | 115 | * defined unless JPEG_INTERNALS has been defined. |
shoaib_ahmed | 0:791a779d6220 | 116 | */ |
shoaib_ahmed | 0:791a779d6220 | 117 | |
shoaib_ahmed | 0:791a779d6220 | 118 | #ifdef JPEG_INTERNALS |
shoaib_ahmed | 0:791a779d6220 | 119 | |
shoaib_ahmed | 0:791a779d6220 | 120 | /* Define this if your compiler implements ">>" on signed values as a logical |
shoaib_ahmed | 0:791a779d6220 | 121 | * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift, |
shoaib_ahmed | 0:791a779d6220 | 122 | * which is the normal and rational definition. |
shoaib_ahmed | 0:791a779d6220 | 123 | */ |
shoaib_ahmed | 0:791a779d6220 | 124 | #undef RIGHT_SHIFT_IS_UNSIGNED |
shoaib_ahmed | 0:791a779d6220 | 125 | |
shoaib_ahmed | 0:791a779d6220 | 126 | |
shoaib_ahmed | 0:791a779d6220 | 127 | #endif /* JPEG_INTERNALS */ |
shoaib_ahmed | 0:791a779d6220 | 128 | |
shoaib_ahmed | 0:791a779d6220 | 129 | |
shoaib_ahmed | 0:791a779d6220 | 130 | /* |
shoaib_ahmed | 0:791a779d6220 | 131 | * The remaining options do not affect the JPEG library proper, |
shoaib_ahmed | 0:791a779d6220 | 132 | * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c). |
shoaib_ahmed | 0:791a779d6220 | 133 | * Other applications can ignore these. |
shoaib_ahmed | 0:791a779d6220 | 134 | */ |
shoaib_ahmed | 0:791a779d6220 | 135 | |
shoaib_ahmed | 0:791a779d6220 | 136 | #ifdef JPEG_CJPEG_DJPEG |
shoaib_ahmed | 0:791a779d6220 | 137 | |
shoaib_ahmed | 0:791a779d6220 | 138 | /* These defines indicate which image (non-JPEG) file formats are allowed. */ |
shoaib_ahmed | 0:791a779d6220 | 139 | |
shoaib_ahmed | 0:791a779d6220 | 140 | #define BMP_SUPPORTED /* BMP image file format */ |
shoaib_ahmed | 0:791a779d6220 | 141 | #define GIF_SUPPORTED /* GIF image file format */ |
shoaib_ahmed | 0:791a779d6220 | 142 | #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ |
shoaib_ahmed | 0:791a779d6220 | 143 | #undef RLE_SUPPORTED /* Utah RLE image file format */ |
shoaib_ahmed | 0:791a779d6220 | 144 | #define TARGA_SUPPORTED /* Targa image file format */ |
shoaib_ahmed | 0:791a779d6220 | 145 | |
shoaib_ahmed | 0:791a779d6220 | 146 | /* Define this if you want to name both input and output files on the command |
shoaib_ahmed | 0:791a779d6220 | 147 | * line, rather than using stdout and optionally stdin. You MUST do this if |
shoaib_ahmed | 0:791a779d6220 | 148 | * your system can't cope with binary I/O to stdin/stdout. See comments at |
shoaib_ahmed | 0:791a779d6220 | 149 | * head of cjpeg.c or djpeg.c. |
shoaib_ahmed | 0:791a779d6220 | 150 | */ |
shoaib_ahmed | 0:791a779d6220 | 151 | #undef TWO_FILE_COMMANDLINE |
shoaib_ahmed | 0:791a779d6220 | 152 | |
shoaib_ahmed | 0:791a779d6220 | 153 | /* Define this if your system needs explicit cleanup of temporary files. |
shoaib_ahmed | 0:791a779d6220 | 154 | * This is crucial under MS-DOS, where the temporary "files" may be areas |
shoaib_ahmed | 0:791a779d6220 | 155 | * of extended memory; on most other systems it's not as important. |
shoaib_ahmed | 0:791a779d6220 | 156 | */ |
shoaib_ahmed | 0:791a779d6220 | 157 | #undef NEED_SIGNAL_CATCHER |
shoaib_ahmed | 0:791a779d6220 | 158 | |
shoaib_ahmed | 0:791a779d6220 | 159 | /* By default, we open image files with fopen(...,"rb") or fopen(...,"wb"). |
shoaib_ahmed | 0:791a779d6220 | 160 | * This is necessary on systems that distinguish text files from binary files, |
shoaib_ahmed | 0:791a779d6220 | 161 | * and is harmless on most systems that don't. If you have one of the rare |
shoaib_ahmed | 0:791a779d6220 | 162 | * systems that complains about the "b" spec, define this symbol. |
shoaib_ahmed | 0:791a779d6220 | 163 | */ |
shoaib_ahmed | 0:791a779d6220 | 164 | #undef DONT_USE_B_MODE |
shoaib_ahmed | 0:791a779d6220 | 165 | |
shoaib_ahmed | 0:791a779d6220 | 166 | /* Define this if you want percent-done progress reports from cjpeg/djpeg. |
shoaib_ahmed | 0:791a779d6220 | 167 | */ |
shoaib_ahmed | 0:791a779d6220 | 168 | #undef PROGRESS_REPORT |
shoaib_ahmed | 0:791a779d6220 | 169 | |
shoaib_ahmed | 0:791a779d6220 | 170 | |
shoaib_ahmed | 0:791a779d6220 | 171 | #endif /* JPEG_CJPEG_DJPEG */ |