src/java.desktop/share/native/libawt/java2d/loops/AlphaMath.c
changeset 49440 396ea30afbd5
parent 47216 71c04702a3d5
child 56721 01b558efd286
equal deleted inserted replaced
49439:bf53d82a51e5 49440:396ea30afbd5
     1 /*
     1 /*
     2  * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
       
    26 #include "jni.h"
    26 #include "AlphaMath.h"
    27 #include "AlphaMath.h"
    27 
    28 
    28 unsigned char mul8table[256][256];
    29 JNIEXPORT unsigned char mul8table[256][256];
    29 unsigned char div8table[256][256];
    30 JNIEXPORT unsigned char div8table[256][256];
    30 
    31 
    31 void initAlphaTables()
    32 void initAlphaTables()
    32 {
    33 {
    33     unsigned int i;
    34     unsigned int i;
    34     unsigned int j;
    35     unsigned int j;