| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 32 | kaklik | #ifndef __GIFDECODER_H__ |
| 2 | #define __GIFDECODER_H__ |
||
| 3 | /****************************************************************************** |
||
| 4 | * FileName: GifDecoder.h |
||
| 5 | * Dependencies: Image decoding library; project requires File System library |
||
| 6 | * Processor: PIC24/dsPIC30/dsPIC33/PIC32MX |
||
| 7 | * Compiler: C30 v2.01/C32 v0.00.18 |
||
| 8 | * Company: Microchip Technology, Inc. |
||
| 9 | |||
| 10 | * Software License Agreement |
||
| 11 | * |
||
| 12 | * Copyright © 2008 Microchip Technology Inc. All rights reserved. |
||
| 13 | * Microchip licenses to you the right to use, modify, copy and distribute |
||
| 14 | * Software only when embedded on a Microchip microcontroller or digital |
||
| 15 | * signal controller, which is integrated into your product or third party |
||
| 16 | * product (pursuant to the sublicense terms in the accompanying license |
||
| 17 | * agreement). |
||
| 18 | * |
||
| 19 | * You should refer to the license agreement accompanying this Software |
||
| 20 | * for additional information regarding your rights and obligations. |
||
| 21 | * |
||
| 22 | * SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY |
||
| 23 | * KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY |
||
| 24 | * OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR |
||
| 25 | * PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR |
||
| 26 | * OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, |
||
| 27 | * BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT |
||
| 28 | * DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, |
||
| 29 | * INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, |
||
| 30 | * COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY |
||
| 31 | * CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), |
||
| 32 | * OR OTHER SIMILAR COSTS. |
||
| 33 | |||
| 34 | Author Date Comments |
||
| 35 | -------------------------------------------------------------------------------- |
||
| 36 | Pradeep Budagutta 14-Mar-2008 First release |
||
| 37 | *******************************************************************************/ |
||
| 38 | |||
| 39 | /* User configuration */ |
||
| 40 | #define GIF_CRUSH_PREV_SYMBOL_PTR_TABLE 1 /* If 1, this saves 2KB of RAM but requires more time to decode */ |
||
| 41 | |||
| 42 | #ifdef IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT |
||
| 43 | #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 */ |
||
| 44 | #else |
||
| 45 | #define GIF_USE_16_BITS_PER_PIXEL 0 |
||
| 46 | #endif |
||
| 47 | |||
| 48 | /* User configuration */ |
||
| 49 | |||
| 50 | /* Function prototype */ |
||
| 51 | /* This function must be called after setting proper values in the global variables of ImageDecoder.c */ |
||
| 52 | BYTE GIF_bDecode(IMG_FILE *pFile); |
||
| 53 | |||
| 54 | #endif |
Powered by WebSVN v2.8.3