| Modifier and Type | Field and Description |
|---|---|
| protected final BytePixelGetter | |
| protected final int | |
| protected final IntPixelSetter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | convert(byte[] srcarr, int srcoff, int srcscanbytes, int[] dstarr, int dstoff, int dstscanints, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarry[dstpos + k] = pixel data;
}
}
|
| public final void | convert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, IntBuffer dstbuf, int dstoff, int dstscanints, 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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, int[] dstarr, int dstoff, int dstscanints, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarry[dstpos + k] = pixel data;
}
}
|
| public final void | convert(byte[] srcarr, int srcoff, int srcscanbytes, IntBuffer dstbuf, int dstoff, int dstscanints, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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 abstract void | doConvert(byte[] srcarr, int srcoff, int srcscanbytes, int[] dstarr, int dstoff, int dstscanints, int w, int h)
|
| pack-priv abstract void | doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)
|
| public final BytePixelGetter | |
| public final IntPixelSetter |
| getter | back to summary |
|---|---|
| protected final BytePixelGetter getter | |
| nSrcElems | back to summary |
|---|---|
| protected final int nSrcElems | |
| setter | back to summary |
|---|---|
| protected final IntPixelSetter setter | |
| BaseByteToIntConverter | back to summary |
|---|---|
| pack-priv BaseByteToIntConverter(BytePixelGetter getter, IntPixelSetter setter) | |
| convert | back to summary |
|---|---|
| public final void convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
load data from srcarr[srcpos + j];
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarry[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
load data from srcbuf.get(srcpos + j);
}
convert data to destination pixel format
for each k : 0 <= k < dstintsperpixel {
store data into dstarry[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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)
}
}
| |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(byte[] srcarr, int srcoff, int srcscanbytes, int[] dstarr, int dstoff, int dstscanints, int w, int h) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h) | |
| getGetter | back to summary |
|---|---|
| public final BytePixelGetter getGetter() Implements com.
| |
| getSetter | back to summary |
|---|---|
| public final IntPixelSetter getSetter() Implements com.
| |