/openjdk9/jdk/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | RegionIterator.java | 30 * This class defines the API for iterating through the bands 79 range[1] = region.bands[curIndex++]; 80 range[3] = region.bands[curIndex++]; 81 numXbands = region.bands[curIndex++]; 96 range[0] = region.bands[curIndex++]; 97 range[2] = region.bands[curIndex++];
|
H A D | Region.java | 40 * consists of a number of Y ranges each containing multiple X bands. 53 * bands[rowstart+0] = Y0; // starting Y coordinate 54 * bands[rowstart+1] = Y1; // ending Y coordinate - endY > startY 55 * bands[rowstart+2] = N; // number of X bands - N >= 1 57 * bands[rowstart+3] = X10; // starting X coordinate of first band 58 * bands[rowstart+4] = X11; // ending X coordinate of first band 59 * bands[rowstart+5] = X20; // starting X coordinate of second band 60 * bands[rowstart+6] = X21; // ending X coordinate of second band 62 * bands[rowstar 85 int[] bands; field in class:Region 180 Region(int lox, int loy, int hix, int hiy, int[] bands, int end) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/imageio/event/ |
H A D | IIOReadUpdateListener.java | 55 * bands that may be affected is indicated by the value of 56 * {@code bands}. 73 * @param bands an array of {@code int}s indicating the 74 * set bands that may be updated. 82 int[] bands); 108 * updated bands ({@code bands}). For example, the update: 117 * bands = { 1, 3 } 120 * would indicate that bands 1 and 3 of the following pixels were 142 * @param bands a 76 passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 145 imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 195 thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 227 thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/image/ |
H A D | PixelInterleavedSampleModel.java | 35 * stores sample data for all bands in a single bank of the 44 * The bands are numbered from 0 to N-1. 60 * The number of bands will be given by the length of the bandOffsets 69 * @param bandOffsets The offsets of all bands. 72 * @throws IllegalArgumentException if any offset between bands is 78 * less than any offset between bands 96 throw new IllegalArgumentException("Offsets between bands must be"+ 109 " between bands"); 116 * same number of bands, storage data type, and pixel stride 150 * bands o 157 createSubsetSampleModel(int bands[]) argument [all...] |
H A D | Raster.java | 111 * with a subset of the bands of its parent. 161 /** The number of bands in the Raster. */ 178 * specified data type, width, height, and number of bands. 194 * @param bands the number of bands 197 * width, height and number of bands. 206 int bands, 208 int[] bandOffsets = new int[bands]; 209 for (int i = 0; i < bands; i++) { 212 return createInterleavedRaster(dataType, w, h, w*bands, band 204 createInterleavedRaster(int dataType, int w, int h, int bands, Point location) argument 308 createBandedRaster(int dataType, int w, int h, int bands, Point location) argument 522 createPackedRaster(int dataType, int w, int h, int bands, int bitsPerBand, Point location) argument [all...] |
H A D | LookupOp.java | 42 * For Rasters, the lookup operates on bands. The number of 44 * applied to all bands, or it must equal the number of Source 45 * Raster bands. 192 int[] bands = new int[numBands-1]; 194 bands[i] = i; 201 bands); 209 int[] bands = new int[numBands-1]; 211 bands[i] = i; 218 bands); 241 * number of bands o [all...] |
H A D | BandedSampleModel.java | 55 * The bands are numbered from 0 to N-1. 80 * @param numBands The number of bands for the image data. 92 * The number of bands will be inferred from the lengths of the 118 * number of bands, storage data type, and bank indices 120 * such that the offset between bands will be w*pixelStride and 149 * Creates a new BandedSampleModel with a subset of the bands of this 153 * combination will represent an image with a subset of the bands 155 * @throws RasterFormatException if the number of bands is greater than 160 public SampleModel createSubsetSampleModel(int bands[]) { argument 161 if (bands [all...] |
H A D | ComponentSampleModel.java | 44 * Different bands may be in different banks of the DataBuffer. 54 * The bands are numbered from 0 to N-1. This class can represent image 78 /** Offsets for all bands in data array elements. */ 85 * The number of bands in this 109 * The number of bands will be given by the length of the bandOffsets array. 110 * All bands will be stored in the first bank of the DataBuffer. 120 * @param bandOffsets the offsets of all bands 170 * The number of bands will be given by the length of the bandOffsets array. 171 * Different bands may be stored in different banks of the DataBuffer. 182 * @param bankIndices the bank indices of all bands 405 createSubsetSampleModel(int bands[]) argument [all...] |
H A D | SinglePixelPackedSampleModel.java | 53 * required to extract the samples representing the bands of the pixel. 55 * element of the samples representing the bands of the pixel. 68 /** Bit masks for all bands of the image data. */ 71 /** Bit Offsets for all bands of the image data. */ 74 /** Bit sizes for all the bands of the image data. */ 92 * Constructs a SinglePixelPackedSampleModel with bitMasks.length bands. 102 * @param bitMasks The bit masks for all bands. 120 * Constructs a SinglePixelPackedSampleModel with bitMasks.length bands 132 * @param bitMasks The bit masks for all bands. 248 /** Returns the number of bits per sample for all bands 309 createSubsetSampleModel(int bands[]) argument [all...] |
H A D | MultiPixelPackedSampleModel.java | 228 * Returns the number of bits per sample for all bands. 316 * subset of the bands of this 319 * bands argument must have a length of one and indicate the zeroth 321 * @param bands the specified bands 322 * @return a new {@code SampleModel} with a subset of bands of 324 * @exception RasterFormatException if the number of bands requested 329 public SampleModel createSubsetSampleModel(int bands[]) { argument 330 if (bands != null) { 331 if (bands [all...] |
/openjdk9/jdk/src/java.desktop/share/native/libawt/java2d/pipe/ |
H A D | SpanClipRenderer.c | 46 pBandsArrayID = (*env)->GetFieldID(env, rc, "bands", "[I"); 86 nextYRange(jint *box, jint *bands, jint endIndex, argument 96 box[1] = bands[curIndex++]; 97 box[3] = bands[curIndex++]; 98 numXbands = bands[curIndex++]; 108 nextXBand(jint *box, jint *bands, jint endIndex, argument 118 box[0] = bands[curIndex++]; 119 box[2] = bands[curIndex++]; 179 jint *bands; local 232 bands [all...] |
H A D | Region.h | 71 jobject bands; member in struct:__anon867
|
H A D | Region.c | 57 InitField(bandsID, env, reg, "bands", "[I"); 79 pRgnInfo->bands = (Region_IsRectangular(pRgnInfo) 105 : (*env)->GetPrimitiveArrayCritical(env, pRgnInfo->bands, 0)); 220 (*env)->ReleasePrimitiveArrayCritical(env, pRgnInfo->bands,
|
/openjdk9/jdk/src/java.desktop/windows/native/libawt/java2d/d3d/ |
H A D | D3DBufImgOps.cpp | 200 void *bands[4]; local 205 bands[i] = NULL; 216 // and the number of bands involved 243 bands[i] = tableValues; 245 bands[3] = NULL; 249 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem); 251 bands[3] = NULL; 255 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem); 259 // upload the bands one row at a time into our lookup table texture 267 if (bands[ [all...] |
/openjdk9/jdk/test/javax/imageio/plugins/gif/ |
H A D | GIFPassListenerTest.java | 92 int width, int height, int periodX, int periodY, int[] bands) { 97 int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) { 115 int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) { 124 int width, int height, int periodX, int periodY, int[] bands) { 91 imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 96 passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 114 thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 123 thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
|
/openjdk9/jdk/test/javax/imageio/ |
H A D | AppletResourceTest.java | 211 int[] bands) { 219 bands); 233 int[] bands) { 242 bands); 273 int[] bands) { 282 bands); 300 int[] bands) { 308 bands); 204 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 226 processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 265 processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 293 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
|
/openjdk9/jdk/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBufImgOps.c | 480 * The LUT texture is currently hardcoded as 4 rows/bands, each containing 631 void *bands[4]; local 640 bands[i] = NULL; 647 // and the number of bands involved 703 bands[i] = tableValues; 705 bands[3] = NULL; 709 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem); 711 bands[3] = NULL; 715 bands[i] = PtrAddBytes(tableValues, i*bandLength*bytesPerElem); 719 // upload the bands on [all...] |
/openjdk9/jdk/test/javax/imageio/metadata/IIOMetadataFormat/ |
H A D | UserPluginMetadataFormatTest.java | 212 int[] bands) { 220 bands); 234 int[] bands) { 243 bands); 274 int[] bands) { 283 bands); 301 int[] bands) { 309 bands); 205 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 227 processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 266 processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 294 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
|
/openjdk9/jdk/test/javax/imageio/plugins/bmp/ |
H A D | ReaderListenersTest.java | 219 int periodX, int periodY, int[] bands) 230 int[] bands) 244 int[] bands) 252 int periodX, int periodY, int[] bands) 217 imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 227 passStarted(ImageReader source, BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 239 thumbnailPassStarted(ImageReader source, BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 248 thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/imageio/ |
H A D | ImageReader.java | 961 * <p> The set of source bands to be read and destination bands to 965 * returned by these methods differ, the set of source bands 967 * index, or the set of destination bands contains an index larger 988 * destination bands specified by 1020 * <p> The set of source bands to be read and destination bands to 1024 * returned by these methods differ, the set of source bands 1026 * index, or the set of destination bands contains an index larger 1051 * destination bands specifie 2195 processPassStarted(BufferedImage theImage, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 2237 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 2298 processThumbnailPassStarted(BufferedImage theThumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) argument 2341 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageReader.java | 143 // The number of bands by PNG color type 901 private WritableRaster createRaster(int width, int height, int bands, argument 908 if ((bitDepth < 8) && (bands == 1)) { 919 bands, 920 bandOffsets[bands], 927 bands, 928 bandOffsets[bands], 1055 // Handle source and destination bands 1070 // Determine if all of the relevant output bands have the 1337 // how many bands ar [all...] |
/openjdk9/jdk/src/jdk.pack/share/native/common-unpack/ |
H A D | unpack.cpp | 65 #include "bands.h" 1067 // certain bands begin with implicit zeroes 1597 return lo->bands(); 1601 // Create bands for this attribute by parsing the layout. 1603 bands_made = 0x10000; // base number for bands made 1614 band** bands = lo->elems; local 1615 assert(bands == lo->bands()); 1618 while (bands[num_callables] != null) { 1619 if (bands[num_callable [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 424 int[] bands = { 0 }; 430 bands); 841 int[] bands = { 0 }; 851 bands);
|
/openjdk9/jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/ |
H A D | BandStructure.java | 54 * Define the structure and ordering of "bands" in a packed file. 69 boolean optDumpBands = p200.getBoolean(Utils.COM_PREFIX+"dump.bands"); 70 boolean optDebugBands = p200.getBoolean(Utils.COM_PREFIX+"debug.bands"); 346 * and then all the bands are written in their global order. 579 // BYTE1 bands can't vary codings, but the others can. 952 // The usual coding for bands is 7bit/5byte/delta. 1226 Band[] bands = new Band[10]; field in class:BandStructure.MultiBand 1234 return bands[i]; 1237 return (Band[]) realloc(bands, bandCount); 1241 assert(bandCount == 0 || notePrevForAssert(b, bands[bandCoun [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPImageReader.java | 75 * It may subsample the image, clip the image, select sub-bands, 159 /** source and destination bands. */ 276 // As BMP always has 3 rgb bands, except for Version 5, 651 // The number of bands in the SampleModel is determined by 1865 int[] bands) 1869 periodX, periodY, bands); 1882 int[] bands) 1886 bands); 1896 int[] bands) {} 1902 int[] bands) {} [all...] |