#ifndef __GIFDECODER_H__
#define __GIFDECODER_H__
/******************************************************************************
* FileName: GifDecoder.h
* Dependencies: Image decoding library; project requires File System library
* Processor: PIC24/dsPIC30/dsPIC33/PIC32MX
* Compiler: C30 v2.01/C32 v0.00.18
* Company: Microchip Technology, Inc.
* Software License Agreement
*
* Copyright © 2008 Microchip Technology Inc. All rights reserved.
* Microchip licenses to you the right to use, modify, copy and distribute
* Software only when embedded on a Microchip microcontroller or digital
* signal controller, which is integrated into your product or third party
* product (pursuant to the sublicense terms in the accompanying license
* agreement).
*
* You should refer to the license agreement accompanying this Software
* for additional information regarding your rights and obligations.
*
* SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY
* OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR
* PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR
* OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION,
* BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT
* DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL,
* INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA,
* COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY
* CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF),
* OR OTHER SIMILAR COSTS.
Author Date Comments
--------------------------------------------------------------------------------
Pradeep Budagutta 14-Mar-2008 First release
*******************************************************************************/
/* User configuration */
#define GIF_CRUSH_PREV_SYMBOL_PTR_TABLE 1 /* If 1, this saves 2KB of RAM but requires more time to decode */
#ifdef IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT
#define GIF_USE_16_BITS_PER_PIXEL 1 /* If this is 1, then 16 bits/pixel is used and hence requires 256 Bytes less RAM */
#else
#define GIF_USE_16_BITS_PER_PIXEL 0
#endif
/* User configuration */
/* Function prototype */
/* This function must be called after setting proper values in the global variables of ImageDecoder.c */
BYTE GIF_bDecode(IMG_FILE *pFile);
#endif
|