Searched refs:localColorTable (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageMetadata.java64 public byte[] localColorTable = null; field in class:GIFImageMetadata
160 if (localColorTable != null) {
162 int numEntries = localColorTable.length/3;
172 int r = localColorTable[3*i] & 0xff;
173 int g = localColorTable[3*i + 1] & 0xff;
174 int b = localColorTable[3*i + 2] & 0xff;
278 if (localColorTable != null) {
280 int numEntries = localColorTable.length/3;
286 Integer.toString(localColorTable[3*i] & 0xff));
288 Integer.toString(localColorTable[
[all...]
H A DGIFImageWriter.java408 imageMetadata.localColorTable =
611 if (imageMetadata.localColorTable == null) {
612 imageMetadata.localColorTable =
678 imageMetadata.localColorTable != null) {
682 imageMetadata.localColorTable;
684 imageMetadata.localColorTable == null) {
707 imageMetadata.localColorTable != null) {
709 getNumBits(imageMetadata.localColorTable.length/3);
785 if (Arrays.equals(globalColorTable, imageMetadata.localColorTable)) {
786 imageMetadata.localColorTable
1247 writeImageDescriptor(int imageLeftPosition, int imageTopPosition, int imageWidth, int imageHeight, boolean interlaceFlag, boolean sortFlag, int bitsPerPixel, byte[] localColorTable) argument
[all...]
H A DGIFWritableImageMetadata.java66 localColorTable = null;
156 localColorTable = getColorTable(node, "ColorTableEntry",
317 localColorTable = getColorTable(childNode,
H A DGIFImageReader.java209 if (imageMetadata.localColorTable != null) {
210 colorTable = imageMetadata.localColorTable;
650 imageMetadata.localColorTable =
652 stream.readFully(imageMetadata.localColorTable);
654 imageMetadata.localColorTable = null;

Completed in 477 milliseconds