mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
minimal jasper support
This commit is contained in:
parent
d068b1b24a
commit
ac5338eb0b
@ -18,12 +18,16 @@
|
|||||||
#ifndef TYPEDEF_H
|
#ifndef TYPEDEF_H
|
||||||
#define TYPEDEF_H
|
#define TYPEDEF_H
|
||||||
|
|
||||||
#include <pandabase.h>
|
#include "pandabase.h"
|
||||||
|
#include "numeric_types.h"
|
||||||
|
|
||||||
typedef unsigned char uchar;
|
typedef unsigned char uchar;
|
||||||
typedef unsigned short ushort;
|
typedef unsigned short ushort;
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
|
|
||||||
|
typedef PN_int64 longlong;
|
||||||
|
typedef PN_uint64 ulonglong;
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
#ifdef HAVE_JPEG
|
#ifdef HAVE_JPEG
|
||||||
#include "pnmFileTypeJPG.h"
|
#include "pnmFileTypeJPG.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_JPEG2000
|
||||||
|
#include "pnmFileTypeJPG2000.h"
|
||||||
|
#endif
|
||||||
#include "sgi.h"
|
#include "sgi.h"
|
||||||
|
|
||||||
#include <config_pnmimage.h>
|
#include <config_pnmimage.h>
|
||||||
|
@ -29,8 +29,12 @@
|
|||||||
#include <windows.h> // we need to include this before jpeglib.
|
#include <windows.h> // we need to include this before jpeglib.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "typedef.h" // jasper requires this first.
|
||||||
#include <jasper/jasper.h>
|
#include <jasper/jasper.h>
|
||||||
|
|
||||||
|
// Undo jasper-inflicted damage.
|
||||||
|
#undef bool
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Class : PNMFileTypeJPG2000
|
// Class : PNMFileTypeJPG2000
|
||||||
// Description : For reading and writing Jpeg2000 files.
|
// Description : For reading and writing Jpeg2000 files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user