Class AbstractNullPixelMask
java.lang.Object
nom.tam.image.compression.tile.mask.AbstractNullPixelMask
- Direct Known Subclasses:
NullPixelMaskPreserver, NullPixelMaskRestorer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ICompressorControlprivate static final byte[]private ByteBufferprotected static final byteprivate final longprivate final TileBufferprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractNullPixelMask(TileBuffer tileBuffer, int tileIndex, long nullValue, ICompressorControl compressorControl) -
Method Summary
Modifier and TypeMethodDescriptionprotected ICompressorControlprotected ByteBuffergetMask()byte[]protected longprotected TileBufferprotected intprotected ByteBufferinitializedMask(int remaining) voidsetMask(ByteBuffer mask)
-
Field Details
-
EMPTY_BYTE_ARRAY
private static final byte[] EMPTY_BYTE_ARRAY -
NULL_INDICATOR
protected static final byte NULL_INDICATOR- See Also:
-
tileBuffer
-
tileIndex
private final int tileIndex -
nullValue
private final long nullValue -
mask
-
compressorControl
-
-
Constructor Details
-
AbstractNullPixelMask
protected AbstractNullPixelMask(TileBuffer tileBuffer, int tileIndex, long nullValue, ICompressorControl compressorControl)
-
-
Method Details
-
getMaskBytes
public byte[] getMaskBytes() -
setMask
-
getCompressorControl
-
getMask
-
getNullValue
protected long getNullValue() -
getTileBuffer
-
getTileIndex
protected int getTileIndex() -
initializedMask
-