| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final IntPixelGetter | |
| protected final IntPixelSetter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | convert(int[]
the nio buffer containing the source data srcarr, int the index in the array of the first source pixel data srcoff, int number of array indices between rows of data in the source srcscanints, int[] the nio buffer containing the destination data dstarr, int the index in the array of the first destination pixel data dstoff, int number of array indices between rows of data in the destination dstscanints, int the number of pixels to process across before moving to the next row w, int the number of rows of pixels to process h)Implements com. Copies a rectangular region of data from the source array to the destination array using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
|
| public final void | convert(IntBuffer
the nio buffer containing the source data srcbuf, int the absolute location in the buffer of the first source pixel data srcoff, int number of buffer elements between rows of data in the source srcscanints, IntBuffer the nio buffer containing the destination data dstbuf, int the absolute location in the buffer of the first destination pixel data dstoff, int number of buffer elements between rows of data in the destination dstscanints, int the number of pixels to process across before moving to the next row w, int the number of rows of pixels to process h)Implements com. Copies a rectangular region of data from the source buffer to the destination buffer using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanelems + x * srcelemsperpixel + srcoff;
int dstpos = y * dstscanelems + x * dstelemsperpixel + dstoff;
for each j : 0 <= j < srcelemsperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstelemsperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
|
| public final void | convert(IntBuffer
the nio buffer containing the source data srcbuf, int the absolute location in the buffer of the first source pixel data srcoff, int number of buffer elements between rows of data in the source srcscanints, int[] the nio buffer containing the destination data dstarr, int the index in the array of the first destination pixel data dstoff, int number of array indices between rows of data in the destination dstscanints, int the number of pixels to process across before moving to the next row w, int the number of rows of pixels to process h)Implements com. Copies a rectangular region of data from the source buffer to the destination array using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
|
| public final void | convert(int[]
the nio buffer containing the source data srcarr, int the index in the array of the first source pixel data srcoff, int number of array indices between rows of data in the source srcscanints, IntBuffer the nio buffer containing the destination data dstbuf, int the absolute location in the buffer of the first destination pixel data dstoff, int number of buffer elements between rows of data in the destination dstscanints, int the number of pixels to process across before moving to the next row w, int the number of rows of pixels to process h)Implements com. Copies a rectangular region of data from the source array to the destination buffer using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
|
| pack-priv static IntToIntPixelConverter | |
| pack-priv abstract void | doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)
|
| pack-priv abstract void | |
| public final IntPixelGetter | |
| public final IntPixelSetter |
| getter | back to summary |
|---|---|
| protected final IntPixelGetter getter | |
| setter | back to summary |
|---|---|
| protected final IntPixelSetter setter | |
| BaseIntToIntConverter | back to summary |
|---|---|
| public BaseIntToIntConverter(IntPixelGetter getter, IntPixelSetter setter) | |
| convert | back to summary |
|---|---|
| public final void convert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h) Implements com. Doc from com. Copies a rectangular region of data from the source array to the destination array using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h) Implements com. Doc from com. Copies a rectangular region of data from the source buffer to the destination buffer using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanelems + x * srcelemsperpixel + srcoff;
int dstpos = y * dstscanelems + x * dstelemsperpixel + dstoff;
for each j : 0 <= j < srcelemsperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstelemsperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(IntBuffer srcbuf, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h) Implements com. Doc from com. Copies a rectangular region of data from the source buffer to the destination array using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(int[] srcarr, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h) Implements com. Doc from com. Copies a rectangular region of data from the source array to the destination buffer using the following relationship:
for each xy : 0 <= x,y < w,h {
int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
| |
| create | back to summary |
|---|---|
| pack-priv static IntToIntPixelConverter create(IntPixelAccessor fmt) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h) | |
| getGetter | back to summary |
|---|---|
| public final IntPixelGetter getGetter() Implements com.
| |
| getSetter | back to summary |
|---|---|
| public final IntPixelSetter getSetter() Implements com.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)
Implements abstract com.
|
| pack-priv void | doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)
Implements abstract com.
|
| IntAnyToSameConverter | back to summary |
|---|---|
| pack-priv IntAnyToSameConverter(IntPixelAccessor fmt) | |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h) Implements abstract com.
| |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h) Implements abstract com.
| |