| Modifier and Type | Field and Description |
|---|---|
| protected final IntPixelGetter | |
| protected final int | |
| protected final BytePixelSetter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | convert(int[] srcarr, int srcoff, int srcscanints, byte[] dstarr, int dstoff, int dstscanbytes, int w, int 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 * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
|
| public final void | convert(IntBuffer srcbuf, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int 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 srcbuf, int srcoff, int srcscanints, byte[] dstarr, int dstoff, int dstscanbytes, int w, int 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 * dstscanbytes + x * dstbytesperpixel + 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 < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
|
| public final void | convert(int[] srcarr, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int 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 * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstbytesperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
|
| pack-priv abstract void | doConvert(int[] srcarr, int srcoff, int srcscanints, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h)
|
| pack-priv abstract void | doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h)
|
| public final IntPixelGetter | |
| public final BytePixelSetter |
| getter | back to summary |
|---|---|
| protected final IntPixelGetter getter | |
| nDstElems | back to summary |
|---|---|
| protected final int nDstElems | |
| setter | back to summary |
|---|---|
| protected final BytePixelSetter setter | |
| BaseIntToByteConverter | back to summary |
|---|---|
| pack-priv BaseIntToByteConverter(IntPixelGetter getter, BytePixelSetter setter) | |
| convert | back to summary |
|---|---|
| public final void convert(int[] srcarr, int srcoff, int srcscanints, byte[] dstarr, int dstoff, int dstscanbytes, 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 * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(IntBuffer srcbuf, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, 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, byte[] dstarr, int dstoff, int dstscanbytes, 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 * dstscanbytes + x * dstbytesperpixel + 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 < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(int[] srcarr, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, 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 * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcintsperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstbytesperpixel {
store data into dstbuf.put(dstpos + k, pixel data);
}
}
| |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(int[] srcarr, int srcoff, int srcscanints, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h) | |
| getGetter | back to summary |
|---|---|
| public final IntPixelGetter getGetter() Implements com.
| |
| getSetter | back to summary |
|---|---|
| public final BytePixelSetter getSetter() Implements com.
| |