< prev index next >

src/java.desktop/windows/native/libawt/windows/img_util_md.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1996, 2001, 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
*** 30,39 **** --- 30,40 ---- #include "colordata.h" } #else #include "colordata.h" #endif + #include "jni.h" #ifdef __cplusplus extern "C" { #endif
*** 92,102 **** extern const char *cubemapArray; #define CUBEMAP(r,g,b) \ ((dstLockInfo.inv_cmap)[(((r)>>3)<<10) | (((g)>>3)<<5) | ((b)>>3)]) 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 \ if (lockInfo->lockedLut) { \ --- 93,106 ---- extern const char *cubemapArray; #define CUBEMAP(r,g,b) \ ((dstLockInfo.inv_cmap)[(((r)>>3)<<10) | (((g)>>3)<<5) | ((b)>>3)]) 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 \ if (lockInfo->lockedLut) { \
< prev index next >