| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final BytePixelGetter | |
| protected final int | |
| protected final int | |
| protected final BytePixelSetter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + 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 < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
|
| public final void | convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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 static ByteToBytePixelConverter | |
| public static ByteToBytePixelConverter | |
| pack-priv abstract void | doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h)
|
| pack-priv abstract void | doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h)
|
| public final BytePixelGetter | |
| public final BytePixelSetter |
| getter | back to summary |
|---|---|
| protected final BytePixelGetter getter | |
| nDstElems | back to summary |
|---|---|
| protected final int nDstElems | |
| nSrcElems | back to summary |
|---|---|
| protected final int nSrcElems | |
| setter | back to summary |
|---|---|
| protected final BytePixelSetter setter | |
| BaseByteToByteConverter | back to summary |
|---|---|
| pack-priv BaseByteToByteConverter(BytePixelGetter getter, BytePixelSetter setter) | |
| convert | back to summary |
|---|---|
| public final void convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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(ByteBuffer srcbuf, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + 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 < dstbytesperpixel {
store data into dstarr[dstpos + k] = pixel data;
}
}
| |
| convert | back to summary |
|---|---|
| public final void convert(byte[] srcarr, int srcoff, int srcscanbytes, 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 * srcscanbytes + x * srcbytesperpixel + srcoff;
int dstpos = y * dstscanbytes + x * dstbytesperpixel + dstoff;
for each j : 0 <= j < srcbytesperpixel {
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);
}
}
| |
| create | back to summary |
|---|---|
| pack-priv static ByteToBytePixelConverter create(BytePixelAccessor fmt) | |
| createReorderer | back to summary |
|---|---|
| public static ByteToBytePixelConverter createReorderer(BytePixelGetter getter, BytePixelSetter setter, int c0, int c1, int c2, int c3) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h) | |
| doConvert | back to summary |
|---|---|
| pack-priv abstract void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h) | |
| getGetter | back to summary |
|---|---|
| public final BytePixelGetter getGetter() Implements com.
| |
| getSetter | back to summary |
|---|---|
| public final BytePixelSetter getSetter() Implements com.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| pack-priv void | doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| ByteAnyToSameConverter | back to summary |
|---|---|
| pack-priv ByteAnyToSameConverter(BytePixelAccessor fmt) | |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| pack-priv void | doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| c0 | back to summary |
|---|---|
| private final int c0 | |
| c1 | back to summary |
|---|---|
| private final int c1 | |
| c2 | back to summary |
|---|---|
| private final int c2 | |
| c3 | back to summary |
|---|---|
| private final int c3 | |
| FourByteReorderer | back to summary |
|---|---|
| pack-priv FourByteReorderer(BytePixelGetter getter, BytePixelSetter setter, int c0, int c1, int c2, int c3) | |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| pack-priv void | doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h)
Implements abstract com.
|
| SwapThreeByteConverter | back to summary |
|---|---|
| public SwapThreeByteConverter(BytePixelGetter getter, BytePixelSetter setter) | |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(byte[] srcarr, int srcoff, int srcscanbytes, byte[] dstarr, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |
| doConvert | back to summary |
|---|---|
| pack-priv void doConvert(ByteBuffer srcbuf, int srcoff, int srcscanbytes, ByteBuffer dstbuf, int dstoff, int dstscanbytes, int w, int h) Implements abstract com.
| |