open Udiff src/java.desktop/unix/native/common/awt/img_util_md.h (original) (raw)
@@ -1,7 +1,7 @@ /*
- Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
- 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,10 +21,11 @@
- 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,11 +100,13 @@
extern uns_ordered_dither_array img_oda_alpha;
extern void freeICMColorData(ColorData *pData);
-extern void initInverseGrayLut(int* prgb, int rgbsize, ColorData* cData); +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