/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#ifndef AWT_PARSE_IMAGE_H
#define AWT_PARSE_IMAGE_H
#include <jni.h>
#include <jni_util.h>
/***************************************************************************
* Definitions *
***************************************************************************/
#ifndef TRUE
#endif
#ifndef FALSE
#define FALSE (0)
#endif
typedef enum {
IMG_SUCCESS=0,
} ImgStatus_t;
#define UNKNOWN_DATA_TYPE 0
#define UNKNOWN_RASTER_TYPE 0
#define UNKNOWN_CM_TYPE 0
/* Packing types */
#define UNKNOWN_PACKING 0
/* Interleaving */
/* Struct that holds information about a SinglePixelPackedModel object */
typedef struct {
/* Struct that holds information for the Raster object */
typedef struct {
} RasterS_t;
/* Struct that holds information about the ColorModel object */
typedef struct {
/* Might be 4 byte and band order different */
int transparency;
int maxNbits;
typedef struct {
int *colorOrder;
int channelOffset;
int sStride;
int pStride;
int packing;
int numChans;
} HintS_t;
/* Struct that holds information for the BufferedImage object */
typedef struct {
} BufImageS_t;
/***************************************************************************
* Function Prototypes *
***************************************************************************/
int handleCustom);
ColorModelS_t *cmP);
unsigned char *bufferP);
unsigned char *bufferP);
unsigned short *bufferP);
unsigned short *bufferP);
#endif /* AWT_PARSE_IMAGE_H */