Final 350 project

Dependencies:   uzair Camera_LS_Y201 F7_Ethernet LCD_DISCO_F746NG NetworkAPI SDFileSystem mbed

Committer:
shoaib_ahmed
Date:
Mon Jul 31 09:16:35 2017 +0000
Revision:
0:791a779d6220
final project;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shoaib_ahmed 0:791a779d6220 1 /*
shoaib_ahmed 0:791a779d6220 2 * rdgif.c
shoaib_ahmed 0:791a779d6220 3 *
shoaib_ahmed 0:791a779d6220 4 * Copyright (C) 1991-1997, Thomas G. Lane.
shoaib_ahmed 0:791a779d6220 5 * This file is part of the Independent JPEG Group's software.
shoaib_ahmed 0:791a779d6220 6 * For conditions of distribution and use, see the accompanying README file.
shoaib_ahmed 0:791a779d6220 7 *
shoaib_ahmed 0:791a779d6220 8 * This file contains routines to read input images in GIF format.
shoaib_ahmed 0:791a779d6220 9 *
shoaib_ahmed 0:791a779d6220 10 *****************************************************************************
shoaib_ahmed 0:791a779d6220 11 * NOTE: to avoid entanglements with Unisys' patent on LZW compression, *
shoaib_ahmed 0:791a779d6220 12 * the ability to read GIF files has been removed from the IJG distribution. *
shoaib_ahmed 0:791a779d6220 13 * Sorry about that. *
shoaib_ahmed 0:791a779d6220 14 *****************************************************************************
shoaib_ahmed 0:791a779d6220 15 *
shoaib_ahmed 0:791a779d6220 16 * We are required to state that
shoaib_ahmed 0:791a779d6220 17 * "The Graphics Interchange Format(c) is the Copyright property of
shoaib_ahmed 0:791a779d6220 18 * CompuServe Incorporated. GIF(sm) is a Service Mark property of
shoaib_ahmed 0:791a779d6220 19 * CompuServe Incorporated."
shoaib_ahmed 0:791a779d6220 20 */
shoaib_ahmed 0:791a779d6220 21
shoaib_ahmed 0:791a779d6220 22 #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
shoaib_ahmed 0:791a779d6220 23
shoaib_ahmed 0:791a779d6220 24 #ifdef GIF_SUPPORTED
shoaib_ahmed 0:791a779d6220 25
shoaib_ahmed 0:791a779d6220 26 /*
shoaib_ahmed 0:791a779d6220 27 * The module selection routine for GIF format input.
shoaib_ahmed 0:791a779d6220 28 */
shoaib_ahmed 0:791a779d6220 29
shoaib_ahmed 0:791a779d6220 30 GLOBAL(cjpeg_source_ptr)
shoaib_ahmed 0:791a779d6220 31 jinit_read_gif (j_compress_ptr cinfo)
shoaib_ahmed 0:791a779d6220 32 {
shoaib_ahmed 0:791a779d6220 33 fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
shoaib_ahmed 0:791a779d6220 34 exit(EXIT_FAILURE);
shoaib_ahmed 0:791a779d6220 35 return NULL; /* keep compiler happy */
shoaib_ahmed 0:791a779d6220 36 }
shoaib_ahmed 0:791a779d6220 37
shoaib_ahmed 0:791a779d6220 38 #endif /* GIF_SUPPORTED */