src/java.desktop/share/native/libawt/awt/image/cvutils/img_globals.c
branchihse-remove-mapfiles-branch
changeset 56106 40e61db323c2
parent 47216 71c04702a3d5
child 56721 01b558efd286
equal deleted inserted replaced
56105:749e0ffa206f 56106:40e61db323c2
    26 /*
    26 /*
    27  * This file implements some of the standard utility procedures used
    27  * This file implements some of the standard utility procedures used
    28  * by the image conversion package.
    28  * by the image conversion package.
    29  */
    29  */
    30 
    30 
       
    31 #include "jni.h"
    31 #include "img_globals.h"
    32 #include "img_globals.h"
    32 
    33 
    33 #include "java_awt_image_IndexColorModel.h"
    34 #include "java_awt_image_IndexColorModel.h"
    34 #include "java_awt_Transparency.h"
    35 #include "java_awt_Transparency.h"
    35 
    36 
    40  * use a dither array constructed with the quantum 256.
    41  * use a dither array constructed with the quantum 256.
    41  * The array values produced are unsigned and intended to be used with
    42  * The array values produced are unsigned and intended to be used with
    42  * a lookup table which returns the next color darker than the error
    43  * a lookup table which returns the next color darker than the error
    43  * adjusted color used as the index.
    44  * adjusted color used as the index.
    44  */
    45  */
    45 void
    46 JNIEXPORT void
    46 make_uns_ordered_dither_array(uns_ordered_dither_array oda,
    47 make_uns_ordered_dither_array(uns_ordered_dither_array oda,
    47                               int quantum)
    48                               int quantum)
    48 {
    49 {
    49     int i, j, k;
    50     int i, j, k;
    50 
    51