mbed port of "TJpgDec - Tiny JPEG Decompressor" http://elm-chan.org/fsw/tjpgd/00index.html
Dependents: Nucleo_Pic_Viewer GSDPlayer b2b
integer.h
00001 /*-------------------------------------------*/ 00002 /* Integer type definitions for FatFs module */ 00003 /*-------------------------------------------*/ 00004 00005 #ifndef _INTEGER 00006 #define _INTEGER 00007 00008 #ifdef _WIN32 /* FatFs development platform */ 00009 00010 #include <windows.h> 00011 #include <tchar.h> 00012 00013 #else /* Embedded platform */ 00014 00015 /* These types must be 16-bit, 32-bit or larger integer */ 00016 // No! They have to be 16bit types, otherwise the Huffman decoding 00017 // in function huffext fails on an 32-bit LPC4088 (mbed cloud compiler) 00018 typedef short INT; 00019 typedef unsigned short UINT; 00020 00021 /* These types must be 8-bit integer */ 00022 typedef char CHAR; 00023 typedef unsigned char UCHAR; 00024 typedef unsigned char BYTE; 00025 00026 /* These types must be 16-bit integer */ 00027 typedef short SHORT; 00028 typedef unsigned short USHORT; 00029 typedef unsigned short WORD; 00030 typedef unsigned short WCHAR; 00031 00032 /* These types must be 32-bit integer */ 00033 typedef long LONG; 00034 typedef unsigned long ULONG; 00035 typedef unsigned long DWORD; 00036 00037 #endif 00038 00039 #endif
Generated on Tue Jul 12 2022 21:35:38 by 1.7.2