| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 32 | kaklik | #ifndef __IMAGEDECODERCONFIG_H__ |
| 2 | #define __IMAGEDECODERCONFIG_H__ |
||
| 3 | |||
| 4 | /****************************************************************************** |
||
| 5 | * FileName: ImageDecoderConfig.h |
||
| 6 | * Dependencies: project requires File System library |
||
| 7 | * Processor: PIC24/dsPIC30/dsPIC33/PIC32MX |
||
| 8 | * Compiler: C30 v2.01/C32 v0.00.18 |
||
| 9 | * Company: Microchip Technology, Inc. |
||
| 10 | |||
| 11 | * Software License Agreement |
||
| 12 | * |
||
| 13 | * Copyright © 2008 Microchip Technology Inc. All rights reserved. |
||
| 14 | * Microchip licenses to you the right to use, modify, copy and distribute |
||
| 15 | * Software only when embedded on a Microchip microcontroller or digital |
||
| 16 | * signal controller, which is integrated into your product or third party |
||
| 17 | * product (pursuant to the sublicense terms in the accompanying license |
||
| 18 | * agreement). |
||
| 19 | * |
||
| 20 | * You should refer to the license agreement accompanying this Software |
||
| 21 | * for additional information regarding your rights and obligations. |
||
| 22 | * |
||
| 23 | * SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY |
||
| 24 | * KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY |
||
| 25 | * OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR |
||
| 26 | * PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR |
||
| 27 | * OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, |
||
| 28 | * BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT |
||
| 29 | * DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, |
||
| 30 | * INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, |
||
| 31 | * COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY |
||
| 32 | * CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), |
||
| 33 | * OR OTHER SIMILAR COSTS. |
||
| 34 | |||
| 35 | Author Date Comments |
||
| 36 | -------------------------------------------------------------------------------- |
||
| 37 | Pradeep Budagutta 06-Jun-2008 First release |
||
| 38 | *******************************************************************************/ |
||
| 39 | |||
| 40 | /* This is used to configure the image decoder */ |
||
| 41 | |||
| 42 | /************* User configuration start *************/ |
||
| 43 | |||
| 44 | /* Comment out the image formats which are not required */ |
||
| 45 | #define IMG_SUPPORT_BMP |
||
| 46 | #define IMG_SUPPORT_JPEG |
||
| 47 | #define IMG_SUPPORT_GIF |
||
| 48 | |||
| 49 | /* Comment out if output has to be given through a callback function */ |
||
| 50 | |||
| 51 | /* If defined, the code is optimized to use only the graphics driver, only 16-bit-565-color-format is supported */ |
||
| 52 | #define IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT |
||
| 53 | |||
| 54 | /* If the above define is commented out (Graphics driver is not included by default), then the below defines has to be set by the user */ |
||
| 55 | #ifndef IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT |
||
| 56 | #define DISP_HOR_RESOLUTION 320 |
||
| 57 | #define DISP_VER_RESOLUTION 240 |
||
| 58 | #endif |
||
| 59 | |||
| 60 | /* If defined, the code is optimized to use only the MDD file system */ |
||
| 61 | #define IMG_USE_ONLY_MDD_FILE_SYSTEM_FOR_INPUT |
||
| 62 | |||
| 63 | /* If defined, the a loop callback function is called in every decoding loop so that application can do maintainance activities such as getting data, updating display, etc... */ |
||
| 64 | #define IMG_SUPPORT_IMAGE_DECODER_LOOP_CALLBACK |
||
| 65 | |||
| 66 | /************* User configuration end *************/ |
||
| 67 | |||
| 68 | #endif |
Powered by WebSVN v2.8.3