00001 /***************************************************************************** 00002 JPEG 2000 support for Qt based on JasPer lib 00003 Copyright (c) 2003 by Dmitry V. Fedorov <www.dimin.net> 00004 00005 DEFINES 00006 00007 Programmer: Dima V. Fedorov <mailto:dima@dimin.net> <http://www.dimin.net/> 00008 00009 History: 00010 13/06/2003 17:02 - First creation 00011 00012 00013 Ver : 1 00014 *****************************************************************************/ 00015 00016 00017 #ifndef QJP2_H 00018 #define QJP2_H 00019 00020 /* we better use jasper defined types 00021 #ifndef int8 00022 typedef char int8; 00023 #endif 00024 00025 #ifndef uint8 00026 typedef unsigned char uint8; 00027 #endif 00028 00029 #ifndef int16 00030 typedef short int16; 00031 #endif 00032 00033 #ifndef uint16 00034 typedef unsigned short uint16; 00035 #endif 00036 00037 #ifndef int32 00038 typedef long int32; 00039 #endif 00040 00041 #ifndef uint32 00042 typedef unsigned long uint32; // sizeof (uint32) must == 4 00043 #endif 00044 */ 00045 00046 #define MaxTextExtent 2053 00047 00048 void qInitJp2IO(); 00049 00050 #endif