< prev index next >
src/java.desktop/unix/native/common/awt/img_util_md.h
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 21,30 ****
--- 21,31 ----
* 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.
*/
+ #include "jni.h"
#include "color.h"
#if !defined(HEADLESS) && !defined(MACOSX)
typedef struct {
ImgConvertData cvdata; /* The data needed by ImgConvertFcn's */
*** 99,109 ****
extern uns_ordered_dither_array img_oda_alpha;
extern void freeICMColorData(ColorData *pData);
! extern void initInverseGrayLut(int* prgb, int rgbsize, ColorData* cData);
extern unsigned char* initCubemap(int* cmap, int cmap_len, int cube_dim);
extern void initDitherTables(ColorData* cData);
#define SET_CUBEMAPARRAY \
lockInfo->inv_cmap = (const char*)lockInfo->colorData->img_clr_tbl
--- 100,112 ----
extern uns_ordered_dither_array img_oda_alpha;
extern void freeICMColorData(ColorData *pData);
! JNIEXPORT void JNICALL
! initInverseGrayLut(int* prgb, int rgbsize, ColorData* cData);
!
extern unsigned char* initCubemap(int* cmap, int cmap_len, int cube_dim);
extern void initDitherTables(ColorData* cData);
#define SET_CUBEMAPARRAY \
lockInfo->inv_cmap = (const char*)lockInfo->colorData->img_clr_tbl
< prev index next >